loading

Hey! This is my first instructable, so please be patient :)

Today I've decided to create a fake BSOD with a .bat and a .hta file. It starts up and prompts the user:

- Start BSOD

- Exit Program

From there, it opens a .hta file that displays the infamous Blue Screen of Death. To exit, the user must press Ctrl + Shift + Esc and kill "Microsoft HTML Host App".

Step 1: The Batch File

The first part of the batch file contains a CHOICE /c:12 /n > nul, which will create a choice (with no echo) between the key 1 and 2. Then there's IF %ERRORLEVEL%=1 goto BSOD, which goes to the BSOD activation part. IF %ERRORLEVEL%=2 exit, just exits the program.

The second part, call "Fake BSOD.hta" will call (open) our BSOD page, then it will do the same thing as the first part of the file, having a CHOICE and the two IF statements.

Step 2: The .hta File

The .hta file is like a .html file, but instead it'll run locally through Microsoft HTML Host Service. It contains statements that tell the page to hide the scrollbar, start fullscreen and hide it from the taskbar. It contains the BSOD image, and the section will just make the whole page blue.

Step 3: The Whole Project

That's basically it! I hope you enjoyed it. Don't forget to download the full project and give me suggestions.

<p>Fun prank idea.</p>

About This Instructable

1,042views

9favorites

More by LukeDoesInstructables:Fake Blue Screen of Death 
Add instructable to: