狀況

當您執行 Sysprep.exe Microsoft Surface 專業人員 3 」 上時,您可能會收到下列錯誤訊息:

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 = 0x80310039
2014-11-03 20:57:55, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x80310039
2014-11-03 20:57:55, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x80310039
2014-11-03 20:57:55, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80310039

If you run manage-bde -status command it will show the following:

Disk volumes that can be protected with
BitLocker 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 會自動啟動 Windows 8.1 電腦支援 InstantGo (待命連線) 上使用 BitLocker 加密磁碟機。

解決方案

如果要解決這個問題,請在命令提示字元,以系統管理員身分,執行下列命令:

管理 bde-c: 關閉

注意事項

  • 命令可能需要一些時間才能完全解密磁碟機。您可以執行管理-bde-狀態] 命令來監視進度。

  • 完成完整的解密時,您可以再次執行 Sysprep.exe。

  • 若要避免這個問題,初始的 Windows 安裝期間,PreventDeviceEncryption 值設為 True unattend.xml 檔中建置參照映像 out-of-body 的體驗 (OOBE) 階段。如需詳細資訊,請參閱PreventDeviceEncryption



更多的資訊

您 unattend.xml 檔案中設定的值之後,會建立下列登錄子機碼和登錄項目:

子機碼: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BitLocker
名稱: PreventDeviceEncryption
型別: REG_DWORD
資料: 0x00000001

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?

Thank you for your feedback!

×