Start a Conversation

Unsolved

Moderator

 • 

342 Posts

5382

October 24th, 2024 20:06

Workaround: BitLocker prevents Sysprep on VM in 24H2

As of Windows 24H2, BitLocker now auto encrypts drives in VM. Here's how to work around this.

Error "Prepare Capture Failed #sysprep"

Log file at c:\windows\system32\sysprep\panther\setuperr.log contains:

SYSPRP BitLocker-Sysprep: BitLocker is on for the OS volume. Turn BitLocker off to run Sysprep. (0x80310039)

WORKAROUND:

To disable BitLocker - open a command prompt with admin rights and run the following command.

manage-bde -off C:

It may take a few minutes to decrypt. You can view the status by running

manage-bde -status

Once the drive is fully decrypted, rerun Image Assist.

Thanks,

Tyler

1 Rookie

 • 

1 Message

March 11th, 2025 20:13

Tyler,

You nailed it. My image was failing with SysPrep error and the log mentioned the Bitlocker. First I checked in the control panel to see if Bitlocker is ON/OFF and strangely the control panel shows it as OFF.

I then ran the command to check status "​manage-bde -status​" and in mentioned Encryption was active. Its weird that windows control panel wont show it as active when it actually is active.

I ran the command ​"manage-bde -off C:​" like you mentioned and checked the status until if was fully decrypted. My image is finally capturing.

Thanks mate!

1 Rookie

 • 

1 Message

March 17th, 2025 17:09

 Thank you, this solution worked out great! This thread should be marked "problem solved".

No Events found!

Top