How to Make Computer Unresponsive with Batch Files

Table of contents:

How to Make Computer Unresponsive with Batch Files
How to Make Computer Unresponsive with Batch Files

Video: How to Make Computer Unresponsive with Batch Files

Video: How to Make Computer Unresponsive with Batch Files
Video: How to defrag Windows 10 - How To defrag your Hard Drive - FASTER Laptop! - Free & Easy 2024, November
Anonim

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

Crash Your Computer Using a Batch File Step 1
Crash Your Computer Using a Batch File Step 1

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

Crash Your Computer Using a Batch File Step 2
Crash Your Computer Using a Batch File Step 2

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

Crash Your Computer Using a Batch File Step 3
Crash Your Computer Using a Batch File Step 3

Step 3. Enter the command:crash to create a loop point

Crash Your Computer Using a Batch File Step 4
Crash Your Computer Using a Batch File Step 4

Step 4. In the third line, enter the start command

This command will open a new command line window.

Crash Your Computer Using a Batch File Step 5
Crash Your Computer Using a Batch File Step 5

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.

Crash Your Computer Using a Batch File Step 6
Crash Your Computer Using a Batch File Step 6

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.
Crash Your Computer Using a Batch File Step 7
Crash Your Computer Using a Batch File Step 7

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"

Crash Your Computer Using a Batch File Step 8
Crash Your Computer Using a Batch File Step 8

Step 8. Click Save

Now, your.bat file is ready to run.

Method 2 of 2: Running Batch File

Crash Your Computer Using a Batch File Step 9
Crash Your Computer Using a Batch File Step 9

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.

Crash Your Computer Using a Batch File Step 10
Crash Your Computer Using a Batch File Step 10

Step 2. Close the browser

Make sure once again to save your work in that browser before closing it.

Crash Your Computer Using a Batch File Step 11
Crash Your Computer Using a Batch File Step 11

Step 3. Right-click the.bat file until a context menu appears

Crash Your Computer Using a Batch File Step 12
Crash Your Computer Using a Batch File Step 12

Step 4. Click Run as Administrator

The.bat file will start running, and you'll see dozens of command line windows filling the screen.

Crash Your Computer Using a Batch File Step 13
Crash Your Computer Using a Batch File Step 13

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.

Crash Your Computer Using a Batch File Step 14
Crash Your Computer Using a Batch File Step 14

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.

Recommended: