February 6, 2020


When it’s done, shut down the VPC. I had a look at the sdelete’s help:. Contango Contango 3 3 gold badges 11 11 silver badges 31 31 bronze badges. Finally, after booting the Guest machine, I explore through My Computer and I see the hoped for additional drive as the D: Select Hard Disk 1.


Uploader: Dikree
Date Added: 14 February 2013
File Size: 33.50 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 3922
Price: Free* [*Free Regsitration Required]

Contango Contango 3 3 precompact.wxe badges 11 11 silver badges 31 31 bronze badges. Right-click the desktop, and then click Properties. Only local virtual disks may be renamed.

Click Edit an existing virtual diskand then click Next. For a better experience, please enable JavaScript in your browser before proceeding. If you have a GB disk that is not full and uses only 30GB on the host, zero filling should not increase dramatically the size of the disc because that contradicts the purpose of dynamic allocation.

Hyper-V How To: Shrink a VHD File

It will really help a lot of people. The command you want would look like this sdelete -z c: It’s used to turn all available free space into zeroes in preperation for the shrink operation. Other Performance Tips Disable all visual enhancements 1.



Here’s what I ran from the command line:. Failed to read configuration file. It only takes a minute to sign up.

Merrick Chaffer’s Blog: How to Tune Up a Virtual PC

Let this process go for awhile. Make precopmact.exe all are enabled. For Linux I suggest you use zerofree. So the complete command would be: Total of free bytes: Shut down the VM. If the volume is in use like the C: You must log in or register to reply here.


Our first guest post http: Running Precompact about 10 minutes 1. Select the Advanced tab.


I wonder whether it’s possible to detect when it’s finished writing zeros and then make it abort On the Troubleshoot tab, move the Hardware acceleration slider to Full. Server Fault is a question and answer site for system and network administrators. Asked 9 years, 2 months ago.

Compacting .vhd Files

Preferably create the new disk on another disk then the C: Click Replacing the original fileand then click Next. This is only grayed out if you haven’t precompact.xee the previous two steps or if you don’t have the right processor.


Improving the question-asking experience. But this is totally OT, the question was not about who writes it. I used this to reduce the size of the virtual disk from 28 gigabytes down to 13 gigabytes.

Running defrag and precompacting are done inside the VPC. For local destination disks the disk type must be specified. I have the impression this does what I want.