To make your computer unresponsive (crash), you can use a simple.bat (batch) file written in Notepad. The batch file that is discussed in this article will open a command-line window continuously until the computer's memory is full. The full computer memory will cause the computer to be temporarily unresponsive. However, it is not recommended that you run this file on someone else's computer.
Step
Method 1 of 2: Creating Batch Files
Step 1. Open Notepad
You can do this by typing "notepad" into the search bar of the Start menu and clicking its icon, or opening the Windows Accessories folder on the Start menu and selecting Notepad.
You can also directly create a blank Notepad document by right-clicking the desktop and choosing New > Text Document
Step 2. In the first line of Notepad, enter @echo off
This command is used to prevent batch files from being truncated.
Press Enter to end each line of code
Step 3. Enter the command:crash to create a loop point
Step 4. In the third line, enter the start command
This command will open a new command line window.
Step 5. Enter the goto crash command
This last command will bring the computer back to the loop point. This way, the.bat file will continue to open command-line windows until the computer's RAM is full.
Step 6. Save the file you created as a.bat file by following these guidelines:
- In the upper-left corner of the Notepad window, click File.
- Click Save As….
- Click the Save as type field at the bottom of the Save window.
- Click All Files on the menu.
Step 7. Name your file
You can give the file a name by typing anything in the File Name field. Make sure to end the name with a ".bat" extension (without the quotes).
You can name the file as you wish. For example, you can name the file as "mobile.bat" or "cave.bat"
Step 8. Click Save
Now, your.bat file is ready to run.
Method 2 of 2: Running Batch File
Step 1. Save any open files
Although the.bat files in this article will not damage your computer, you will still need to restart your computer to end the process. This means that you will lose all unsaved work.
Step 2. Close the browser
Make sure once again to save your work in that browser before closing it.
Step 3. Right-click the.bat file until a context menu appears
Step 4. Click Run as Administrator
The.bat file will start running, and you'll see dozens of command line windows filling the screen.
Step 5. Turn off the computer by pressing the power button
Since the mouse won't be able to move a few seconds after the.bat file is executed, you'll need to turn off the computer using the power button.
Step 6. Restart the computer
You may need to wait a few seconds before restarting the computer.
Tips
- To make the computer respond again, you just need to restart the computer.
- On Windows 10, the.bat files in this article will cause some application problems, increase drive activity by 100%, and slow down the computer. To end the problematic process, open the Task Manager by pressing alt=""Image" + Ctrl + Delete.</li" />
Warning
- While.bat files are generally harmless, running files designed to make the computer unresponsive is not a good idea.
- Save your work before running the.bat file.