I need to shrink a VHD in place because almost all my system's free disk space is trapped in the unused part of the VHD. I can't use any of these methods because they all involve creating a new VHD file beside the existing one and I don't have enough free disk space outside the VHD to so so.
NTFS has built in disk compression. If you were to compact the VHD, and then compress the folder it is contained it, the free space would compress really well. To compress a folder you just right click on it in windows explorer and select