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:
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.
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);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
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.