封装windows镜像时sysprep可用重置次数超过系统限制的解决办法
思韵闪耀
2020-01-14
0

How to fix SysPrep Fatal error "dwRet = 31" and Sysprep your machine more than three (3) times.

 

Step 1. Modify SysprepStatus, CleanupState & SkipRearm Registry Values

1. Open Windows Registry Editor. To do that:

  1. Press "WindowsImage-201_thumb_thumb_thumb_thumb1_t  + "R" keys to load the Run dialog box.
  2. Type "regedit" and press Enter.

registry-editor-command

 

 

 

2. Inside Windows Registry, navigate (from the left pane) to this key:

HKEY_LOCAL_MACHINE\System\Setup\Status\SysprepStatus

sysprepstatus

 

 

3a. At the right pane change the CleanupState value to 2 and click OK.

SysPrep dwRet 31

 

3b. Change the GeneralizationState value to 7 and click OK.

CleanupState

 

 

4. At the left pane navigate to the following key:

HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\SoftwareProtectionPlatform

sysprep more than trhee (3) times

 

 

5. At the right pane, change the SkipRearm value to 1.

skiprearm

 

6. Close Registry Editor.

 

Step 2. Uninstall and then re-install the MDSTC service (Microsoft Distributed Transaction Coordinator)

 

1. Open command prompt with Administrative privileges. To do that:

In Windows 7 & Vista go to:

  • Start > All Programs > Accessories
  • Right-click to "Command prompt" item and choose "Run as administrator".

command prompt run as administrator

 

In Windows 10, 8 & 8.1:

  • Right-click at the screen's bottom-left corner (Start menu) and from the pop-up menu, choose "Command Prompt (Admin)".

windows-8-admininstator-command-prompt

 

2. In command prompt window type the following command and press Enter to uninstall the MSDTC service:

msdtc –uninstall

msdtc –uninstall

 

3. Then re-install the MSDTC service by typing the following command (and press Enter).

msdtc –install

msdtc –install

 

4. Close command prompt.

 

Step 3. Delete the Panther folder.

1. Open Windows Explorer and navigate to C:Windows\System32\sysprep folder.

2. Delete (or Rename) the Panther folder.

sysprep-panther

 

3. Now run sysprep again. Sysprep should run now without any problems.


【版权声明】
本站部分内容来源于互联网,本站不拥有所有权,不承担相关法律责任。如果发现本站有侵权的内容,欢迎发送邮件至masing@13sy.com 举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。

相关内容

如何双启动 Fedora ...
双启动 Linux 和 Windows 是一种完全享受这两款操作系...
2025-07-23
Windows serve...
Windows server2019安装Intel I219-V网...
2025-01-15
windows下安装Pre...
windows下安装PrestaShop报错Unable to g...
2024-06-16
Windows通过命令对文...
Windows通过命令对文件夹赋权要在Windows上使用命令行(...
2024-04-30
docker-compos...
1.Compose介绍 DockerCompose是一个用来定义和...
2024-04-26
Windows计划任务出现...
最近遇见一个奇怪的现象,系统定时任务调用一个批处理,定时执行错误,...
2024-03-25

热门资讯

EPSON打印机废墨收集垫已到... 爱普生EPSON打印机L101突然弹出废墨收集垫已到使用寿命的提示,要求与认证服务机构联系,可又急着...
爱普生打印机错误代码00004... 爱普生打印机L4158/L6178错误代码000041怎么回事 出现这个错误提示的基本是纸盒卡纸,打...
TSC TTP-244 Plu... 在使用TSC TTP-244 Plus条码打印机时,经常有用户反映碳带轴不转,一般是指回收轴不转,今...
自己动手搭建kms服务器,自建... 自己动手搭建kms服务器,自建KMS激活服务器的两种方法 搭建KMS服务器的要求很简单,各种设备都可...
EPSON 运行深度清洗 - ... EPSON/爱普生运行深度清洗 - 操作面板 打印机型号 L6178 使用深度清洗功能可换掉墨管内的...
海康录像机码流加密问题 海康录像机局域网浏览器无法预览改码流加密设置 局域网中的电脑用浏览器访问海康录像机,输入用户名和密码...
acrobat dc 许可模块... acrobat dc 许可模块安装失败! 出现Acrobat 许可模块安装失败,请先删除AAM文件目...
VMware虚拟机如何退出独占... VMware虚拟机如何退出独占模式? 一些新手朋友在使用VMware虚拟机的时候,开启了屏幕独占模式...
windows无法分析或处理p... 封装时出现错误:Windows无法分析或处理 pass [ specialize ] 的无人参与应答...
佳能2020复印机出现E000... 定影异常,清除错误就可以了。操作如下: 进入维修程序模式法: 按面板操作部的用户方式(星号*)键同时...