Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am native booting into vhd files. While creating the parent vhd file I set the maximum file size to 50GB however I never install so many applications. 20GB maximum will be enough for me but I want to change this setting on existing parent vhd file as I don't want to go through installing the OS from scratch into a new vhd. Is that possible?

share|improve this question
possible duplicate of How do I change the size of a VHD? – Zoredache Jun 22 '10 at 17:55
Not a duplicate. I am not trying to make the disk larger. When you native boot to a vhd, vhd file is automatically expanded to the size you specify when creating the disk. So my disk is expanded to 50GB automatically. I am trying to make it smaller. Not larger. – Élodie Petit Jun 22 '10 at 18:00
Bigger and smaller are the same process. Don't forget the reduce the size of the partitions on the disk before shrinking the actual disk. – Chris S Jun 23 '10 at 1:55

it is possible:



share|improve this answer
Please see my above comment. This is not I am looking for. – Élodie Petit Jun 22 '10 at 18:02

Is this what your looking for ?

There's more here too.

share|improve this answer
Not exactly. I am not using virtual pc. I am using native boot and only trying to change MAXIMUM file size setting so it doesn't expand automatically to 50GB. – Élodie Petit Jun 22 '10 at 18:02
This is what you're looking for. VHDs can not be resized while in use. You'll have to edit the file with another OS, then boot into it again. – Chris S Jun 23 '10 at 1:54

if you plan to utilize this server for long then 20gigs won't be big enough due to issues with the winsxs growth.. Other then that you need to mount the physical disk to another w2k8r2 or win7 device then mount the vhd then run the vhd resizer tool! Or if you have multiple boot selections boot to another os then mount the vhd file then resize.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.