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?

    Thx.

    Brian
     
    Brian, Oct 27, 2004
    #1
    1. Advertisements

  2. Hi,

    If you have VPC SP1 (highly recommended) then use the tool VPC comes with:
    http://download.microsoft.com/downl...fb-9add-95ceab6eb5cc/readmesp1.htm#precompact

    --
    --Jonathan Maltz [Microsoft MVP - Windows Server - IIS, Virtual PC]
    http://www.visualwin.com - A Windows Server 2003 visual, step-by-step
    tutorial site :)
    http://vpc.visualwin.com - Does <insert OS name> work on VPC 2004? Find out
    here
    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
    #2
    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
    file.
     
    Colin Barnhorst, Oct 27, 2004
    #3
  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
    Website: http://www.essjae.com
    *** All posts are provided AS-IS, no warranty, no QoS ***
     
    Steve Jain, Oct 27, 2004
    #4
    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.