Ventoy Forums
Loading WinToGo from an encrypted BitLocker VHDX - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy Plugin —— Ventoy 插件 (https://forums.ventoy.net/forumdisplay.php?fid=3)
+--- Forum: Ventoy Plugin Forum (https://forums.ventoy.net/forumdisplay.php?fid=4)
+--- Thread: Loading WinToGo from an encrypted BitLocker VHDX (/showthread.php?tid=2833)



Loading WinToGo from an encrypted BitLocker VHDX - spirtman96 - 04-01-2024

Hello. I managed to modify the ventoy_vhdboot.img so that it can boot encrypted BitLocker VHDX. However, this currently only works for my VHDX. 
Perhaps you could make this a universal solution!?

What I did:

    I created a Windows To Go (WTG) drive with BitLocker encryption following the instructions provided in the article "To enable BitLocker during provisioning" (https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-8.1-and-8/jj721578(v=ws.11)).

    I connected the WTG.vhdx to a Hyper-V virtual machine using Windows 11 and added a boot entry to BCD using the command: "bcdboot W:\windows", where W is the mounted and unlocked WTG.vhdx.

    After that, I merged and cleaned up the BCD in the ventoy_vhdboot.img.

    I also updated the bootx64.efi in the efi.img using the one from Windows 11. Without this step, it prompted for a password but decryption didn't occur.

If you're interested, I can send you my ventoy_vhdboot.img via email or another method. I can't upload it here due to its size.