Windows 2008R2的服务器上做sysprep失败,报错如下:“A fatal error occurred while trying to sysprep the machine” 系统默认做 sysprep 的次数为三次,超过了就会报上面的错误

解决方法如下:


1) HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\
GeneralizationState 7



 2) 管理员身份运行
msdtc -uninstall
msdtc -install


 3) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\


 SkipRearm to 1


4) 禁用网卡


5) 再次运行 sysprep