question

TheImagingEngineer-3799 avatar image
0 Votes"
TheImagingEngineer-3799 asked saldana-msft edited

[taskhostw.exe] system hangs during OOBE and restarts unexpectedly

The Case of "Just a Moment..." (MEMCM OSD)

The machine hangs in the OOBE pass after OSD. It will sit at "just a moment" for ten minutes, then timeout and restart to "Why did my PC restart?" Clicking next will run it through OOBE again which will succeed. I'd like to know the different OOBE Monitor event codes and what they correspond to, as it appears something relating to event 103 is timing out.119139-pcrestart.jpg


mem-cm-generalmem-cm-osd
pcrestart.jpg (53.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

yannara avatar image
0 Votes"
yannara answered yannara edited

Just a wild guess, but try to use as simple unattend.xml as possible. I suspect you might have something extra in xml which should not be there. Also, in SCCM OSD, you should not have OOBE visible, it should be silent.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TheImagingEngineer-3799 avatar image
0 Votes"
TheImagingEngineer-3799 answered yannara commented

Thank you for the reply. how do I make OOBE silent?

here is the unattend.xml,
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">;
<OOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<ProtectYourPC>3</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">;
<InputLocale>%OSDInputLocale%</InputLocale>
<SystemLocale>%OSDSystemLocale%</SystemLocale>
<UILanguage>%OSDUILanguage%</UILanguage>
<UILanguageFallback>%OSDUILanguageFallback%</UILanguageFallback>
<UserLocale>%OSDUserLocale%</UserLocale>
</component>
</settings>
</unattend>

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

What build you have in Windows 10? I am pretty much done with my CM (moved totally to Intune), but if you absolutelly need help, I can dig up my unattend.xml and drop it here. I probably have 1909 and 20H2 in my lab, I can quickly test that I don't have same symptom and give you my xml. Or you can google around what are minimum values required for unattend,xml and go with that just a test. This also might be common/generic problem for most of organizations, because I saw somewhere else recently exact same problem.

1 Vote 1 ·

remember to underline me like this @TheImagingEngineer-3799 that I will receive alert about this.

1 Vote 1 ·

@yannara - The prompt response is highly appreciated. Based on your feedback, I have removed settings of OOBE and trying to test.
Also, I would appreciate it if you could share the unattend.xml. We have the 20H2, June 2021 version.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">;;
<InputLocale>%OSDInputLocale%</InputLocale>
<SystemLocale>%OSDSystemLocale%</SystemLocale>
<UILanguage>%OSDUILanguage%</UILanguage>
<UILanguageFallback>%OSDUILanguageFallback%</UILanguageFallback>
<UserLocale>%OSDUserLocale%</UserLocale>
</component>
</settings>
</unattend>

0 Votes 0 ·
Show more comments
ColinFord-6663 avatar image
0 Votes"
ColinFord-6663 answered ColinFord-6663 commented

Remove these two lines. Both are deprecated and can have the effects you are experiencing

<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>

· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

yes, I tried removing them as well, however to no avail

0 Votes 0 ·
ColinFord-6663 avatar image ColinFord-6663 TheImagingEngineer-3799 ·

Can you check the unattend.xml that is downloaded to the disk while you are in WinPE while the TS is running and see what values you have for OOBE in there?

1 Vote 1 ·

on the contrary, specifying those depreciated values makes the difference

0 Votes 0 ·
Show more comments
TheImagingEngineer-3799 avatar image
0 Votes"
TheImagingEngineer-3799 answered

the issue still persists.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ColinFord-6663 avatar image
0 Votes"
ColinFord-6663 answered TheImagingEngineer-3799 commented

Sorry to hear that. Can you try with vanilla media? (assuming you are deploying at the moment a captured image)? If this works, can you check that you are not using those values in your capture unattend.xml?

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

thank you @ColinFord-6663 for the input. It is a vanilla image. If I don't use those values, it restarts unexpectedly during OOBE

0 Votes 0 ·
ColinFord-6663 avatar image ColinFord-6663 TheImagingEngineer-3799 ·

What version of ConfigMgr and ADK are you using?



0 Votes 0 ·

2103 and 2004

0 Votes 0 ·