套用到
Windows 8.1 Enterprise Windows 8.1 Pro Windows 8.1 Surface Pro 3

徵兆

當你在Microsoft Surface Pro 3 上執行 Sysprep.exe 時,你可能會收到以下錯誤訊息:

Sysprep was not able to validate your Windows installation. Review the log file at %windir%\system32\Sysprep\panther\setupact.log for details.  After resolving the issue use Sysprep to validate your installation again. Reviewing the setupact.log may show the following errors:2014-11-03 20:57:55, Error                 SYSPRP BitLocker-Sysprep: BitLocker is on for the OS volume. Turn BitLocker off to run Sysprep. (0x80310039)[gle=0x00000001]2014-11-03 20:57:55, Error      [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll; dwRet = 0x80310039[gle=0x00000001]2014-11-03 20:57:55, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x803100392014-11-03 20:57:55, Error                 SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x803100392014-11-03 20:57:55, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x803100392014-11-03 20:57:55, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80310039If you run manage-bde -status command it will show the following:Disk volumes that can be protected withBitLocker Drive Encryption:Volume C: [OSDisk][OS Volume]    Size:                 118.34 GB    BitLocker Version:    2.0    Conversion Status:    Encryption in Progress    Percentage Encrypted: 97.8%    Encryption Method:    AES 128    Protection Status:    Protection Off    Lock Status:          Unlocked    Identification Field: Unknown    Key Protectors:       None Found 

注意:此問題可能發生在任何支援連接待機的系統上。

原因

此問題是因為 Windows 會自動開始在支援 InstantGo (連接待機) 的 Windows 8.1 電腦上使用 BitLocker 加密磁碟機。

解決方案

要解決此問題,作為管理員在命令提示字元中執行以下指令:manage-bde -off c:Notes

  • 這個指令可能需要一些時間才能完全解密硬碟。 你可以執行 manage-bde -status 指令來監控進度。

  • 當完全解密完成後,你可以再次執行 Sysprep.exe。

  • 為了避免此問題,在 Windows 初次安裝時,請在 OOBE) 階段 (體出體驗期間,將 unattend.xml 檔案中的 PreventDeviceEncryption 值設為 True,以建立參考映像檔。 欲了解更多資訊,請參閱 防止裝置加密(PreventDeviceEncryption)。

其他相關資訊

在 unattend.xml 檔案中設定值後,會建立以下登錄檔子鍵與登錄檔項目:

子金鑰:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BitLocker名稱:PreventDeviceEncryption類型:REG_DWORD資料:0x00000001

需要更多協助嗎?

想要其他選項嗎?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。