Síntomas
Cuando se ejecuta Sysprep.exe en Microsoft Surface Pro 3, puede recibir los mensajes de error siguientes:
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
Nota: Este problema puede ocurrir en cualquier sistema que admite conectados en espera.
Causa
Este problema se produce porque Windows inicia automáticamente cifrar unidades mediante BitLocker en equipos basados en Windows 8.1 que admiten InstantGo (conectado en modo de espera).
Solución
Para resolver este problema, en el símbolo del sistema como administrador, ejecute el siguiente comando:
¿Manage-bde-off c:
Notas:
-
El comando puede tardar algún tiempo en totalmente descifrar la unidad. Puede ejecutar el manage-bde-comando de estado para supervisar el progreso.
-
Una vez finalizada descifrado completo, puede ejecutar de nuevo Sysprep.exe.
-
Para evitar este problema durante la instalación inicial de Windows, establezca el valor de PreventDeviceEncryption en True en el archivo unattend.xml durante la fase de experiencia fuera del cuerpo (OOBE) para generar la imagen de referencia. Para obtener más información, consulte la PreventDeviceEncryption.
Más información
Después de establecer el valor en el archivo unattend.xml, se crea la entrada de registro y la subclave de registro siguiente:
Subclave: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BitLocker
Nombre: PreventDeviceEncryption
Tipo: REG_DWORD
Datos: 0 x 00000001