Compacting a virtual hard disk can use a large percentage of processor resources. We recommend that you do not perform this operation on a production computer. Compacting a virtual hard disk requires enough space to temporarily store the compacted file and the uncompacted file. This is because Virtual Server compacts a virtual hard disk by creating a new, compacted virtual hard disk and then deleting the original, uncompacted disk. If there is not enough space to complete the process, the problem is recorded in the Virtual Server event log.
You can see the details description in the following link https://technet.microsoft.com/en-us/l...
Watch video Hyper V Tutorials - 7 - How to Compact or Reduce size of Virtual Hard Disk (vhd ) in Hyper V online, duration hours minute second in high quality that is uploaded to the channel TechKENIN 02 September 2016. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 8,242 times and liked it 16 visitors.