Virtual hard drives act identical to physical hard drives once mounted. Here is how to create a virtual hard drive in Windows with built-in tools.
Most don’t know this, but Windows allows you to create virtual hard drives with the Disk Management tool. All it takes is a couple of clicks, and you will have your virtual HDD ready to use.
Table of contents:
What is a virtual hard drive?
If you don’t know, a virtual hard drive is like any other file. However, you can mount the virtual hard drive file. It appears and functions as a hard disk partition when you do that. Generally, Windows uses VHD and VHDX formats for creating virtual hard drives.
Since a virtual hard drive acts just as a physical drive, you can store any files like documents, videos, image files, and more. If needed, you can even install an OS too.
The best thing is, once you are done using the virtual hard drive, you can eject it. That way, it doesn’t appear as a partition in File Explorer.
Uses of virtual hard drive
There are several use cases where a virtual hard drive makes your life easier. These include but are not limited to:
- Ease of storage and portability.
- Ability to install OS and dual boot without modifying existing partitions.
- Ability to use the virtual hard drive for storage virtualization.
- Quick and easy replication, backup, and deployment.
- Compatibility with virtualization platforms like Hyper-V and VirtualBox.
- Ability to encrypt and password protect data as a single file.
- and more.
The steps below work the same in Windows 10 and 11.
Steps to create a virtual hard drive in Windows
Using the built-in Disk Management tool, you can create a virtual hard drive in Windows. No need for third-party software. Here is how to do it.
- Use “Start key + R” to open Run.
- Type “diskmgmt.msc” in the blank field.
- Press the “Ok” button.
- Choose the “Action > Create VHD” option.
- Click the “Browse” button.
- Go to a folder/drive of your choice.
- Type a name of your choice in the “File name” field.
- Press the “Save” button.
- Select “GB” from the Virtual hard disk size dropdown menu.
- Type the amount of space you want to allot in the blank field.
- Press the “Ok” button.
- Choose “VHDX” under the “Virtual hard disk format” section.
- Choose the “Dynamically expanding” option under the “Virtual hard disk format” section.
- Press the “Ok” button.
- Right-click on the newly created disk.
- Choose the “Initialize Disk” option.
- Choose “GPT” and click “Ok.”
- Right-click on the newly created drive.
- Choose the “New Simple Volume” option.
- Press “Next.”
- Accept defaults and press “Next.”
- Set a drive letter and press “Next.”
- Choose “NTFS” from the “File System” dropdown.
- Select the “Perform a quick format” checkbox.
- Press the “Next” button.
- Click the “Finish” button.
- Close the Disk Management application.
- With that, you have created the virtual hard drive.
- Open File Explorer to see the newly created VHD.
- You can eject or unmount the drive by selecting it and clicking the “Eject” button at the top of File Explorer.
Steps with more details:
First, open the Windows Disk Management tool. For that, use the “diskmgmt.msc” Run (Win + R) command or search for “Create and format hard disk partitions” in the Start menu.
After opening the Disk Management application, choose the “Actions > Create VHD” option. This action opens the VHD creation wizard.
First, click the “Browse” button.
Go to a folder or drive where you would like to save the VHD file, type a name of your choice in the “File Name” field and press the “Save” button.
Now, choose “GB” from the “Virtual hard disk size” heading, and type the amount of hard disk space you want to allot in the blank field next to it. In allowing 10GB for the virtual hard disk file.
Choose the “VHDX” and “Dynamically expanding” options and press the “Ok” button.
With that, the VHD file is created. We now need to initialize it to use it as a drive.
Right-click on the newly created disk and choose the “Initialize Disk” option.
Choose the “GPT (GUID Partition Table)” and press the “Ok” button.
Right-click the drive again and choose the “New Simple Volume” option.
Press the “Next” button on the Simple Volume Wizard.
Accept the defaults in the Volume Size window and press “Next.”
Choose the “Assign the following drive letter” option and select a drive letter from the dropdown menu. Press the “Next” button to continue.
Choose “NTFS” from the “File System” dropdown menu, select the “Perform a quick format” checkbox and press the “Next” button. Optionally, you can also type a custom name in the “Volume Lable” field. This name will appear as the drive/partition name in File Explorer.
Press the “Finish” button.
That is it. Close the Disk Management application. Open the File Explorer, and you will see a new drive.
You can find the VHD file in the location you chose earlier.
Once you are done using the virtual hard drive, select the drive in File Explorer and press the “Eject” button.
–
That is it. It is that simple to create a virtual hard drive in Windows.
I hope this simple and easy Windows how-to guide helped you.
If you are stuck or need some help, send an email, and I will try to help as much as possible.