October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

How Virtual Hard Drives Work and Use Storage Space

A virtual hard drive is a disk image file used like a disk. Learn how VHD and VHDX formats work, how allocation types differ, and how to attach or detach a VHD in Windows.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A virtual hard drive is a disk image stored as a file that an operating system or virtual machine can use like a disk. It is not a separate physical drive, and the image alone is not a complete virtual machine.

How a virtual hard drive works

The host computer stores the disk image on physical storage, such as an SSD or hard drive. Software presents that file as a disk to the host or to a virtual machine. In a virtual machine, the guest operating system sends disk reads and writes through the virtualization software, which redirects them to the image file. Microsoft describes VHD files as disk images, and Oracle explains how VirtualBox redirects guest disk operations to an image.

As an Amazon Associate I earn from qualifying purchases.

The image can contain a file system—Microsoft lists NTFS, FAT, exFAT, and UDFS among the possibilities—so the system using it can store and retrieve files in the usual way. The virtual disk is only one component of a virtual machine: running a VM also requires virtualization software and the VM’s configuration and other devices. Mounting a disk image makes its contents available as storage; it does not launch a virtual machine.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

VHD, VHDX, VDI, and VMDK: what the names mean

These extensions identify disk-image formats, not a guarantee that every program can open them. Check the documentation for the operating system or hypervisor that will use the image.

#1 Best Overall
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
  • VHD (.vhd): Microsoft’s virtual hard disk format, which stores a disk in a file for use as a virtual disk.
  • VHDX (.vhdx): Microsoft’s newer VHD format, designed for modern storage configurations. Microsoft recommends VHDX in its Windows management guide.
  • VDI and VMDK: Other formats listed in Oracle’s VirtualBox documentation. VirtualBox supports VDI, VMDK, and Microsoft’s VHD, but support in one product does not establish universal compatibility.

How virtual disks use storage space

The format and the disk’s allocation type are separate choices: the allocation type describes how the backing file uses host storage, while the format describes how the virtual disk is represented. For VHDX, Microsoft documents three allocation types:

  • Fixed: The host file is allocated to the virtual disk’s full configured size. That space can be occupied even when the virtual disk contains less user data.
  • Dynamic: The host file starts smaller and grows as data is written, up to its configured virtual capacity. The guest-visible capacity is therefore not the same as the file’s current size on the host.
  • Differencing: The child image stores changed blocks relative to a parent image. It relies on that parent, so keep the parent and child chain together when moving or backing up the disk.

Microsoft’s VHDX specification documents these types. The exact options available when creating a disk depend on the software you use.

Rank #2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
  • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

How to create, attach, or detach a VHD in Windows

Microsoft’s Disk Management guide covers Windows 10, Windows 11, and listed Windows Server releases. The documented procedure requires administrative privileges. In Disk Management, creating a VHD involves choosing its location and file name, setting its virtual capacity, and selecting fixed or dynamically expanding allocation; Microsoft says the VHD is initialized when created. For the exact controls and sequence, use Microsoft’s VHD management instructions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Attach an existing image

In Disk Management, choose Action > Attach VHD, then select the existing VHD file. Attaching makes the disk available to Windows for disk and file operations.

Rank #3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Detach an image without deleting it

In Disk Management, right-click the VHD’s disk entry and choose Detach VHD. Detaching makes the disk unavailable to Windows; it does not delete the VHD file or its data. To remove the image itself, you would have to delete its backing file separately, taking care not to delete a file you still need.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What VHDX improves—and what its capacity figure means

Microsoft describes VHDX as optimized for modern storage hardware. A separate Microsoft overview for Windows Server 2012 and 2012 R2 states that VHDX supports capacity up to 64 TB and describes metadata logging, alignment improvements for large-sector disks, and trim-related efficiency. That 64 TB figure belongs to that historical, platform-scoped documentation; it is not a universal capacity limit or a guarantee for every current operating system, hypervisor, or deployment. Check the documentation for the software and version you actually plan to use. Microsoft’s Hyper-V overview provides the Windows Server 2012/2012 R2 context.

Quick Recap

SaleBestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$129.99
Bestseller No. 2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$229.99
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
Bestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$208.99
Best Value
Sale
UnionSine 500GB Ultra Slim Portable External Hard Drive HDD-USB 3.0
  • [Upgraded Version] - This external hard drive features a mirrored logo stripe combined with a striped anti-slip design, and the rounded corners of the casing make it easier to grip. The stripes also have a heat dissipation function, ensuring stable and fast data transfer.
  • 【Ultra-thin and quiet】 - The motherboard adopts JMicron 578 noise-free solution, giving you a quiet working environment. Lightweight and portable size designed to fit in your pocket for easy portability.
  • 【Ultra-Fast Data Transfers】 - Pairing this external hard drive with JMicron 578 solution USB 3.0 and USB 2.0 interfaces enables blazing-fast data transfer. It boasts theoretical read speeds of up to 125MB/s and write speeds of up to 103MB/s.
  • 【Plug and Play】 - With no software to install, just plug it in and the drive is ready to use.The hard disk chip is wrapped with an aluminum anti-interference layer to increase heat dissipation and protect data.
  • 【What You Get】 - 1 x Portable Hard Drive, 1 x USB 3.0 Cable, 1 x User Manual, Gift-type shell packaging ,Three-year manufacturer's warranty and free technical support services.
Rank #4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
  • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.