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. 


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值