An encrypted virtual disk is a single file that becomes a drive letter when you open it. Once mounted, applications read and write it like any other volume; once dismounted, the file is again unreadable without the password. Most mounting problems come from mixing up two formats that look identical in File Explorer, or from mounting read-write a volume that should be opened read-only. This guide covers both paths.
A virtual disk is a container file that holds a file system inside it. When you mount it, a driver presents that inner file system to Windows as a physical disk, so it receives a drive letter and can be read by any program. Unmounting detaches the drive letter and closes the file.
Two formats are common, and they are not equally secure.
Step 1. Right-click the .vhd or .vhdx file and choose Mount. Windows assigns a drive letter automatically.
Step 2. If the file is BitLocker-protected, a password prompt appears for that volume. Enter the password or the 48-digit recovery key.
Step 3. When finished, open Disk Management, right-click the virtual disk, and choose Detach VHD. Closing File Explorer does not unmount it.
Step 4. To mount at every startup, use Disk Management then Action then Attach VHD with the read-only option, or create a scheduled task. Do not enable automatic mounting for a container on removable media that is not always connected.
Step 1. Install the program that created the container, or the one you intend to use consistently. Qiling Safe Disk can create and mount its own images; VeraCrypt can open its own volumes.
Step 2. Select the container file in the program, choose a free drive letter, and mount it.
Step 3. Enter the password. If a keyfile is required, select it as well; a correct password without the keyfile will not open the volume.
Step 4. Work with the files through the new drive letter, then dismount from the program's interface. Dismounting is what closes the encrypted file and releases the lock.
Mount read-only when you only need to read or copy data out. This prevents accidental changes and lets you open a container that is stored on a medium you do not want to modify, such as a write-protected USB stick or a backup kept on read-only media.
Mount read-write when you need to add or edit files. Read-write mounting takes an exclusive lock on the container file, which is why a container cannot be open on two computers at once over a network share.