Friday, December 19, 2008

More virtaul stuff

But this time it's more of a maintanance thing.
Do have a problem with ever growing virtual disks, even if you delete files from within the VM?
Here's a tip for you (what I'v just done to save som space):
  1. Run cleanmgr.exe from command prompt, and clean out all you want (I reccomend NOT to compress, as this often really slows down your computer). And be sure to remove all system restores (If you haven't been smart to disable it all to gether. SR is a disk hogger)
  2. Download the SDelete tool from sysinternals (Found on: http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx)
  3. Run SDelete -c -s -z within the machine (This will relly clean up your "empty" space)
  4. Shut down the VM, and run the VHD Wizard and select "compress"
This is of course not a one time job, and should be done on a regular basis if you're running out of disk space. But it'll be a while untill I have to do it again. I just cleaned up two machines, and saved 15 GIG of space on my laptop :)