Resizing a VHD drive is not particularly complicated, it just involves a number of steps.
To Shrink
- Mount the VHD in Windows 7/2008 using Disk Management Tools (or DISKPART)
- Defragment the drive, makeing sure the free space is also defragmented (UltraDefrg in Optimize mode is a good free tools for this)
- Resize the main parition using Disk Management Tools (or DISKPART)
- Unmount the VHD Drive
- Resize the actual VHD file (VHDResizer is a great tool for this)
To Expand
Resize the actual VHD file (VHDResizer is a great tool for this)
- http://sysadmingeek.com/articles/how-to-resize-a-microsoft-virtual-hard-drive-vhd-file/
- Mount the VHD in Windows 7/2008 using Disk Management Tools (or DISKPART)
- Defragment the drive, makeing sure the free space is also defragmented (UltraDefrg in Optimize mode is a good free tools for this)
- Resize the main parition using Disk Management Tools (or DISKPART)
- Unmount the VHD Drive