Unsolved
Moderator
•
349 Posts
3
9200
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



IrishDr
1 Rookie
•
1 Message
0
April 14th, 2026 23:07
I don't know if this is a Windows issue, or a Dell issue, but this is still happening in April 2026, reporting it's off in the GUI, while it's actually on, needing a command to turn it off
DELL-Tyler M
Moderator
•
349 Posts
1
April 15th, 2026 14:04
@IrishDr - When we discovered (in 24H2) that Microsoft enabled automatic BitLocker encryption in a VM when both Secure Boot and TPM are enabled, DIA was updated so that when the image capture process was initiated, it checks for BitLocker encryption and then immediately begins decryption, aiming to complete before Sysprep runs. We've seen instances where when a VM disk is very large or when the VM is resource constrained, BitLocker decryption takes longer than allocated for the DIA auto-capture process and Sysprep fails. This is noted in the known issues for the current release here >> Image Assist Version 11.2.0 Release Notes | Dell US. You can check the status of the decryption process by opening a CMD and running 'manage-bde -status'. Once it's complete, you can rerun DIA and the capture should complete.
(edited)
DELL-ChrisM2
Community Manager
•
1.2K Posts
0
April 15th, 2026 16:00
@DELL-Tyler M
Test reply test reply
DFW-EE
1 Rookie
•
1 Message
1
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!
bdonato1973
1 Rookie
•
1 Message
0
March 17th, 2025 17:09
Thank you, this solution worked out great! This thread should be marked "problem solved".