[HOW TO] Change BSoD Error Messages


Recommended Posts

DISCLAMER If your computer crashes or you lose data, it's not my fault. Always backup and create a restore point on your computer before attempting to modify any system file. If you don't feel comfortable modifying the windows kernel, stop reading. Otherwise, let's continue...

Ever wanted to change the messages displayed by BSoD's to something more interesting (e.g. instead of "A problem was detected on your computer and windows has been shut down..." it says "Windows suddenly decided to hate you. Deal with it.")? If so you've wandered to the right place. If not this is something to do on a very rainy day.

What you need:

Windows XP SP2 (may work with pre-sp2 but I havnt tried)

Resource Hacker

Heres what you do:

1) Locate ntoskrnl.exe in WINDOWS\System32\ and copy it to a location of your choice (desktop works fine)

2) Open the copy in resource hacker

3) Browse to the Message Table script

4) Edit the messages while keeping the following in mind:

-The message length cannot exceed the width of the screen. If you have a long message, break it into lines using \n where you want a new line to begin. For example notice how microsoft breaks the following string near the bottom at 1073741953:

"If this is the first time you've seen this Stop error screen,\nrestart your computer. If this screen appears again, follow\nthese steps:\n"

-keep your custom string "format" consistent with the original you're replacing (e.g. IRQL_NOT_LESS_OR_EQUAL to GATES_OWND_J00, not Gates ownd j00)

5) When you're done editing compile the script and save the file under a different name (must be 8 characters long) other than "ntoskrnl.exe" (e.g. bsodedit.exe)

there seems to be an issue with resource hacker locking up when compiling the script. please be patient as I investigate this.

6) Copy the renamed file into the system32 folder

7) Edit boot.ini by adding a copy of the windows xp boot path to the list and ending the line with /kernel=<renamed file>

For example my boot.ini is shown below

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Winxp pro (no edit)" /fastdetect 
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Winxp pro (BSoD mod)" /fastdetect /kernel=bsodedit.exe

This way if something goes wrong you can boot the unmodified kernel. Save boot.ini when finished

8) Reboot

To test this you can manually generate a crashdump by adding the DWORD "CrashOnCtrlScroll" with a value of "1" to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters. After you reboot you can manually crash your computer by holding down right-ctrl and tapping scroll lock twice.

Once you're convinced your modded kernel is stable you may remove the original boot entry that points to ntoskrnl from boot.ini.

Special notes:

I have encountered no problems using this with bootskin.

Enjoy your customized BSoD messages . . . now just wait for your computer to crash.

bsodrs6nu.jpg

Please post if you have feedback, questions, problems, etc

Edited by invalidbuffalo
Link to comment
https://www.neowin.net/forum/topic/473004-how-to-change-bsod-error-messages/
Share on other sites

  edwinmcdunlap said:

Interesting. Strangely enough, I've never even seen the BSOD on my laptop yet. My other computer does it somethimes, though :p

The only BSoD ive ever gotten was IRQL_NOT_LESS_OR_EQUAL and, of course, the user generated crashdump

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I am saying if they put MC outside compute tile, it is DOA for gaming, in other words will be a failure like 285k unless they do some magic with MC, but I doubt it. It is that simple.
    • One of the reasons Windows is in use is because of compatibility with hardware and software, but it isn't perfect and there are gaps. This software can help maintain compatibility with older hardware and software the way DOSBox helps us now.
    • This can help with compatibility the way DOSBox helps us now. There are a lot of old drivers, software, and hardware that don't work in current Windows. This could also help older hardware still be relevant because you can install it directly on devices where current Windows versions are no longer supported.
    • Nexus Mods owner steps down citing toll on personal wellbeing by Usama Jawad If you've ever been involved in the gaming landscape, there is a good chance that you have heard of Nexus Mods. It's one of the largest websites offering game modifications online with millions of registered members. The site hosts mods for numerous popular titles including The Witcher 3, The Elder Scrolls, Elden Ring, Dark Souls, and Fallout, among others. Now, the creator of the site has announced that ownership of Nexus Mods is changing hands, 24 years after its inception. In a blog post, the site's creator, Robin Scott - also known as "Dark0ne" in the community -, has announced that he is stepping down from managing the site on a daily basis and is actually handing over Nexus Mods to a new owner. Interestingly, this owner has not been named yet, but it seems like the community will be seeing a lot more of Foledinho (Victor) and Rapsak (Marinus) in daily operations. Scott says that ever since starting the site back in 2001, his adult life has been pretty much consumed by running Nexus Mods and managing its "major social network". This has almost been an on-call position, which has taken a toll on his personal wellbeing and health due to the accompanying stress and anxiety. As such, Scott has decided to step down from his executive role to avoid further burnout. Although Scott has not revealed the identity of the new owners, he says that his exit is purely for personal reasons and not some corporate backdoor deal. The site's creator will still be around in the forums and Mod Author Discord, providing direction when needed without taking responsibility. Scott's announcement has been mostly met with praise and thanks from the community. Though, as may be expected from a rather diverse and often polarized audience, the discussion did recently veer off-course and has now been locked from further engagement by community mods.
  • Recent Achievements

    • Enthusiast
      Motoman26 went up a rank
      Enthusiast
    • Mentor
      M. Murcek went up a rank
      Mentor
    • Explorer
      treker_ed went up a rank
      Explorer
    • Apprentice
      CHUNWEI went up a rank
      Apprentice
    • Veteran
      1337ish went up a rank
      Veteran
  • Popular Contributors

    1. 1
      +primortal
      672
    2. 2
      ATLien_0
      269
    3. 3
      +FloatingFatMan
      176
    4. 4
      Michael Scrip
      173
    5. 5
      Steven P.
      139
  • Tell a friend

    Love Neowin? Tell a friend!