How to Create BitLocker Encrypted Container File with a VHD or VHDX File in Windows
You can use BitLocker Drive Encryption to help protect your files on an entire drive. BitLocker can help block hackers from accessing the system files they rely on to discover your password, or from accessing your drive by physically removing it from your PC and installing it in a different one. You can still sign in to Windows and use your files as you normally would.
New files are automatically encrypted when you add them to a drive that uses BitLocker. However, if you copy these files to another drive or a different PC, they're automatically decrypted.
BitLocker can encrypt the drive Windows is installed on (the operating system drive) as well as fixed data drives (such as internal hard drives). You can also use BitLocker To Go to help protect all files stored on a removable data drive (such as an external hard drive or USB flash drive).
You can also use BitLocker to encrypt a VHD or VHDX (virtual hard disk) file mounted as a drive. You can copy and move this VHD or VHDX file to any Windows computer as a portable encrypted container file. When you mount the VHD or VHDX file on a computer and try to open the encrypted drive for it, you will be prompted for your BitLocker password before it will open.
You can save files into this BitLocker drive for VHD or VHDX file when unlocked like any other drive, and lock or unmount the drive when you like to secure it.
This tutorial will show you how to create a portable BitLocker encrypted container file using a mounted VHD or VHDX file in Windows 7, Windows 8, and Windows 10.
BitLocker Drive Encryption is only available in the Windows 7 Ultimate, Windows 7 Enterprise, Windows 8 Pro, Windows 8 Enterprise, Windows 10 Pro, Windows 10 Enterprise, and Windows 10 Education editions.
You must be signed in as an administrator to mount a VHD or VHDX file and encrypt with BitLocker.
WarningWhen you unlock the BitLocker encrypted mounted VHD/VHDX container file (drive) with your BitLocker password, all users on the computer will be able to access the drive just like any other fixed data drive until you either lock or unmount the drive or change permissions for the drive.
If you want to copy or move the VHD or VHDX file to another location or computer, be sure you unmount the drive for it first.
EXAMPLE: VHD or VHDX file mounted as BitLocker encrypted drive
Here's How:
1. If you don't already have one, create and set up a new VHD or VHDX file.
2. Mount the VHD or VHDX file as a drive.
3. In File Explorer (Win+E), right click or press and hold on the drive (ex: "F") for the mounted VHD or VHDX file, and click/tap on Turn on BitLocker. (see screenshot below)
4. Check Use a password to unlock the drive, enter a password you want to use to unlock the drive with, reenter your password to confim, and click/tap on Next. (see screenshot below)
5. Select how (Microsoft account, USB, file, and/or print) you want to back up your BitLocker recovery key for this drive, and click/tap on Next when finished. (see screenshots below)
NoteMicrosoft account = This option is only available when you are signed in to Windows 10 with a Microsoft account. It will save the BitLocker recovery key to your OneDrive account online at https://onedrive.live.com/recoverykey.
USB flash drive = This option will save the BitLocker recovery key to a selected USB flash drive.
File = This option will save the BitLocker recovery key .TXT file to a location you select.
Print = This option will print the BitLocker recovery key to the selected printer.
6. Select (dot) Encrypt entire drive, and click/tap on Next. (see screenshot below)
7. Select (dot) New encryption mode or Compatible mode for what is best for how you will use the mounted VHD or VHDX drive, and click/tap on Next. (see screenshot below)
New encryption mode (XTS-AES 128-bit) = Select this mode if this drive will only be used on devices running Windows 10 version 1511 or higher. It will not work on an older version of Windows (ex: Vista, Windows 7, or Windows 8/8.1).
Compatible mode (AES-CBC 128-bit) = Select this mode if this drive is going to be used on an older version of Windows (ex: Vista, Windows 7, or Windows 8/8.1). It will still work on all versions of Windows 10.
8. Click/tap on Start encrypting when ready. (see screenshot below)
9. When encryption has finished, click/tap on Close. (see screenshot below)
This could take a long time to finish depending on the size of the drive and how much data on the drive is being encrypted.
That's it,
Shawn Brink
Related Tutorials
- How to Create and Set Up New VHD or VHDX File in Windows 10
- How to Mount or Unmount VHD and VHDX File in Windows 10
- How to Turn On or Off BitLocker for Operating System Drive in Windows 10
- How to Turn On or Off BitLocker for Removable Data Drives in Windows 10
- How to Turn On or Off BitLocker for Fixed Data Drives in Windows 10
- How to Lock BitLocker Encrypted Drive in Windows
- How to Add 'Lock Drive' to Context Menu of BitLocker Encrypted Drives in Windows 10
- How to Unlock a Fixed or Removable BitLocker Drive in Windows
- How to Turn On or Off Auto-unlock for BitLocker Drive in Windows 10
- How to Back up BitLocker Recovery Key for Drive in Windows 10
- How to Change BitLocker Password in Windows 10
- How to Use BitLocker Repair Tool to Recover Encrypted Drive in Windows
- How to Auto-Mount VHD or VHDX File at Startup in Windows 10