WINDOWS 7 : SYSPREP 3.14 : A FATAL ERROR HAS OCCURRED DURING SYSPREP.(ZZ)

简介:

WINDOWS 7 : SYSPREP 3.14 : A FATAL ERROR HAS OCCURRED DURING SYSPREP. 

01/29/20148 Comments

 

Firstly, run this command on command prompt  slmgr.vbs /dlv 


Then check the re-arm counter value, if it's 0 and you sysprep you will receive errors in the setupact.log and setuperr.log files like these:


Error [0x0f00a8] SYSPRP WinMain: Hit failure while processing sysprep generalize providers; hr = 0xc004d307

Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn’t update the recorded state, dwRet = 31

Error [0x0f0082] SYSPRP LaunchDll: Failure occurred while executing 'C:\Windows\System32\slc.dll, SLReArmWindows', returned error code -1073425657

Error [0x0f0070] SYSPRP RunExternalDlls: An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = -1073425657


Workaround: 


Open regedit and look for: 


HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\CleanupState


Set to value: 2



HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState


Set to value: 7


And Run these command on elevated command prompt: 


msdtc -uninstall (wait a few seconds)


msdtc -install (wait a few seconds)


Reboot the system.


If this does not work, then last option is Windows Product Activation (WPA) vulnerability that was introduced in Windows 7


When the WPA registry key is deleted, the status of Windows 7 is re-initiated to the Initial Grace Period as if Windows 7 has just been installed. The deletion of the WPA registry key is achieved via the following method. 


·         Create a .bat file with following text and place it in C:, like C:\Reset.bat


reg load HKLM\MY_SYSTEM “%~dp0Windows\System32\config\system”

reg delete HKLM\MY_SYSTEM\WPA /f

reg unload HKLM\MY_SYSTEM


·         Restart the computer.


·         Press F8 right after the BIOS screen to get to the “Advanced Boot Options” and Select Repair Your Computer.


·         Select your keyboard input method, and click next.


·         Enter user name and password login credentials for local Admin user, and continue


·         In the “System Recovery Options”, open Command Prompt.


·         Run the Reset.bat file from C:


·         Restart the computer.


The system will be moved to grace period after the reboot. 



本文转自luojinghappy 51CTO博客,原文链接:http://blog.51cto.com/luojinghappy/1567566,如需转载请自行联系原作者


相关文章
|
2月前
|
资源调度 编译器 Linux
Windows10系统安装Truffle框架,安装失败,提示:error An unexpected error occurred: “https://xxxxx
Windows10系统安装Truffle框架,安装失败,提示:error An unexpected error occurred: “https://xxxxx
90 0
|
4月前
|
PHP Windows
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
|
4月前
|
Linux Python Windows
【Azure 环境】Windows中安装Python azure-eventhub-checkpointstoreblob-aio模块时出错 ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory:
【Azure 环境】Windows中安装Python azure-eventhub-checkpointstoreblob-aio模块时出错 ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory:
解决方案-CMake error: error in configuration process, project files may be invalid(Windows&VS可参考)
解决方案-CMake error: error in configuration process, project files may be invalid(Windows&VS可参考)
2655 0
|
Docker Windows 容器
Docker在win10上报错,error during connect: In the default daemon configuration on Windows
Docker在win10上报错,error during connect: In the default daemon configuration on Windows
323 0
|
7月前
|
Docker Windows 容器
Windows Docker Desktop 无法启动 自动退出报错信息为:Docker Desktop -Unexpected WsL error An unexpected error was e
Windows Docker Desktop 无法启动 自动退出报错信息为:Docker Desktop -Unexpected WsL error An unexpected error was e
374 0
|
7月前
|
Linux Docker Windows
windows10&11 启动Docker Desktop报 “Docker Desktop - Unexpected WSL error”
windows10&11 启动Docker Desktop报 “Docker Desktop - Unexpected WSL error”
331 0
|
7月前
|
NoSQL MongoDB 数据库
MongoDB【部署 03】Windows系统安装mongodb并设置用户名密码(无需安装mongosh)及SpringBoot集成报错 Command failed with error 18
MongoDB【部署 03】Windows系统安装mongodb并设置用户名密码(无需安装mongosh)及SpringBoot集成报错 Command failed with error 18
602 0
|
数据可视化 关系型数据库 数据库
Windows安装PostgreSQL失败:There has been an error
Windows安装PostgreSQL失败:There has been an error
673 0
|
20天前
|
网络安全 Windows
Windows server 2012R2系统安装远程桌面服务后无法多用户同时登录是什么原因?
【11月更文挑战第15天】本文介绍了在Windows Server 2012 R2中遇到的多用户无法同时登录远程桌面的问题及其解决方法,包括许可模式限制、组策略配置问题、远程桌面服务配置错误以及网络和防火墙问题四个方面的原因分析及对应的解决方案。