網頁

2012年4月21日 星期六

Sysprep fail due to Licensing Rearm run more than three times

When I run Sysprep program on Windows 7 x64 Enterprise version,ScreenHunter_02 Apr. 21 19.06I get a error message as the following imageScreenHunter_04 Apr. 21 19.11I know there is some error content in C:\Windows\System32\sysprep\Panther\setuerr.log
The content is as:
2012-04-21 19:27:47, 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
2012-04-21 19:27:47, Error [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f

Based on this error content, I search the related information by Google and find out the reason is “the Windows Software Licensing Rearm program has run more than three times in a single Windows image” from Microsoft KB929828
ScreenHunter_05 Apr. 21 19.14Run “slmgr.vbs /dlv” by command prompt Run As Administrative credential
ScreenHunter_08 Apr. 21 19.18We will see Remaining Windows rearm count = 2, not 0
ScreenHunter_02 Apr. 21 20.54Run “cscript slmgr.vbs –rearm” by command prompt Run As Administrative credential
ScreenHunter_07 Apr. 21 19.18Use “regedit” to change the registry keys \HKEY_LOCAL_MACHINVE\SYSTEM\Setup\Status\SysprepStatus\
CleanupState = 2
GeneralizationState = 7
ScreenHunter_04 Apr. 21 21.10Run “msdtc –uninstall” and “msdtc –install” by command prompt Run As Administrative credential
ScreenHunter_05 Apr. 21 21.15Reboot it and Run “Sysprep” again so that it will be executing now.ScreenHunter_01 Apr. 21 21.33Sometime it will successfully complete Sysprep, but sometime it still fail but error content is different with the above word. Even though it fail, this VM still can be initialed system after reboot.

Although the Microsoft suggest resolution is “rebuild the Windows Image”, I want to firstly run the Rearm process by slmgr.vbs run as Administrative credential next to reinstall Windows 7 upgrade mode if slmgr.vbs fail always or Remaining Windows rearm count = 0.
Because it will spend more time to wait for installing system & hotfix in the duration of upgrade mode!

沒有留言:

張貼留言

Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.