Have you ever wished you had an extra hard drive or partition to setup a dual-boot or multi-boot operating system? You can shrink your existing partition to create a new partition but it always carries some risk of data loss. Beginning with Windows 7, you can create a virtual hard drive (VHD) which acts as a separate hard drive in your computer.
The virtual hard drive (VHD) is stored as a .vhd or .vhdx file on your physical disk. By mounting a virtual hard drive, you can easily copy files to and from the virtual disk. Additionally, Windows 11/10/8/7 can be configured to boot from a VHD. In this tutorial we’ll go through the steps of creating a virtual hard drive (VHD) in Windows 11/10/8/7.
How to Create a Virtual Hard Drive (VHD) in Windows 11/10/8/7?
- Press the Windows + R key combination to bring up a Run box, type compmgmt.msc and hit Enter.
- The Computer Management dialog opens, click Disk Management in the left pane of the window and wait until you see all currently installed disks in the right pane.
- Right-click Disk Management and then select Create VHD.
- Click Browse to choose the location where you want your VHD stored, and give it a descriptive name. Choose the size you want it to be, and select dynamic or a fixed. If you want the disk to expand in size as you add files to it, then pick Dynamically expanding. Check Fixed size if you want a specific size and for it to stay that way. Click OK.
- You will see the virtual hard drive listed as unallocated space in Disk Management. Right click on the virtual hard drive (Disk 1) and select Initialize Disk.
- Press OK in the Initialize Disk box.
- Now it is time to create a volume by right-clicking the unallocated space and select New Simple Volume.
- The New Simple Volume Wizard starts up and just press Next until the wizard is complete.
- Now the new virtual disk is ready to be used, just like any other disk. You can see the virtual hard drive on your computer.
Windows will automatically dismount the virtual hard drive after a restart. You can also manually dismount the drive by right-clicking it in File Explorer and selecting Eject.
-
Whenever you need to mount a vhd/vhdx file as a virtual hard disk, just right-click it in File Explorer and choose Mount.