Dear Mark,
Thanks. It works.
Best regards,
Chan Choth
"Mark Rae [MVP]" <> wrote in message
news:...
> "Chan Choth" <> wrote in message
> news:%...
>
>> I read the document about VPC and it says as following.
>>
>> When you delete files from a virtual hard disk, the data associated with
>> these files is usually not removed. Instead, it is marked as available
>> for use by the operating system; data is not actually deleted until it is
>> overwritten.
>
> That applies to all disks, not just virtual disks - that's how undelete
> utilities work...
>
>> You must run a disk utility program to zero the deleted data before using
>> the compact option.
>>
>> I tried with CCleaner, TuneUp Utilities and Disk Cleanup but I could not
>> delete the zero files and it is sitll make my VHD file big even though I
>> have already many files. Could you please help me on this?
>
> CCleaner isn't designed to do what you want:
> http://www.ccleaner.com/features
>
> Neither is TuneUp Utilities:
> http://www.tune-up.com/products/tune...ties/features/
>
> And the built-in Disk Cleanup utility certain isn't:
> http://en.wikipedia.org/wiki/Disk_Cleanup
>
> You need a utility which will completely erase deleted files. Microsoft
> provide one for you - the Virtual Disk Precompactor. It's delivered as a
> CD image, so you need to capture it like any other CD.
>
> However, first you need to defragment the virtual disk that you want to
> compact.
>
> Then, navigate to the Virtual Disk Precompactor CD and run the Precompact
> utility.
>
> Finally, shut down the VM and run "Virtual Disk Wizard" from the VPC
> console to compact the VHD.
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net