Virtual Machine "Devil slimming"

Source: Internet
Author: User

The capacity of the Microsoft Virtual PC Virtual disk is dynamically allocated. After a period of operation, we will find that the Virtual hard disk files (*. vhd) stored on the host are increasing. In this case, the most effective way to "lose weight" for virtual machines is to use the Microsoft compression tool Precompact, Which is http://www.loveyuki.com/attachments/month_0411/sphw_precompact.zip.

Step 1: Start Virtual PC and run the specified Virtual machine. after entering the system interface, move the precompact.exe file downloaded to the local machine to the Virtual machine through the shared folder, run the main program, and perform the compression operation (1 ).


Step 2: After the installation is complete, click "Yes" in the prompt dialog box that appears, and then close the VM. After that, call the "Virtual PC console" and click "File> Virtual hard disk wizard" in the menu bar ".

Step 3: Select "edit an existing virtual hard disk" on the "Hard Disk options" page ".

Step 4: select the path of the virtual hard disk file on the "virtual hard disk to be edited" page.

Step 5: Select "compression" (2) on the "virtual hard disk information and options" page ).



Step 6: choose whether to replace the original file or save the compressed Dynamic Virtual Disk (if an error occurs during the compression operation, the virtual disk may be damaged, therefore, you can select as needed ).

Step 7: complete the settings and perform the compression operation. Depending on the size of the virtual hard disk, this process may take several minutes.

After compression, we will find that the pre-compression and post-compression capacity of virtual hard disk files is "shrunk" to a certain extent ".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.