Hyper-V reduces windows 7 installation Mirror Volume

Source: Internet
Author: User
Tags file copy

Although Microsoft Official information does not recommend the use of dynamic expansion or differential disks in a production environment, we do not have much performance difference in some specific environments. These two days I am making a customized version of the Windows 7 installation image, which requires the use of WDS server to facilitate my testing. However, it is found that the VHD volume of the virtual machine is growing after multiple file copy deletion and editing operations on WDS, even if I restart or shut down the virtual machine, I cannot reclaim those lost capacity. Eventually this VHD takes up most of my space! I thought of the VHD editing tool provided by Hyper-V, which allows me to compress, convert, or extend the VHD. After compressing the corresponding VHD for the WDS server, the VHD is reduced from the 30G volume to 16G, an amazing number! An effective solution! Do not dare to enjoy, special Blog a text to share with you! The specific steps are as follows:

Open Hyper-V Manager first, select the virtual machine you want to edit, and then right-click to select Settings, select the disk drive you want to compress in the form on the right, and then click Edit in the form on the right, and you will see the following illustration, and select Compress to follow the wizard.

After compacting, you will find that the VHD frees up a considerable amount of capacity, but you need to be aware that the virtual machine must be shut down when performing these operations!

Related Article

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.