Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

VHD / VHDX

Direct answer

A virtual disk file is only one layer of the storage chain: VM controller attachment, VHD/VHDX format, file path, host filesystem, storage device/path and guest filesystem all remain distinct boundaries.

When to use this

Use this topic for virtual disk format, attachment, fixed/dynamic/differencing behavior and the first storage boundary before deeper Storage-domain analysis.

First 30 seconds

1. Get-VMHardDiskDrive -VMName <vm> — path.

2. Get-VHD <path> — format, type, parent.

3. Differencing chain intact (checkpoints)?

4. Host free space for dynamic disks.

5. Resize: Resize-VHD then extend in guest.

Operational verification

VM controller → VHDX file (fixed/dynamic/differencing) → host volume

Evidence · next step

Inspect the active differencing chain and verify host plus guest I/O at the same time window.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

A present VHDX file does not show chain integrity, host storage health or guest filesystem health.

Next check: Inspect the active differencing chain and verify host plus guest I/O at the same time window.

Platform / version applicability
Windows Server virtualization and clustering
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows Server virtualization and clustering
Key commandGet-VMHardDiskDrive -VMName web01
Scope / prerequisiteUse this topic for virtual disk format, attachment, fixed/dynamic/differencing behavior and the first storage boundary …
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

VM controller → active VHD/VHDX chain → host file/filesystem → storage path/media → guest block device → guest filesystem → application I/O

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • VHDX is the preferred modern Hyper-V virtual disk format.
  • A VHDX file existing does not prove it is attached to the intended VM or readable end-to-end.
  • Dynamic expansion changes physical allocation behavior, not the guest-visible maximum alone.
  • Checkpoints and differencing disks can alter the active disk chain; do not inspect only the base VHDX.
Key checks
  • Get-VM — VMs and state
  • Get-VMHost — host settings
  • Get-VMSwitch — virtual switches
  • Get-VMNetworkAdapter -VMName <vm> — vNICs, switch, VLAN
  • Get-VMHardDiskDrive -VMName <vm> — attached disks
  • Get-WinEvent -LogName Microsoft-Windows-Hyper-V-VMMS-Admin -MaxEvents 30 — VMMS events
ReferenceImportant terms & boundaries2 sections · depth on demand

What the evidence shows

Healthy VHDX metadata or file presence does not show underlying storage latency/integrity, guest filesystem health or application I/O.

Deep storage technology remains in Storage. Windows Hyper-V owns how virtual disks attach to VMs and how VM disk chains behave.

In depth

Virtual disk management on Hyper-V:

New-VHD -Path D:\VMs\data.vhdx -SizeBytes 500GB -Dynamic
Resize-VHD -Path D:\VMs\data.vhdx -SizeBytes 800GB          # online for SCSI disks
Get-VHD D:\VMs\data.vhdx | Select VhdType,Size,FileSize,FragmentationPercentage,ParentPath
Optimize-VHD -Path D:\VMs\data.vhdx -Mode Full              # compact (attached read-only or detached)
Mount-VHD -Path D:\VMs\data.vhdx -ReadOnly
Convert-VHD -Path old.vhd -DestinationPath new.vhdx

VM worker processes access VHDX files using the VM's virtual account (NT VIRTUAL MACHINE\<VMID>) — copying files manually can strip that ACL and make the VM fail to start ("Account does not have permission").

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Disk commands

Get-VMHardDiskDrive -VMName web01
Get-VHD -Path D:\VMs\web01.vhdx | Select VhdType,Size,FileSize,ParentPath,FragmentationPercentage
Add-VMHardDiskDrive -VMName web01 -ControllerType SCSI -Path D:\VMs\data.vhdx
Resize-VHD -Path D:\VMs\data.vhdx -SizeBytes 200GB

Documented example, not captured output. After resizing, extend the partition inside the guest.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows Server virtualization and clustering current

Authoritative/upstream documentation reviewed for bounded claims in Hyper-V → VHD / VHDX. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
vhdxhyper-v vhdvirtual hard disk hyper-vdifferencing disk hyper-v
Embedded reference data

Quick lookup tables

Hyper-V → VHD / VHDX reference map

Fast lookup boundaries for Hyper-V → VHD / VHDX.

BoundaryMeaningEvidence limit
AttachmentVM points to a virtual disk pathDoes not prove file/backing storage healthy
Format/typeVHD/VHDX and fixed/dynamic/differencingDoes not prove active chain is complete
Host storageFile and backing filesystem/path are availableDoes not prove guest filesystem healthy
Guest I/OGuest reads/writes expected dataStrongest workload-facing storage evidence
Confirmation

Confirm action

Continue?