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, 197 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 1,489,525 times.
Learn more...
Do you want to play a trick on your friends? Try this shocking but harmless virus. Read on to find out how to execute it.
Steps
Part 1
Part 1 of 2:
Writing and Saving the Code
-
1Run Notepad. Notepad will allow you to input text with very little formatting. Click Start -> All Programs -> Accessories -> Notepad.
- If you're on a Mac, use TextEdit.
-
2Input a small batch file. Put the following into your text file (without the bullets):
- @echo off
- echo Message here.
- shutdown -s -f -t 60 -c "type a message you want to appear here."
Advertisement -
3Click File, then Save As.
-
4Name your file.
-
5Change the .txt extension to .bat or .cmd.
-
6Change the ".txt bar" to "All Files".
-
7Click Save.
-
8Close Notepad.
Advertisement
Part 2
Part 2 of 2:
Making a Fake Icon
-
1Right click on the desktop and go over to "New," then click "Shortcut".
-
2For the location of the shortcut, choose your virus.
-
3Click "Next".
-
4Give the shortcut a name that your victim will or might click on.
-
5Click on "Finish".
-
6Right click on the shortcut you have just made and choose "Properties".
-
7Click on the "Choose icon" button and scroll through the list of icons.
-
8Choose an icon that the name of your file. Click on it and hit "OK" twice.
- Note that this will not work on Windows 7 Pro
Advertisement
Sample Virus
Community Q&A
-
QuestionWill this harm the computer at all?Community AnswerNo, this only shuts the computer down. The user may lose any open and unsaved files, but the computer itself will be unharmed.
-
QuestionWhat do the characters S, F, T, and C signify?MasterBeiber EverythingCommunity AnswerS is for shutdown, F for force, T for timer, and C to do a message.
-
QuestionWill the PC that I run this on be able to turn back on?Community AnswerYes, this only shuts down the computer. It will turn back on normally and nothing will be harmed.
Advertisement
Warnings
- Do not execute such viruses on computers that must be available 24 hours a day, such as the ones in hospitals.⧼thumbs_response⧽
- If you use a shutdown-countdown, you should have enough time to abort the countdown.⧼thumbs_response⧽
- Only do this to someone who can handle such a prank!⧼thumbs_response⧽
- Once this virus has been clicked on, there is often no way to stop it. However, if you need to terminate the shutdown for whatever reason, go to command prompt and type in this following command: "shutdown /a". It will immediately terminate the fake virus.⧼thumbs_response⧽
- Some antiviruses will detect this as a virus⧼thumbs_response⧽
Advertisement
About This Article
Advertisement