Disk image not compacting fully in Virtual PC 2007

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?
LVL 1
Microsoft_BobAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Microsoft_BobAuthor Commented:

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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Virtual Server

From novice to tech pro — start learning today.