Windows 7 Deployment Tools DISM Instance resolution

Source: Internet
Author: User
Tags command line versions

As you know, Windows Vista uses a wrapper tool that is ImageX, and the associated. wim file is the new image standard. As it is, the same image format, Microsoft launched a new packaging tool--dism in Windows 7. This tool is unfamiliar to most users, and this article will enumerate a few examples of the application of the DISM tool and experience this new image deployment tool.

1. Get DISM Command parameters

DISM has a number of command parameters that apply to different application requirements. Execute DISM/? On the command line of Windows 7. can get its command parameters, for easy viewing we can add the channel symbol after the command "DISM/? | More "displays its command parameters as pagination. One of our most common parameters is "/mount-win", "/unmount-win", "/remount-win", which is the role of the hook image, unload the image, remove the image directory. In addition, "/get-mountedwininfo" and "/get-wininfo" are information about the loaded image and the image file, which is important for image deployment. Of course, DISM has other, more complex parameters. You can understand the role of the following description, I do not enumerate, we started an example demo. (Figure 1)

Figure 1 DISM Command parameters

2. Get DISM Image information

We know that Windows 7 (Windows Vista is also) has an image that encapsulates all versions of the current system, first to determine which version is installed prior to system deployment, because the key you purchased can only be applied to a version, so getting the encapsulated information for the image is necessary. Perform "Dism/get-wininfo/wimfile:c:\test\images\install.wim" at the command line. It is important to note that the above command/get-wininfo is the key parameter, which is to obtain the encapsulated information of the image;/WimFile: The path to the image file is followed by the parameter. After the command is executed, we can see that there are 4 system versions encapsulated in the system image, namely Homebasic (Home normal edition), Homepremive (Home Advanced edition), BUSINESS (Commercial edition), Ultimate (flagship edition). At the same time, we can see the size of each version. (Figure 2)

Figure 2 Getting the DISM image information

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.