What are the possible reasons why Hyper-V can’t compact a VHD?

listed in answer

What are the possible reasons why Hyper-V can’t compact a VHD?
0 votes, 0.00 avg. rating (0% score)

ANSWER:

remove the shadow copies. that will do it!

vssadmin delete shadows /all

by tony roth from http://serverfault.com/questions/358953