Home » Questions » Computers [ Ask a new question ]

How can I recover/compact space used by a Virtual PC virtual hard drive?

How can I recover/compact space used by a Virtual PC virtual hard drive?

I have a Windows 2003 Server setup in Virtual PC. I loaded it with VS2005, SQL Server etc., and the size of the VHD file was 15 GB. Over the months, I have tried various things including setting up replication etc., and now the size is 39 GB.

Asked by: Guest | Views: 163
Total answers/comments: 2
bert [Entry]

"You'll want to defragment the drive inside the virtual machine (to get everything in a logical order) and then compact the drive using Virtual PC. While I don't have Virtual PC installed here at work the directions on compacting a virtual hard drive are quite straight forward. Once you complete the compaction operation, the file should be the same size as the space actually used.

Of course, keep in mind that the drive will expand again as space is needed and won't shrink until another compaction is performed."
bert [Entry]

"my guess: Volume Shadow Copy (VSS) is the culprit.

read this article at asktheadmin.com:

Mysterious Server 2003 disk space consumption"