I’ve installed Windows 7 on VHD a couple of years ago and now I need some extra free space to install program. So I have to extend my VHD disk and the partition.
This can be done from another Windows operating system with the diskpart command.
select vdisk file=C:\win7.vhd
expand vdisk maximum=204800
select volume #
If needed we can check the statuses of disks and volumes by entering additional commands
I think it would be possible to run the Windows installation disk, open Command Prompt by pressing Shift+F10 and make all the steps listed above.