上的Sysprep故障之前,部署Azure的VM角色,我們需要執行Windows Server 2008的
%windir%\system32\sysprep\sysprep.exe /generalize /oobe /shutdown
但在我的情況下,系統預備失敗,日誌文件%WINDIR%\ SYSTEM32 \ Sysprep的\豹\ setuperr。 txt說:
2012-07-05 08:03:57, 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-07-05 08:03:57, Error [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f
我並不總是想創建一個新的圖像。有什麼解決辦法嗎? 我跟着MS支持here的說明,並試圖:
%windir%\system32\sysprep\sysprep.exe /generalize /oobe /shutdown /unattend:.\unattend.xml
它沒有工作。
在某些情況下,我需要從Azure拆下VM鏡像,並重新部署一些更改。所以sysprep每週運行幾乎兩次。
聽起來像是在ServerFault.com上發佈的很好的候選人? – reuben
好吧...找不到將問題移到serverfault的選項,現在複製並粘貼到那裏。 – dushyantp