Sintomi
Quando si esegue Sysprep.exe in Microsoft Surface Pro 3, potrebbero essere visualizzati i messaggi di errore seguenti:
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
Nota: questo problema può verificarsi in qualsiasi sistema che supporta lo standby connesso.
Causa
Questo problema si verifica perché Windows avvia automaticamente la crittografia delle unità tramite BitLocker in computer basati su Windows 8.1 che supportano InstantGo (standby connesso).
Risoluzione
Per risolvere questo problema, nel prompt dei comandi come amministratore eseguire il comando seguente:manage-bde -off c:Notes
-
Il comando potrebbe richiedere del tempo per decrittografare completamente l'unità. È possibile eseguire il comando manage-bde -status per monitorare lo stato di avanzamento.
-
Una volta completata la decrittografia completa, è possibile eseguire di nuovo Sysprep.exe.
-
Per evitare questo problema durante l'installazione iniziale di Windows, imposta il valore PreventDeviceEncryption su True nel file unattend.xml durante la fase della Configurazione guidata per creare l'immagine di riferimento. Per altre informazioni, vedi PreventDeviceEncryption.
Ulteriori informazioni
Dopo aver impostato il valore nel file unattend.xml, viene creata la sottochiave del Registro di sistema e la voce del Registro di sistema seguenti:
Sottochiave: nome HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BitLocker: PreventDeviceEncryptionTipo: dati REG_DWORD: 0x00000001