อาการ
เมื่อคุณเรียกใช้ Sysprep.exe บน 3 สำเนาของ Microsoft Surface คุณอาจได้รับข้อความแสดงข้อผิดพลาดต่อไปนี้:
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 จะเริ่มต้นการเข้ารหัสลับไดรฟ์ โดยใช้ BitLocker บนคอมพิวเตอร์ที่ใช้ Windows 8.1 ที่สนับสนุน InstantGo (เชื่อมต่อ standby)
การแก้ปัญหา
เมื่อต้องการแก้ไขปัญหานี้ ในหน้าจอพร้อมรับคำสั่งในฐานะผู้ดูแล เรียกใช้คำสั่งต่อไปนี้:จัดการ 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