Technical Anshu
Tutorials Blog
💽 Hyper-V Guide

Differencing Disks in Hyper-V Why the Parent VHD Is Sacred

One prepared parent disk, ten lab machines, each keeping only its own changes in a small child file. That is the differencing disk - the cleverest VHD type and the one that punishes a single careless click with total data loss. The rule is simple: the parent is sacred.

✍️ Technical Anshu🪟 Windows 10 / 11⏱️ 7 minute read
🎥 New to virtual disks in general? Watch the video for the create and attach basics first

A differencing disk is a VHD or VHDX that owns nothing but changes. It points at a parent disk that holds the base system - a clean, patched Windows, for example. Read a block and the child answers if it has a newer version, otherwise the request falls through to the parent. Write anything and it lands in the child. Beautiful for labs and training rooms. But the relationship has one absolute law, and breaking it does not produce an error you can undo - it produces orphans.

One parent, three children (example lab)
Parent - Win11-Golden.vhdx, 28 GB, read-onlyNever touch
Child A - student changes only, 1.2 GBGrows alone
Child B - student changes only, 0.8 GBGrows alone
Child C - student changes only, 2.1 GBGrows alone
Total on disk about 32 GB - three separate 28 GB installs would cost 84 GBThe saving

👆 The arithmetic is the attraction. The dependency is the price: remove or edit the parent and all three children die together.

1

How the Parent and Child Split the Work

  1. The parent holds the complete base - an installed, updated, sysprepped Windows or a prepared data disk
  2. Each child starts life almost empty. It is a record of differences: 'this block is not what the parent says, it is this instead'
  3. Reads check the child first, then the parent. Writes always go to the child. The parent's content physically cannot change through a child
  4. Create one in Hyper-V Manager: New → Hard Disk → Differencing, then point it at the parent. PowerShell: New-VHD -Path "D:\VM\Child.vhdx" -ParentPath "D:\VM\Golden.vhdx" -Differencing
  5. Children can even have children of their own - chains are possible, and every extra link adds read overhead and one more thing that must never move
2

The Golden Rule - Never Touch the Parent

  1. The moment a child is created, the parent must become read-only - set the file attribute, and treat it as sealed. Do not boot it, do not mount it read-write, do not 'just quickly update it'
  2. Here is why: the child stores changes relative to the parent's exact content and records the parent's identity. Change one block in the parent and the child's map no longer matches reality - blocks it skipped because 'the parent has this' now point at different data
  3. Hyper-V detects the change and reports the chain broken - the differencing disk's parent has been modified. This is not a warning you can click through; the child's data is logically destroyed even though both files sit there looking fine
  4. Even moving or renaming the parent confuses children that reference it by path, until you reconnect them. Sacred means: same place, same name, same content, forever - or until the children are merged or deleted
3

Where Differencing Genuinely Shines

  1. Training labs and classrooms: one golden image, a child per student, reset a student by deleting their child and making a fresh one
  2. Software testing: install the suspect program in a child; if it misbehaves, delete the child and the base was never touched
  3. Trial environments: many short-lived machines that share 95 percent of their content
  4. Notice the pattern: differencing is for the disposable. The moment data inside a child becomes precious and irreplaceable, the design is being misused
4

The Traps Nobody Puts on the Slide

  1. The parent is a single point of failure for every child. Back the parent up like it matters - because to ten lab machines, it is their entire base operating system
  2. Children grow. A child that diverges enough approaches the size of a full disk. The savings quietly evaporate while the dependency remains
  3. Performance fades with chain depth and fragmentation. Reads that check several layers and a scattered child file cost time a plain disk would not
  4. AVHDX files are the same idea in disguise. Hyper-V checkpoints create differencing disks automatically - a VM with old checkpoints is living on children, with a parent you must not tidy away
5

Ending the Relationship - Merge, Reconnect, Delete

  1. Merge is the clean exit: the child's changes are folded into a new full disk (or into the parent, if no other children need it). PowerShell: Merge-VHD -Path "D:\VM\Child.vhdx" -DestinationPath "D:\VM\Full.vhdx", or use Hyper-V's Edit Disk wizard. The VM must be off
  2. Reconnect fixes a child whose parent merely moved: Hyper-V's Inspect Disk reports the broken link and offers Reconnect to point at the parent's new location. This works only because the parent's content is unchanged
  3. Delete the child to throw away changes deliberately - that is the reset button the whole design exists for
  4. Never delete the parent while children exist, and never 'clean up' old AVHDX checkpoint files by hand from a VM's folder - remove checkpoints in Hyper-V Manager so the merge happens properly
🔴 Modifying the parent does not warn you first. Boot the golden image 'just to run updates', shut it down politely, and every differencing child built on it is already broken. Updates to a golden image mean a new parent and new children - never surgery on the parent a family of disks depends on.

🎥 Watch the Complete Process in the Video

The video covers everyday VHD creation and use - master those basics, then differencing disks become a safe power tool instead of a trap.

▶️ Watch Full Video
❓ Frequently Asked Questions

Hyper-V says my differencing disk chain is broken. Can I save it?

It depends on what changed. If the parent was only moved or renamed, use Inspect Disk and Reconnect to point the child at the parent's new path - the data survives because the content never changed. If the parent's content was modified (booted, mounted read-write, updated), the child's block map no longer matches reality and the changes in the child are effectively lost. That harshness is exactly why the parent must be read-only from the moment the first child exists.

Can I delete the parent VHD to save space?

No - deleting the parent deletes every child's foundation. Each child contains only changes, so without the parent they hold fragments, not a disk. If you want a child to survive independently, merge it into a full standalone disk first (Merge-VHD or Edit Disk), verify the merged disk works, and only then retire the parent.

Are Hyper-V checkpoint files the same thing as differencing disks?

Yes. Every checkpoint creates an AVHDX differencing disk, and the VM then writes to that child while the parent freezes at the checkpoint moment. That is why manually deleting AVHDX files from a VM folder is destructive, and why old checkpoints should be deleted through Hyper-V Manager - it merges the chain back together in the right order.

This guide is based on the Technical Anshu Windows VHD video • Stuck on any step? Ask in the video comments — you will get a reply there 🙏