FixSysprepissue

·????????The rearm count is reset to 5

創(chuàng)新互聯(lián)公司長期為1000多家客戶提供的網(wǎng)站建設(shè)服務(wù),團隊從業(yè)經(jīng)驗10年,關(guān)注不同地域、不同群體,并針對不同對象提供差異化的產(chǎn)品和服務(wù);打造開放共贏平臺,與合作伙伴共同營造健康的互聯(lián)網(wǎng)生態(tài)環(huán)境。為中衛(wèi)企業(yè)提供專業(yè)的成都網(wǎng)站制作、網(wǎng)站建設(shè),中衛(wèi)網(wǎng)站改版等技術(shù)服務(wù)。擁有10年豐富建站經(jīng)驗和眾多成功案例,為您定制開發(fā)。

http://www.vdnieuwenhof.eu/2014/03/reset-windows-rearm-count/

http://bobbitco.com/2015/09/22/how-to-reset-the-sysprep-rearm-counter-on-windows-2008-r2/

?

winpe3_amd64.ISO under? local host.

?

Enter the key after reboot.

?

slmgr.vbs /ipk ??9C6JF-G8DJP-2M247-V979W-62F6G

?

·????????Verify these settings Regedit:
https://www.itninja.com/question/windows-7-rearm-count-0

HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
CleanupState:2


HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
GeneralizationState:7

?

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\SoftwareProtectionPlatform\SkipRearm :1

?

·????????Run sysprep

sysprep.exe /generalize /oobe /reboot

?

·????????Delete the key

https://www.wintips.org/sysprep-fatal-error-0x0f0085-could-not-load-msesysprep-dll-fix/

?

·????????Sysprep_Generalize_MiStreamProv: RegDeleteValue for target uri failed with erro

https://blogs.technet.microsoft.com/brandonlinton/2018/05/03/sysprep-fails-if-installing-windows-management-framework-5-1/

?

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\StreamProvider] “LastFullPayloadTime”=dword:00000000

?

·????????Verify: check SID different.

??????????? Whoami /user

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

https://support.huawei.com/enterprise/zh/knowledge/EKB1000097038

問題描述在進行Windows系統(tǒng)封裝時,由于 sysprep的剩余次數(shù)超過操作系統(tǒng)限制而引發(fā)報錯。

Fix  Sysprep issue 告警信息

系統(tǒng)封裝失敗。

Fix  Sysprep issue

Fix  Sysprep issue 處理過程

MSDN官方的說明中可以看出在做Sysprep的過程中3次的重置限制是可以跳過的,在超出3次后sysprep過程中會跳出系統(tǒng)發(fā)生嚴重錯誤的對話框,導(dǎo)致sysprep的過程終止。

解決方法如下:

運行regedit進入注冊表編輯器更改以下兩項鍵值:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\ CurrentVersion\SoftwareProtectionPlatform\SkipRearm鍵值更改為1

HKEY_LOCAL_MACHINE\System\Setup\Status\SysprepStatus\右方的 GeneralizationState鍵值更改為7

然后再進行Sysprep即可。

Fix  Sysprep issue 根因

Windows? 7/2008/2012操作系統(tǒng)重置激活開始時間的次數(shù)最多支持執(zhí)行3-5次,使用模制作板優(yōu)化工具制作完整復(fù)制模板時會對模板虛擬機執(zhí)行sysprep,而執(zhí)行sysprep過程中默認會重置激活開始時間,如果執(zhí)行sysprep時系統(tǒng)剩余的可重置次數(shù)超過系統(tǒng)的限制次數(shù),則模板制作就會失敗。

Fix  Sysprep issue 建議與總結(jié)

請各位在封裝windows鏡像時, 在操作系統(tǒng)進行Sysprep前最好運行slmgr /dlv 查看該系統(tǒng)還能進行sysprep的剩余次數(shù)以免操作系統(tǒng)超出sysprep的次數(shù)而引發(fā)報錯導(dǎo)致做無功。

在cmd命令窗口中執(zhí)行如下命令,請看下圖:

Fix  Sysprep issue

END

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

https://www.repairwin.com/how-to-sysprep-windows-more-than-three-3-times-rearm/

https://system-center.me/miscellaneous/sysprep-your-windows-os-for-more-then-3-times/

It can happen, the need of re-syspreping an already syspreped machine, why ? maybe you lost your Image master. so.. you?running the setup process, adding the changes you want, relocating the XML answerfile, running the sysprep with /generalize switch.. the process is running for few seconds and then the sysprep window is disappeared. well.. open the sysprep log file under \sysprep\Panther … there you will find setup error log, if the logfile contains this line :

Date Time, 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

then Microsoft say… “Hey dude, bummer…, re-create the whole image“.

well… it’s not so true… this error indicates that you syspreped the machine more then 3 times, you cant do that… if the windows system was already activated by pre OEM activation you cant even re-arm the machine.. so you have 2 problems, one – can’t sysprep anymore and probably you can’t re-arm your machine (it wont let you sysprep if you cant re-arm..).

so, first check if you can re-arm by runing the slmgr.vbs /dlv and check the re-arm counter, if it set to zero.. you need to do the following : http://support.microsoft.com/kb/929828 (set the <SkipRearm>1</SkipRearm> like in the example, note: this option will make the product key window to appear in the setup process).

you can also try running : slmgr.vbs –rearm, to rearm Windows.

after that, let’s come back to the sysprep process.. for syspreping already syspreped machine we have to change few keys in the registry :

HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\

CleanupState:2
HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\

GeneralizationState:7

After done with the registry, do the following :

  1. Start -> Run : msdtc -uninstall (wait few seconds)

  2. Start -> Run : msdtc -install (wait few seconds)

  3. Restart the machine

  4. Check the registry for the right registry keys values

  5. sysprep with the new XML answerfile.

  6. and.. Walla !

  7. Have fun.

網(wǎng)站題目:FixSysprepissue
URL分享:http://bm7419.com/article32/jddhsc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供面包屑導(dǎo)航、網(wǎng)站策劃、微信小程序微信公眾號、外貿(mào)網(wǎng)站建設(shè)、網(wǎng)站建設(shè)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

手機網(wǎng)站建設(shè)