



Note: In Linux VM’s you’ll want to run this command, replacing with the actual path of the storage: dd if=/dev/zero of=//zeroes bs=4096 & rm -f //zeroes Download SDelete onto the VM you want to shrink and run the following command, replacing with the actual drive letter to be reduced: sdelete.exe -z.A simple way of doing this is by using a free utility called SDelete from Sysinternals. While there isn’t a simple, one click button in the View Administrator Console there is a fairly easy manual method using vmfkstools.īefore we can use “vmkfstools” to shrink the VMDK file we must zero out any unused space on the thin provisioned disk. When maintaining a Horizon View environment I like to keep my parent images as small as possible and over time a thin provision disk can start to grow on you if you don’t watch it – be it from downloading installers, updates, or even running disk defrag.
