&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Mirrored deployment and management tools in Microsoft Windows typically include ImageX, pkgmgr, peimg, Intlcfg, but using these tools to correct or alter a created mirror is cumbersome, and the first is that you need to know when and which tool to use, There are a number of steps to follow, but with mirrored deployment and management tools, all of these tools are integrated and functional.
Mirrored deployment and management tools in Windows 7, English full name: Deployment Imaging and Management, short: DISM.
First step, turn on DISM:
Before you can use the DISM command to first start the tool, the simple "Begin-run-cmd-enter" does not work, you need to do the following "Start-run-cmd-shift+ctrl+enter" or click "Start" to enter CMD, Right click and select Run as Administrator when Cmd appears in the Search box.
After you do this, you will see that the title bar prefix is administrator in the open window.
DISM has a number of command parameters that can be used for different operational requirements, type "dism/?" You can view all DISM directives.
Use DISM to get basic information:
After you start DISM, you can take a look at the basic information that is currently running the operating system, perform "dism/online/get-currentedition", and/online is the key parameter to perform the operation on the current version. The Get-currentedition command tells DISM we want to view the current version of the information, and the results of the command execution appear as follows:
Deployment Image Servicing and Management tool
version:6.1.7100.0
Image version:6.1.7100.0
Current edition is:
Current Edition:ultimate
The twist completed successfully.
In a further step, because Windows 7 has several different versions, users have many upgrade options, and if you run "dism/online/get-targeteditions" you can see what other versions the current version can be upgraded to, if the machine is already running Windows 7 Ultimate, then DISM informs the user that you have no upgrade options:
Deployment Image Servicing and Management tool
version:6.1.7100.0
Image version:6.1.7100.0
Editions that can is upgraded to:
The current edition cant is upgraded to any target editions. )
The twist completed successfully.
To modify a system using DISM:
In addition to querying system information, another very useful feature of DISM is that it can perform operations on "online" mirroring as well as live mirrors, meaning that we can use DISM to modify a running operating system.
For example, Windows 7 includes many games and features that may not be needed by enterprise users, and you can use DISM to remove these features when the system is running. First, let's take a look at what the system has installed, which are allowed to change, perform "Dism/online/get-features|more", and the get-features instructions will show all the features currently installed, |more just page out the results for easy viewing, Users find what they want to remove from the list of output results:
...
Feature Name:freecell
State:enabled
Feature Name:minesweeper
State:enabled
Feature Name:purbleplace
State:enabled
...
If you want to remove or disable these currently enabled features, simply use a simple DISM command, type "dism/online/disable-feature/featurename:xxx" and XXX to enter the function you want to remove in the list, For example, if you want to disable Purbleplace, then execute "dism/online/disable-feature/featurename:purbleplace" and the result of the command execution is:
Deployment Image Servicing and Management tool
version:6.1.7100.0
Image version:6.1.7100.0
Disabling feature (s)
[=======================100.0%=======================]
The twist completed successfully.
Check to see if the feature is disabled, perform "dism/online/get-featureinfo/featurename:purbleplace", and the results of the command execution appear as follows:
Deployment Image Servicing and Management tool
version:6.1.7100.0
Image version:6.1.7100.0
Feature Information:
Feature Name:purbleplace
Display Name:purble Place
Description:purble Place
Restart Required:possible
State:disabled
Custom Properties:
(No custom properties found)
The twist completed successfully.
You can see "state:disabled", which means that the previously executed disable command for the feature has been in effect, and if you want to re-enable it, just execute "dism/online/enable-feature/featurename: Purbleplace, DISM will revert to this feature in a similar step:
Deployment Image Servicing and Management tool
version:6.1.7100.0
Image version:6.1.7100.0
Enabling feature (s)
[=======================100.0%=======================]
The twist completed successfully.