loading
If you want a harmless yet hilarious virus to seriously freak out your friends at work, school or at home. KEEP ON READING! This Instructable will also give you some basic batch file knowledge so you can start creating your own awesome 'Viruses' from scratch!

What you need for this Instructable
- A computer
- Memory stick (not mandatory but a good idea)
- A little bit of time
- Friends, Family, Co-workers or somebody to totally freak out!

Feel free to comment once your done, thanks!

Step 1: Where to Create Your Devious 'Virus'

Goto notepad. All Windows computers come with this simple yet usefull program. Hold down the 'windows run key + r' and then type notepad or go through your start menu. (start - all programs - accesories - notepad)

Step 2: The Batch File

Now type the following into notepad EXACTLY HOW YOU SEE IT! (What's better is just to copy and paste. . .)

@echo off
echo WINDOWS HAS DETECTED A VIRUS, WOULD YOU LIKE TO TERMINATE?
echo -
echo PROCEED WITH VIRUS TERMINATION(Y/N)
set/p "cho=>"
if %cho%==Y goto forward
if %cho%==y goto forward
if %cho%==n goto Shutdown1
if %cho%==N goto Shutdown1
:forward
echo VIRUS HAS BEEN DELETED
Pause
echo PLEASE ALLOW WINDOWS TO PREFORM A SAFETY CHECK
Pause
echo SYSTEM CHECK
echo HARD DRIVE - FAILED
echo -
echo RAM - FAILED
echo -
echo DISK DRIVE - FAILED
echo -
echo CONNECTION - FAILED
echo -
echo WINDOWS SUGGESTS YOU DELETE ALL FILES TO RESUME(Y/N)
set/p "cho=>"
if %cho%==Y goto Sucess
if %cho%==y goto Sucess
if %cho%==n goto Shutdown2
if %cho%==N goto Shutdown2
:Sucess
echo WINDOWS HAS DELETED ALL FILES
echo -
echo PLEASE ALLOW WINDOWS TO PREFORM A SAFETY CHECK
Pause
echo SYSTEM CHECK
echo HARD DRIVE - FAILED
echo -
echo RAM - FAILED
echo -
echo DISK DRIVE - FAILED
echo -
echo CONNECTION - FAILED
echo -
echo WINDOWS IS SHUTTING DOWN IN 20 SECONDS TO PROTECT FROM DAMAGE
goto Shutdown3
:Shutdown3
shutdown -r -t 20 -c "APRIL FOOLS! HAHAHAHAHAHA"
:Shutdown1
shutdown -s -f -t 60 -c "Windows is shutting down to prevent any further damage"
:Shutdown2
shutdown -s -f -t 60 -c "Windows is shutting down to prevent any further damage"

Step 3: Explanation

Ok for those of you who are skeptics or unsure about this, I'll explain what it does:

@echo off ------> Hides the code, looks more professional
echo WINDOWS HAS DETECTED A VIRUS, WOULD YOU LIKE TO TERMINATE? -----> writes this on screen
echo -
echo PROCEED WITH VIRUS TERMINATION(Y/N) \
set/p "cho=>" \
if %cho%==Y goto forward }--------> Gives the victim the choice whether or not to proceed with the choice "Yes" or "No"
if %cho%==y goto forward /
if %cho%==n goto Shutdown1 /
if %cho%==N goto Shutdown1 /
:forward
echo VIRUS HAS BEEN DELETED --------> same thing for the rest, writes this onscreen
Pause ---------> tells victim to press any key to continue
echo PLEASE ALLOW WINDOWS TO PREFORM A SAFETY CHECK
Pause
echo SYSTEM CHECK
echo HARD DRIVE - FAILED
echo -
echo RAM - FAILED
echo -
echo DISK DRIVE - FAILED
echo -
echo CONNECTION - FAILED
echo -
echo WINDOWS SUGGESTS YOU DELETE ALL FILES TO RESUME(Y/N) -------> same thing as above, gives a choice again
set/p "cho=>"
if %cho%==Y goto Sucess
if %cho%==y goto Sucess
if %cho%==n goto Shutdown2
if %cho%==N goto Shutdown2
:Sucess
echo WINDOWS HAS DELETED ALL FILES
echo -
echo PLEASE ALLOW WINDOWS TO PREFORM A SAFETY CHECK
Pause
echo SYSTEM CHECK
echo HARD DRIVE - FAILED
echo -
echo RAM - FAILED
echo -
echo DISK DRIVE - FAILED
echo -
echo CONNECTION - FAILED
echo -
echo WINDOWS IS SHUTTING DOWN IN 20 SECONDS TO PROTECT FROM DAMAGE
goto Shutdown3
:Shutdown3
shutdown -r -t 20 -c "APRIL FOOLS! HAHAHAHAHAHA" -----------> restarts victims computer in 20 seconds and writes "April Fools! HAHAHAHAHAHA
:Shutdown1
shutdown -s -f -t 20 -c "Windows is shutting down to prevent any further damage" ---------> shuts down victim's computer and writes "Windows is shutting down to prevent any further damage"
:Shutdown2
shutdown -s -f -t 20 -c "Windows is shutting down to prevent any further damage" ----------> same as above

Step 4: Save Your Devious File As a Batch File

Ok so now you want to get your 'Virus' up and running right? Well it won't do anything as a plain .txt file (text file for those who didn't kno...) Ok so save this as something your victim will click on thinking its something normal so System Check.bat notice the .bat at the end! YOU MUST HAVE THIS TO RUN IT SUCCESSFULLY! I would save it to desktop so its visible and easy to find.

Step 5: DONE!

Now your done, go freak out people. Be wise with this though, you don't want to get into some serious trouble because somebody takes it seriously. . .Anyways and with this you should probably be able to mimic my "Virus" and create your own. Upload it onto a memory stick or send it through e-mail and get this around to your next April Fool's victim :P

Feel free to comment, thanks!
<p>tnxx bro u r gr8</p>
<p>That's really good! I made one just like it by myself and my brother totally freaked out when he went to open internet explorer XD.</p>
<p>It works for me! It is very simple to make and it's great! Thank you! Next year I will use this.</p>
yo, nice job. I've wrote some similar batch!!! but I made an Autorun.ini on USB flash drive that automaticly start the batch. it costed me 30 minutes or so, but my friends face.... PRICELESS!!!!!!! :))))
can you post the code of the autorun.ini Im lookin' to do the same thing Thanks
<p>You can just get the Autorun.ini from a CD that has it and change the path, or search the internet for how can you do that.</p>
haha ya for someone who's just plain paranoid or doesn't know much about computers, there reactions are always priceless and hilarious :P
hi, okay u have created the code but after i send it to someone, how can they stop it?? like after second shutdown, will the computer be back to normal or keep shutting down forever??<br />
<p>It should be fine as long as they accept to delete their files, but if anything bad happens, you can open Run (Win + R), type in quickly &quot;shutdown -a&quot; (without the &quot;) and hit Enter or click OK. That will only work while it's shutting down, but it should stop the fake virus from shutting down the computer.</p>
<p>thank you, when i read it, my mouth was open for about 30 seconds. amazing!</p><p>but the only problem is that i couldnt run it.</p><p>but I MADE IT!!!!!!! </p>
<p>and second thing, how would i execute it??????</p>
<p>you save the file as a .exe and double click on it to run it</p>
<p>You save it as a .bat, .exe will not work. It says it in the instructions.</p>
Doesit work on macs if you send it too them <br>
<p>no it needs to be on windows .bat is an windows thing</p>
Does this reallly delete all your files?
<p>actually no. it only fools your friends so that you can laugh to your death! ( actually not that you will die!).</p>
No, you're good. It just says that to make the victim think that it did that.<br /> Copy and paste this into Notepad:<br /> @echo off<br /> @echo Hello! This is a simple batch program!<br /> pause<br /> <br /> <br /> OK, now that you did that, save it to your Desktop as &quot;Test.BAT&quot; and make it so it says &quot;All Files&quot; on the second choice. Leave the third choice as is, then click Save and close it. Open up the file and here's what you'll see (without the quotes):<br /> &quot;Hello! This is a simple batch program!<br /> Press any key to continue...&quot;<br /> And after you press a key, it'll close. You can replace &quot;Hello! This is a simple batch program!&quot; with something else, like, &quot;WARNING: YOUR&nbsp;COMPUTER&nbsp;HAS&nbsp;DETECTED&nbsp;A&nbsp;FATAL VIRUS!!!!!&quot;<br /> <br /> The @echo reads the text after it (if it's on the same line) and commands the computer to display that text.<br /> The @echo off commands the computer to hide the @echo command to make it look more professional.<br /> The pause command tells the computer to display &quot;Press any key to continue...&quot; and will command the computer to execute the next command after a key has been pressed. Or, if there's nothing after it, the window closes.
How do u send it to people on email so that it actually activates when they look at it?
You can put it in a zipped folder named as something urgent, when they open it, BOOM
its easy send me a message and ill tell you
then what?
<p class="MsoNormal" style="margin: 0.0cm 0.0cm 10.0pt;"><span style=""><font face="Calibri">Hi, from what I see I have followed the instructions, copied and pasted the text and even saved as &lsquo;</font></span><span style="line-height: 115.0%;font-family: Arial , sans-serif;color: rgb(51,51,51);font-size: 9.0pt;">System Check.bat&rsquo;. When I run the program a dos screen opens and closes in less than a second. What am I doing wrong? I have XP with update 3. Thanks.</span><span style="" /></p>
it even funnier if you put it in the startup file so it starts when you start up your computer the look on my friends face when he saw this on his dads laptop! it was even funnier when he thought he got the virus by lookin at porn!!!<br />
Be a bit creative like by creating a site like this:
Bloop!
Yawn... more &quot;batch file viruses&quot;... again, you're new so I'll spare the rant but Instructables is <em>full</em> of these things, many of them more complex than this one. Just search around for &quot;batch file virus&quot;, &quot;virus prank&quot;, &quot;fake virus&quot; etc. and you will see the huge numbers of these. <br/><br/>Reposts that add something to the original are ok but once you've seen one or two batch file &quot;viruses&quot; you've seen them all.<br/>
lol ya whatever, i know this doesn't do much and yes they only get 'better' i guess from here but for somebody entering into batch files, this shows a couple basic commands that can get them a result actually useful. Heck, if you want i "virus" if you call it then you should be searching VBS files, C or even C++ not batch. Sure you might be able to do some nifty port scanning and illegal entering but batch files get really complicated if you want to do something a C++ virus could do in say 20 lines. Thanks for commenting though, i appreciate the insight :)
Plus, these are harmless, fun pranks that have, on occasion, gotten me and a bunch of friends laughing.<br/><br/>One of our favorites was the &quot;Laptop Bomb&quot;<br/><br/>Basically the same as this, where it would sit there and wait for you to click 'OK' and each time, it would reduce the number by one. When Number = 0, display &quot;Boom! April Fools&quot; and end, basically.<br/><br/>(I know, wrong coding, but same idea.)<br/>
Haha ya, that would freak some un-computer-knowledgeable people out :P
Exactly. That's half the fun!<br/><br/>Just recently learned Net Sending so I hope to really employ that one against friends. Basically, you use this code:<br/><br/>@echo off<br/>:loop<br/>echo Please type your message and hit enter:<br/>set /p message=<br/>net send / * %message%<br/>goto loop<br/><br/>And save that as a Batch File. Then, when anyone with a Windows XP with Net Send turned on (don't remember how, but some have to have it turned on) is using their computer, you open this secretly, key in your message, hit enter, and boom! every computer that is net send capable gets it.<br/><br/>Did it to one of my friends who was hiding up a tree and camping on the Wi-Fi. Taught him a lesson when I typed,<br/>&quot;I see you up there.&quot;<br/>&quot;Yes, you in the tree.&quot;<br/>&quot;Get off my Wireless Connection. You have 30 seconds to comply.&quot;<br/>
By the way, what type of 'virus' r u looking to find? lol cause i don't know if you'll find it in this site lol if your looking for intense malicious-ness xD
well, i changed some of the words to make it more scarier
Haha nice
oooooooo i have to try this out
<em><strong>lol</strong></em><br/>
Nope but to somebody with no computer expeirience, they would think it does. This just writes that message on the screen

About This Instructable

22,977views

12favorites

License:

More by Sparkythehappygirafe:Ultimate April Fools Virus 
Add instructable to: