Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
/ BSoD Public

Resurrecting the Blue Screen of Death lock screen from my high school days

License

Notifications You must be signed in to change notification settings

quantum5/BSoD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blue Screen of Death lock screen

This was a little program I'd written in high school to lock Windows XP machines, back when the school's group policy didn't allow screen locking, but fellow students have a habit of doing suspicious things when you left the computer unattended.

The result was this Blue Screen of Death lock screen:

example fake BSoD

As you can see, it faithfully emulates the Blue Screen of Death as shown by Windows XP, Windows Vista, and Windows 7.

Binaries can be downloaded from Jenkins.

Technical details

This is an ancient program, first written in ~2012, targetting Windows XP and Windows 7. It's intended to be compiled with Microsoft's Visual C++ compiler, as old as VC6 from 1998. Several crazy optimizations were done to ensure minimal executable size (for no reason other than I could), such as removing the C standard library. This means that instead of using the familiar WinMain entry point:

int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd);

It instead uses RawEntryPoint:

DWORD CALLBACK RawEntryPoint(void);

Building

With a Microsoft Visual C++ toolchain, simply run:

nmake

To avoid warnings with dinosaur toolchains like Visual C++ 6.0, use:

nmake /f Makefile.vc6

Running

Simply run the resulting bsod.exe.

To exit, hold down Alt and press the following keys in sequence: F2, F4, F6, F8, 1, 3, 5, 7. Then, press Ctrl+Alt+Shift+Delete.

Enter the password quantum5.ca to exit.

About

Resurrecting the Blue Screen of Death lock screen from my high school days

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published