Getting "Why did my PC restart?"

lenkarin

Active Member
Messages
142
Reaction score
29
Hi guys,

After testing a lot of things in NTLite, I'm making one preset to apply all the modifications to the ISO and unfortunately, I'm getting "Why did my PC restart?"

I need some help to understand why this is happening and before questioning any component removed, I edit in 2,3 sessions in NTLite to test the removed components and just works fine.

The problem just happens when I try to remove everything in one sessionView attachment 12471

Preset attached too
 

Attachments

I have no idea. But since you're not using Unattended mode, it's possible to reboot to WinPE and pause on the first Setup screen.

Open a CMD window with Shift-F10, and copy the install drive's \Windows\Panther folder to the USB drive, or another location. setupact.log or setuperr.log might provide some clues as to why it failed.
 
"Not ready to use" seems like an OOBE problem.
Checking OOBE without Manual setup in Compatibility tab adds 5 more Components to the install which could be necessary for the process to finish.
Not tested though.

Another suggestion is keeping Spell Checking and Windows Store as you're keeping a lot of Apps.
Not keeping Store, Apps won’t get updated from time to time - as they're not related to WU.
 
"Not ready to use" seems like an OOBE problem.
Checking OOBE without Manual setup in Compatibility tab adds 5 more Components to the install which could be necessary for the process to finish.
Not tested though.

Another suggestion is keeping Spell Checking and Windows Store as you're keeping a lot of Apps.
Not keeping Store, Apps won’t get updated from time to time - as they're not related to WU.
Thanks for the suggestion I will check here about the manual setup in the compatibility tab. About the Windows Store, I'm just removing a few apps, but I'm keeping Windows Store and spell checking I will keep for safe purposes. I'm making some tests in VM before applying in my main machine
 
Another suggestion is keeping Spell Checking and Windows Store as you're keeping a lot of Apps.
Not keeping Store, Apps won’t get updated from time to time - as they're not related to WU.

Wrong. WU is directly responsible for background updates of all UWP apps, even when there is no Store. The most obvious example is LTSC, which doesn't provide a Store App by default.
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore]
"AutoDownload"=dword:00000002

Windows Store requires the WU features to be installed (but doesn't care if Updates are paused or disabled). Removing WU will prevent all new UWP app packages from activation, unless they're provided with a matching License1.xml file.
 
Noted - disabled WU and tried.
It went wrong.
Does WU impact Defender too?
 
At the moment the reason I'm getting this error is caused by App Readiness not sure why, but I make a few tests and this one is the reason.
Preset attached

All the tests were made in Hyper-V
 

Attachments

I was getting same error too
What u did is add registry's
Debloted
Added drivers
And post install softwares
But in final image there was this error

Why did ny pc restart

So i booted using iso
Shift f10
Open notepad
notepad
open
Open Cdrive/Windows/Setup/Scripts/SetupConpleted.bat to rename it .bat.bak

Then pc booted successfully
After complete restart and creating local account

Remname .bak to .bat

And run
And done

You can capture this image to to make it more stable or fix this error
 
1. When running VirtualBox, please use the built-in feature to save the screen. Machine / Take a screenshot.
2. That list of Post-Setup tasks doesn't have any unattended (or "silent") installer flags.
 
Back
Top