今天就为大家分享解决win2008   server sysprep失败的方法,同时也分享给大家。

error:
运行sysprep时遇到以下错误:
A fatal error occurred while trying to Sysprep the machine

解决方法:
找到HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\SkipRearm将其从0设置为1

问题原因:
当你用sysprep并且添加generalize参数时,系统会减少rearm的参数,这样当rearm为0时,就会出现这个问题。由于rearm的参数默认为3,因此理论上,你可以对一个镜像使用3次,3此后应该会遇到这个问题,用此法应该可以解决。

微软也有说这个问题的kb,大家可以参考一下:

An error message occurs when you run "Sysprep /generalize" in Windows Vista or Windows 7: "A fatal error occurred while trying to Sysprep the machine"
http://support.microsoft.com/kb/929828/en-us