0

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?

3
  • possible duplicate of How do I change the size of a VHD?
    – Zoredache
    Jun 22, 2010 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. Jun 22, 2010 at 18:00
  • 1
    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, 2010 at 1:55

3 Answers 3

1

it is possible:

see: http://code.msdn.microsoft.com/vhdtool

and

How do I change the size of a VHD?

1
  • Please see my above comment. This is not I am looking for. Jun 22, 2010 at 18:02
1

Is this what your looking for ?

There's more here too.

2
  • 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. Jun 22, 2010 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, 2010 at 1: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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .