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?
Asked
Active
Viewed 2,630 times
0
-
possible duplicate of [How do I change the size of a VHD?](http://serverfault.com/questions/6139/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
-
1Bigger 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 01:55
3 Answers
1
1
-
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 01:54
0
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.

tony roth
- 3,884
- 18
- 14