Cannot Compact VHD Due To File System Limitation

Very likely, deleting your shadow copies on guest machine will help.

I just disabled shadow copy on C: and it worked for me on Windows 2008 R2 + SP1.

More information here.