Hi,
Thank you for your posting!
Based on your condition, I would like to firstly check:
what is your Hyper-V host version and what is your guest VM version?
This information is useful to make sure that you can conduct the following options.
Secondly, for shrinking a fixed VHD disk, I suppose I can offer you two ways to complete your task:
1) Create a new smaller fixed vhd and go to Hyper-V Manager>> Edit disk >> Convert, to copy your original vhd to the new smaller one. Microsoft does offer command Resize-VHD, while for shrinking a disk, it only supports vhdx, vhd file can only use this command for expanding. Besides, I think compacy option and Diskpart tool are not what you want since they only compact your file size of your vhd while the storage capacity of your vhd remains the same. In addition, compact option only works for dynamic vhd.
2) You can always choose to use some third-party tools to help you shrink your fixed vhd.
Thank you for your support and understanding! Hope you have a nice day! : )
Best regards
Joan
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.