現象
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 Name: PreventDeviceEncryptionType: REG_DWORDData: 0x00000001