Site icon Onlinecmag

Easy Way To Create A Harmless Funny Virus with Notepad

How To Create A Harmless Funny Virus with Notepad

Today we are going to share some of the funniest notepad pranks with you . These pranks are totally harmless and you can share them with your friends without any fear. Follow The steps given below to create a harmless funny virus with your notepad.

Steps To Create a harmless funny virus :

Virus 1 : Continuously Ejects your the CD-ROM :

This trick will create a code in your PC which will continuously eject all the connected Optical drives. Even if you put them back ,  it will pop them out again and again .

Step 1 : Copy the below given code and paste it in your Notepad .

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! 
echo: 
echo: 
echo: 
start /w wscript.exe C:sleep2000.vbs 
echo Disabling Windows Firewall… 
start /w wscript.exe C:sleep2000.vbs 
echo Killing all processes… 
start /w wscript.exe C:sleep2000.vbs 
echo Allowing virus to boot from startup… 
start /w wscript.exe C:sleep2000.vbs 
echo: 
echo: 
echo Virus has been successfully executed !
start /w wscript.exe C:sleep2000.vbs 
echo: 
echo Have fun! 
start /w wscript.exe C:sleep2000.vbs 
pause 
shutdown -s -t 10 -c " Your computer is on the way to hell. Better luck next time :-P . "

Step 3 : Save this file with ” .bat ” extension i.e as ” Joke.bat ” .

Step 4 : Double click on the file to open .

I Hope You All Like It . Share your views in form of comments ….

Exit mobile version