Mount an Encrypted Virtual Disk on Windows 11

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.

Table of Contents
  1. What mounting actually does
  2. Mount a VHD or VHDX file
  3. Mount an encrypted container
  4. Read-only versus read-write
  5. Common mount failures

What mounting actually does

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.

Mount a VHD or VHDX file

Step 1. Right-click the .vhd or .vhdx file and choose Mount. Windows assigns a drive letter automatically.

Attach a VHD file in Windows 11

Step 2. If the file is BitLocker-protected, a password prompt appears for that volume. Enter the password or the 48-digit recovery key.

Confirm attaching the virtual disk

Step 3. When finished, open Disk Management, right-click the virtual disk, and choose Detach VHD. Closing File Explorer does not unmount it.

Detach the virtual disk when finished

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.

Assign a drive letter to the mounted volume

Mount an encrypted container

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.

Create an encrypted container with Qiling Safe Disk

Step 2. Select the container file in the program, choose a free drive letter, and mount it.

Mount the encrypted container with Qiling Safe Disk

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.

Read-only versus read-write

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.

Common mount failures

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!


QilingTech uses cookies to ensure you get the best experience on our website.  Learn more  Got it