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

Virtual Hard Disks: How They Work and When to Use Them

A virtual hard disk is a file that an operating system or virtual machine can use like a disk drive. Learn how VHD and VHDX images work and how Windows manages them.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A virtual hard disk is a file that a computer or virtual machine can use as though it were a disk drive. The file is the backing store; when you attach or mount it, the operating system can access the virtual disk and its file system. Microsoft describes VHD as a format that packages a hard disk in one file for disk-like use by an operating system (Microsoft Learn: About VHD).

How a virtual hard disk works

A virtual hard disk is not a separate physical drive. It is a disk image stored as a file on an existing storage device. The image can contain a file system and data, and software presents it to the operating system or a virtual machine as disk storage.

As an Amazon Associate I earn from qualifying purchases.

There are two related things to distinguish: the VHD or VHDX file is the stored image, while the virtual disk is the disk the system can use after that file has been attached. In Microsoft’s terminology, the file on storage is the backing store. Attaching it makes its contents available for disk and file operations.

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

What are VHD and VHDX?

VHD and VHDX are virtual hard disk file formats, commonly identified by the .vhd and .vhdx extensions. Windows Disk Management supports both and recommends VHDX in its create-disk workflow (Microsoft Learn: Manage Virtual Hard Disks).

#1 Best Overall
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • 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.

Microsoft describes VHDX as a format designed to work with modern storage hardware and capabilities. The VHDX Format Specification v1.00 listing was published on July 15, 2024 (Microsoft Download Center: VHDX Format Specification v1.00).

How virtual disk allocation types differ

Fixed, dynamic, and differencing describe how a virtual disk file stores or allocates data. They differ both in how the backing file uses storage and in whether the disk relies on a parent file.

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.
Type How the backing file uses space Parent-file dependency
Fixed Allocated to the virtual disk’s full configured size. Its file size does not change as data is added or removed. None inherent to this type.
Dynamic Grows as data is written, up to the configured maximum size. The maximum capacity is not necessarily the file’s current size. None inherent to this type.
Differencing Stores blocks changed relative to a parent disk; unchanged data is read from the parent. Requires its parent chain. The child is not a fully functional disk on its own, and reads may traverse the chain.

Microsoft’s VHD overview covers fixed and expandable disks, while its VHDX specification describes fixed, dynamic, and differencing behavior (VHD overview; VHDX specification overview).

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Create, attach, or detach a virtual hard disk in Windows

Disk Management in Windows 10 and Windows 11 can create, attach, and detach VHD and VHDX files. The exact available actions can depend on the Windows edition and permissions. Use the Disk Management interface rather than treating the image file like a physical drive:

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.
  1. Create: Open Disk Management, select Action > Create VHD, choose a location and virtual disk size, select .vhd or .vhdx, and choose an allocation type.
  2. Initialize and format: After creation, initialize the new virtual disk and create a volume if Windows prompts you. Formatting prepares a file system for storing files.
  3. Attach: In Disk Management, select Action > Attach VHD and choose the image file. Windows then makes the virtual disk available.
  4. Detach: In Disk Management, right-click the virtual disk and choose Detach VHD. This makes the disk unavailable to the system but does not delete the image file or its data.

These steps and supported file types are documented in Microsoft’s Windows virtual hard disk guide.

Quick Recap

SaleBestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
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.
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 | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
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 | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • 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.

When the distinction matters

  • If you see a .vhd or .vhdx file, that is the stored disk image, not necessarily a disk currently available to the operating system.
  • If a virtual disk is detached, its file and data remain on storage; attach the file again to make the disk available.
  • If you use a differencing disk, keep its parent file and any required parent chain accessible. The child file alone does not contain all the data needed to act as a complete disk.

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.

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
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair 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.