Disk image not compacting fully in Virtual PC 2007

Posted on 2008-02-04
Medium Priority
Last Modified: 2012-06-27
I created a virtual machine and installed Windows XP SP2 and then made a backup file of the image, which was 1.4 GB.  I then downloaded all Windows updates and installed them, then deleted a whole bunch of stuff that I didn't need from the image.  Then, I ran Precompactor, and then compact on the disk image.  The image is 2 GB, even though the files on the hard drive only add up to 1.45 GB.  So I'm wasting 600 MB of disk space.  I even ran Defragment on the virtual drive.

This makes no sense to me.  Why is the disk image taking up so much more room?
Question by:Microsoft_Bob
1 Comment

Accepted Solution

Microsoft_Bob earned 0 total points
ID: 20815462

Well, I solved my own problem, although I don't fully understand why it worked.

I created a disk image of the virtual disk using Ghost, then immediately wrote that image back onto the virtual disk.  Then, after running precompactor and compact, the size was down to 1.45 GB.  I'm not sure why this would occur, because all it seems to have done was de-fragment the free space on the virtual drive, not actually reduce data stored on it.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction There are many ways to achieving a goal - some are wrong, some are right - and some just appear to be right, but are wrong.  Hyper-V Clustering and VMM has taught me all three, and I'm here to share with you how to avoid the pitfalls…
Why should I virtualize?  It’s a question that’s asked often enough.  My response is usually “Why SHOULDN’T you virtualize?”
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question