---
title: "sysprep 可能的错误及解决方法"
author: "huozheleisi"
date: "2012-02-17T20:55:00Z"
tags: []
slug: "sysprep"
draft: false
lastmod: "2012-02-18T21:11:53Z"
id: 1410115
url: "https://huozheleisi.iteye.com/blog/1410115"
---

1、sysprep本身限制：在同一台机器上运行次数超过3次

官方说明：[http://support.microsoft.com/kb/929828](http://support.microsoft.com/kb/929828)

2、已在VM创建了还原点

通过SCVMM 或 hyper-v 管理器建立了VM的还原点后，再使用sysprep 建立模板时可能出现错误。

解决方法：删除还原点后，重启2次 VM后，再使用命令 %windir%\\system32\\sysprep\\sysperp.exe 建立模板

3、windows update 被意外终止，导致升级失败或中断

对于windows 系统，若已经打开了windowsupdate，更新时发生系统错误或意外终止，导致update 失败，使用 sysprep 时可能出现错误

解决方法：使用windows system update readiness tool 修复更新错误

[http://support.microsoft.com/kb/947821](http://support.microsoft.com/kb/947821)

【提示】若出现此种现象时，在windows 2008 R2 上，打开服务器管理，功能和角色列表将无法显示，解决方法：

[http://social.technet.microsoft.com/Forums/en-US/winservermanager/thread/84193e7e-92c6-438b-928f-95e0fbd956fa](http://social.technet.microsoft.com/Forums/en-US/winservermanager/thread/84193e7e-92c6-438b-928f-95e0fbd956fa)

建议：如已建立了scvmm管理虚机，建议关闭虚机 -&gt; 右键 -&gt; 新建模板

其他参考：

[http://social.technet.microsoft.com/Forums/en/virtualmachinemanager/thread/8a9c30b1-7f32-4522-9914-f844aaedc98b](http://social.technet.microsoft.com/Forums/en/virtualmachinemanager/thread/8a9c30b1-7f32-4522-9914-f844aaedc98b)

[](http://support.microsoft.com/kb/929828)