BSOD on Demand

Just for fun, you can generate a Blue Screen of Death (BSOD) and change its colors. Read on to get started.

Windows 2000, XP, and Vista allow you to generate a BSOD, which halts the system and generates a memory.dmp file. The BSOD first made its debut in Windows 3.1 in 1990. If you would like to try this, open your registry, and go to this key:


Then look for or create a Dword registry value named CrashOnCtrlScroll, and change its value to a 1.

When you want to cause a BSOD, press and hold down the [Ctrl] key on the right side of your keyboard. Then tap the [ScrollLock] key twice. Now, you should see the BSOD. You must restart for this change to take effect.
If your system automatically restarts, disable your Automatic Restart Setting. To do that, right-click My Computer. Go to Properties, and then the Advanced tab.
Click Settings under the Startup and Recovery option, and uncheck Automatically restart.

Now, to change the color, you must open your C:\WINDOWS\system.ini file and find [386enh]. Under that text, find or add the following:


Here are the colors:
0 = black, 1 = blue, 2 = green, 3 = cyan, 4 = red, 5 = magenta, 6 = yellow/brown, 7 = white, 8 = gray, 9 = bright blue, A = bright green, B = bright cyan, C = bright red, D = bright magenta, E = bright yellow, F = bright white

This works only on Win9x (non NT systems).
Save the changes, restart, and that should be it.

The Conversation

Follow the reactions below and share your own thoughts.

  • The color changing thing didnt work for me

    • coz

      > “This works only on Win9x (non NT systems).” — That’s probably why it didn’t work.