Environment
ZENworks Configuration Management 2017 Imaging
Situation
Scripted Windows 10 1809 install completes and reboots successfully to the Windows logon prompt when the ZCM agent is not included as part of the Scripted Image.When the ZCM Agent is added as part of the scripted image, Windows hangs with blue spinning circles before the logon screen.
Resolution
Prior to installing the ZCM Agent as part of the imaging script.....
Set the following keys to prevent the ZISD Service from running SID Changer:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Novell\ZCM]
"ZISWin Do Not Restore Mask"=dword:00000020
"ZISWin Sysprep Restore Mask"=dword:00000020
"ZISWin Do Not Restore Mask"=dword:00000020
"ZISWin Sysprep Restore Mask"=dword:00000020
Setting the keys above will instruct the ZENworks Information Safe Data Service from not trying to update the Window's SID upon next device boot.
Note: Updating the Windows SID is not a requirement for Scripted Installs or Images properly sealed with SYSPREP.
Hint: Images sealed with SYSPREP, along with applying the registry keys above, create the hidden restoremask.xml on the root of the C: Drive (a.k.a. "system drive")
Cause
Under certain conditions, Windows 10 may behave unexpectedly after a SID Change.
Additional Information
Important: The Blue Spinning Circle of Death after an Image Restore can have a wide array of root causes.
This is a common occurrence using native Windows imaging without any use of ZCM.
This TID is not designed to troubleshoot all possible causes of this issue, only a single specific cause that can be ZCM specific.