Sysprep fails to Run with Fatal Error

Hello all! Many of you might have come across this situation atleast once in your lifetime if you are a Windows admin dealing with system imaging often. Sysprep is a wonderful tool that we all love to use when it comes to erase system specific info like SID leaving all the application related stuff intact. This is also very helpful for those who does a lot of template builds. So, in this post we are going to know about how we get around with a Sysprep issue.

Below is the error message you come across when Sysprep fails to run. This mainly occurs because sysprep was run many a times on this machine and image has reached its maximum default times.

2016-09-29-23_52_57-win-2k8-r2-vmware-workstation

To resolve this, open registry editor from the Run prompt as below.

2016-10-03-13_27_34-win-2k8-r2-vmware-workstation

Navigate to the HKEY-LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus and find the GeneralizationState key on the right side. Modify the value to 7 and click OK.

2016-10-03-13_29_32-win-2k8-r2-vmware-workstation

Now navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\SoftwareProtectionPlatform and find the key SkipRearm on the right side of the pane, change the value to 1 and click OK.

2016-10-03-13_32_57-win-2k8-r2-vmware-workstation

Also using the windows explorer, delete the Panther folder from the sysprep folder.

2016-10-03-13_34_24-win-2k8-r2-vmware-workstation

Once done with all the above steps, initiate the Sysprep again.

2016-10-03-13_35_29-win-2k8-r2-vmware-workstation

Sysprep should now run without any issues.

2016-10-03-13_36_01-win-2k8-r2-vmware-workstation

Hope this was informative. Thanks!

Advertisements

#fatal-error, #generalizationstate, #panther, #skip-rearm, #sysprep