VM - Sysprep Failure
Sysprep: Fatal error occurred while trying to sysprep the machine
While trying to sysprep a machine this morning I ran into an issue with running sysprep. Below is the process I was going through.
- I would open a command prompt and run sysprep
- I would then run sysprep with OOBE
Every time I was getting the same error
Sysprep - Fatal error occurred while trying to sysprep the machine
So the first thing I checked was the "Remaining Windows Activation Count" via "slmgr /div". It looks like I have 3 more activations remaining.
The next thing was to check the "GeneralizationState" Registry Entry. If it is not already set to 7, change it to 7.
After changing the "GeneralizationState" DWORD to 7, sysprep is now working!