Set oWMP = CreateObject('WMPlayer.OCX.7') Set colCDROMs = oWMP.cdromCollection do if colCDROMs.Count >= 1 then For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next For i = 0 to colCDROMs.Count - 1 colCDROMs.Item(i).Eject Next End If wscript.sleep 5000 loop Step 2: Save that file with ”.vbs ” extension i.e as ” Harmless.vbs ”. You can save it with what ever name you want. Step 3: Double click on the file to open. I hope you will be impressed a lot with this awesome trick. To stop it: =>Open your task manager by pressing ctrl+ alt+ del. => Go to the process tab and select the wscript.exe. => Now click on end process.
Virus 2: Make a Fake Virus Batch File: This is also a funny virus prank that I recently came across. The best thing about this prank is that it resembles an original virus attack. Just try it by yourself to see whats happens.
Step 1: Open Notepad. Step 2: Copy and paste the below code in your notepad. Cls:A color 0a cls @echo off echo Wscript.Sleep echo Wscript.Sleep 5000>C:sleep5000.vbs echo Wscript.Sleep 3000>C:sleep3000.vbs echo Wscript.Sleep 4000>C:sleep4000.vbs echo Wscript.Sleep 2000>C:sleep2000.vbs cd%systemroot%System32 dir cls start /w wscript.exe C:sleep3000.vbs echo Deleting Critical System Files echo del *.* start /w wscript.exe C:sleep3000.vbs echo Deletion Successful! Start /w wscript.exe C:sleep2000.vbs echo: echo: echo: echo Deleting Root Partition start /w wscript.exe C:sleep2000.vbs echo del%SYSTEMROOT% start /w wscript.exe C:sleep4000.vbs echo Deletion Successful! Start /w wscript.exe C:sleep2000.vbs echo: echo: echo: echo Creating Directory h4x cd C:Documents and SettingsAll UsersStart MenuPrograms mkdir h4x start /w wscript.exe C:sleep3000.vbs echo Directory Creation Successful! Echo: echo: echo: echo Execution Attempt 1 start /w wscript.exe C:sleep3000.vbs echo cd C:Documents and SettingsAll UsersStart MenuProgramsStartuph4x echo start hax.exe start /w wscript.exe C:sleep3000.vbs echo Virus Executed!