Hellbovine

Well-Known Member
I started importing services registry keys into my image and it's the first time my installs were met with a Windows Setup blue screen error saying, "Why did my PC restart?" I'm on Windows 10 21H2. Eventually I'll figure it out myself, but maybe someone else already knows?

The services I narrowed it down to at the moment are these:
- mpssvc (Windows Defender Firewall)
- WdNisSvc (Microsoft Defender Antivirus Network Inspection Service)
- WinDefend (Microsoft Defender Antivirus Service)
- wscsvc (Security Center)
- SecurityHealthService (Windows Security Service)
 
Last edited:
Where do your reg keys get imported? Integrated in the image, or Post-Setup? Timing is everything, some features may not like being restricted by a pre-existing reg key before they run for the first time.
 
I'm integrating the keys into the image. Windows Setup finishes the install, but once it reaches the stage where it's "configuring services" it does its thing and restarts the PC, and then comes up with the blue screen. I imagine that it must be trying to start some of these services during that phase and when they fail to start it gives the error. Once I figure out which specific key is the problem I'll try changing it from disabled to manual to test that theory, and then if that still doesn't work then I'll move the culprit into post-setup.
 
Last edited:
Back
Top