How do I tweak the BSoD messages?

PeregrineX

New member
Local time
12:47 AM
Messages
81
Location
Springfield, VA, USA
(I'm not sure if this is in the correct section...)

Hey, I was wondering if it was possible to edit the ntoskrnl.exe (or ntkrnlpa.exe) to give me custom BSoD messages, like, for example, instead of "A problem has been detected..." I would change it to an insult of some sort.

Here's what I have done so far (in this order):

--Make a copy of ntkrnlpa.exe and edit the first line of the BSoD in a hex editor
--Sign it using coderforlife's signer.exe (search it)
--Boot into windows installation disc and copy the modified ntkrnlpa into System32

But whenever I boot back into Windows, it automatically boots into Startup Repair, and I have to do a System Restore.

Any thoughts?
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate X64
CPU
AMD FX-6300 Hex Core
Motherboard
ASRock 970 EXTREME4
Memory
8GB
Graphics Card(s)
NVidia Geforce GTX 760
Sound Card
N/A
Monitor(s) Displays
Dell P1913
Screen Resolution
1440x900
Hard Drives
Western Digital WD3200AVVS-63L2B0 298GB
Western Digital WD10EAVS-00D7B1 1TB
Cooling
Fans
Keyboard
Logitech Y-R0009
Mouse
GE Optical Mouse
Internet Speed
1Gbps
Antivirus
MBAM Pro
Browser
Chrome, duh.
Why would you want to do such a thing?

How do I tweak the BSoD messages?

The proper BSOD messages are very important if you ever get a BSOD.

I serious doubt that the BSOD Team can work with your created messages. They need to be kept unaltered.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
I can't help with this and wouldn't even if I could.

This article by Raymond Chen, a developer with Microsoft since before Windows 95, warns about this sort of thing:
https://blogs.msdn.microsoft.com/oldnewthing/20030805-00/?p=42993/

The article refers to changing the boot logo in XP but that isn't important. The point isn't the desired outcome but the method used to accomplish it, namely modifying ntoskrnl.exe.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
Modifying the kernel files lets you face some serious (boot) problems which won't be fixable without a reinstallation or a proper backup as you already have noticed.

It is best to leave the system files intact without any edits from your side.

Also to note, modifying the ntoskrnl.exe or ntkrnlpa.exe files won't change the stop codes.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom build
OS
Windows 10 Pro
CPU
i5-6500
Motherboard
Gigabyte B150-HD3P-CF
Memory
16GB DDR4 2133 Crucial Ballistix Sport LT
Graphics Card(s)
MSI GeForce GTX 1060 GAMING X 6G
Sound Card
Intel Display Audio
Monitor(s) Displays
Liyama ProLite XB2483HSU-B2
Screen Resolution
1920 x 1080
Hard Drives
Crucial MX200 500GB & Toshiba DT01ACA300 3TB
PSU
Corsair RM550x
Case
Fractal Design Define S
Cooling
Cooler Master TX3 i
Keyboard
Func KB-460 (MX Red)
Mouse
Corsair Gaming M65 RGB
Antivirus
Bitdefender Total Security 2016 + MBAM Pro + MBAE Pro
Browser
Google Chrome
Other Info
Creative Sound Blaster Tactic3D Rage V2 headset
Back
Top