none
DISKPART: changing MAXIMUM attribute of a VHD RRS feed

  • Question

  • Once a VHD is created using DISKPART tool (Windows 2008 R2), is it possible to change the MAXIMUM attribute of that VHD?

    I created a VHD with maximum=25000, but unfortunately, it's larger than the available space on the HD. Even though the VHD itself is only 4G, 2008 R2 Server "blue screens" trying to boot from VHD, saying there isn't enough space to host the VHD. I guess it looks at the maximum size, instead of VHD's actual size.

    I tried using the SHRINK option, but that didn't help. LIST VOLUME shows the VHD's size shrunk to 20G, but I still get the "blue screen" even though the free space is 23G on the HD.

    Any help / suggestions is greatly appreciated.

    Thanks,
    P1

    Sunday, December 6, 2009 6:12 AM

All replies