Zeroing free space before compacting...

Discussion in 'Virtual PC' started by Brian, Oct 27, 2004.

  1. Brian

    Brian Guest

    The VPC 2004 help says that you should "zero the free space" on the VHD
    before compacting it, with a 3rd party tool.

    Ok, anybody have a recomendation on what tool I can use on Win95b?


    Brian, Oct 27, 2004
    1. Advertisements

  2. Hi,

    If you have VPC SP1 (highly recommended) then use the tool VPC comes with:

    --Jonathan Maltz [Microsoft MVP - Windows Server - IIS, Virtual PC] - A Windows Server 2003 visual, step-by-step
    tutorial site :) - Does <insert OS name> work on VPC 2004? Find out
    Only reply by newsgroup. I do not do technical support via email. Any
    emails I have not authorized are deleted before I see them.
    Jonathan Maltz [MS-MVP], Oct 27, 2004
    1. Advertisements

  3. From within your Win95 virtual machine:
    Step One: Defragment the drive with whatever defragmenter you normally
    use (or the system defragger).
    Step Two: Run the Precompactor (capture the .iso file from \Program
    Files\Microsoft Virtual PC\Virtual Machine Additions).
    Step Three: Close the Win95 virtual machine (and commit changes to disk if
    you are using undo disks).
    From the host:
    Step Four: Run the Virtual Disk Wizard, chose Edit an Existing Virtual
    Disk, browse to the Win95 virtual hard drive location, select Compact It,
    and choose a name and location to save the compacted virtual hard drive to.
    Step Five: After compaction is complete, point your Win95 virtual machine
    to it and make sure the drive is OK to use. If it is, delete the old .vhd
    Colin Barnhorst, Oct 27, 2004
  4. Brian

    Steve Jain Guest

    You should disable your undo drives before you do any defragging,
    since you're not changing the original drive.

    Step 3 should be first, then defrag, then precompact, then compact.

    Steve Jain, Microsoft MVP for Virtual PC for Windows
    *** All posts are provided AS-IS, no warranty, no QoS ***
    Steve Jain, Oct 27, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.