http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/06/11/hyper-v-script-compact-vhd.aspx Please Share This Share this content Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window You Might Also Like How to reset the UUID for a Virtual Hard Drive November 15, 2010 Lanuching Visual Studio Android Emulator from the command line July 9, 2015 Improving Performance of your Virtual Machine July 25, 2012