Link to home
Start Free TrialLog in
Avatar of Abraham Deutsch
Abraham Deutsch

asked on

Shrink Hyper-v machine

I have a hyper-v machine the folder is large and I want to make it smaller.
The is have a partition of 126GB which is more then half empty. and it have a partition that is uneducated. I thought if I to remove this uneducated partition the folder size will get smaller.
Please advice
Avatar of Philip Elder
Philip Elder
Flag of Canada image

"uneducated"? Perhaps taking a few snips and embedding them in a follow-up post will clarify what is being asked?

I suspect that there are two partitions on the host Hyper-V machine? One at 126GB and one at whatever size?

Or, a VM has its OS installed into a 126GB VHDX file, which is about the default size a VM create wizard chooses, and you are looking to shrink that?

If the last, then in the VM OS use Disk Manager to shrink the partition down as far as it can. The use EDIT in Hyper-V management to shrink the VHDX file.
he probably means unallocated space
post a screenshot of disk manager showing the partitions you want to handle
Avatar of Abraham Deutsch
Abraham Deutsch

ASKER

This is how it looks in the VM computer management. since there is 73GB of unallocated space I believe if I can eliminate this the file will get smallerUser generated image
ASKER CERTIFIED SOLUTION
Avatar of Philip Elder
Philip Elder
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I did a disk shrink to 130GB but made no change on what I see in computer management
A reboot of the guest clear that up?
I did the shrink when the guest  was turned off
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
130GB
Interesting in the hyper v manager it shows 130GB and in the VM computer manager it totals to 200GB