Sintomas
Quando executar o Sysprep.exe no Microsoft Surface Pro 3, poderá receber as seguintes mensagens de erro:
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 Este problema pode ocorrer em qualquer sistema que suporta ligado de modo de suspensão.
Causa
Este problema ocorre porque o Windows inicia automaticamente a encriptar unidades utilizando o BitLocker em computadores baseados no Windows 8.1 que suportam InstantGo (modo de espera de ligado).
Resolução
Para resolver este problema, na linha de comandos como administrador, execute o seguinte comando:Gerir-bde-off c:Notas
-
O comando poderá demorar algum tempo a ser integralmente desencriptar a unidade. Pode executar o bde gerir-comando de estado para monitorizar o progresso.
-
Quando completa desencriptação estiver concluída, pode executar Sysprep.exe novamente.
-
Para evitar este problema durante a instalação inicial do Windows, defina o valor de PreventDeviceEncryption como True no ficheiro Unattend. xml durante a fase de experiência out-of-body (OOBE) para criar a imagem de referência. Para mais informações, consulte o PreventDeviceEncryption.
Mais informações
Depois de definir o valor no ficheiro Unattend. XML, é criada a seguinte entrada de registo subchave e do registo:
Subchave: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BitLockerNome: PreventDeviceEncryptionTipo: REG_DWORDDados: 0x00000001