“Fix Tech Daily helps you solve real-world IT problems, with daily tips on Windows, Office, networks, and devices.”
Saturday, August 9, 2025
how to increase space of c drive in virtual machine hyper-v
✅ 2-Step Process:
Step 1: Expand the virtual hard disk (.vhdx)
(This increases the size of the disk itself)
Step 2: Extend the C: drive inside Windows
(This tells Windows to use the new free space)
🔧 STEP 1: Expand VHDX in Hyper-V
-
Shut down the VM (Important: Cannot resize a running VM).
-
Open Hyper-V Manager.
-
Right-click the VM > Settings.
-
In the Hardware list, find the Hard Drive under IDE Controller or SCSI Controller.
-
Click on the hard disk path (e.g., C:\HyperV\VMName\disk.vhdx).
-
Click Edit (next to the disk path).
-
Click Next > Choose Expand.
-
Enter the new size (e.g., increase from 60 GB to 100 GB).
-
Click Finish.
💻 STEP 2: Extend C: Drive in Windows (After Boot)
-
Start the VM normally.
-
Log in and open Disk Management:
PressWindows + R
→ Typediskmgmt.msc
→ Enter. -
You will see Unallocated space next to the C: drive.
-
Right-click the C: drive → Click Extend Volume.
-
Use the full unallocated space or specify how much you want.
-
Click Next → Finish.
📌 Notes:
-
Works for .vhdx disks only (not .vhd unless converted).
-
C: drive must be on the same disk you're expanding.
-
If C: is not adjacent to unallocated space (rare), use tools like MiniTool Partition Wizard or GParted.
🧯 Optional: Check Space After
Open Command Prompt and run:
wmic logicaldisk get size,freespace,caption