Deployment Image Servicing and Management (DISM.exe) installs, uninstalls, configures, and updates the features and packages in office Windows images and offline Windows Preinstallations Environment (Windows PE) images. The commands and options that are available for servicing an images depend on which Windows operating system you are servicing (Windows 7, Windows Vista with Service Pack 2 (SP2), Windows Vista with Service Pack 1 (SP1), Windows Server 2008 R2, Windows Server 2008, or Windows PE), and whether the image is offline or a running operating system. All commands work on an offline Windows image. Very few or subsets of the commands are available for servicing a running operating system.
A windows image is made available for servicing by mounting the image or specifying a running operating system. The servicing command-line options work individually and cannot be used in combination with other servicing command-line options. .
DISM tool is part of WINDOWS AIK Tool kit (Click here to know more about WAIK Tool)
USAGE:
This tool is used in a scenario where the WIM file already exist and only some modification like adding drivers, package, updates or enabling/disabling feature is required.
DESCRIPTION:
DISM enumerates (meaning lists), installs, uninstalls, configures, and updates features and packages in Windows images. The commands that are available depend on the image being serviced and whether the image is offline or running.
Limitations :
Remote Installation: Installing packages to a remote computer over a network is not supported. The windows image must be present on the local system. DISM can access packages on a network share, but it must copy them to a temporary, writable directory (called a scratch directory). We recommend using a unique scratch directory on local drive for each package you install. The contents of the scratch directory can be deleted after installation.
Answer files. When you specify an answer file (Unattend.xml) for an image, only the settings specified in the offlineServicing configuration pass are applied. All other settings in the answer file are ignored. For more information, see DISM Unattended Servicing Command-Line Options
Version compatibility. DISM can be used with target images of older Windows operating systems, but not with target images of operating systems that are more recent than the installed version of the Windows ADK in which DISM is distributed.
Service Packs. Service packs must be installed online with the Windows Update Standalone installer. For more information about Windows Update Standalone Installer, see Description of the Windows Update Standalone Installer in Windows.
Use an answer file to ensure package dependencies. Some packages require other packages to be installed first. Because of this dependency requirement, you should use an answer file if you are installing multiple packages. By applying an answer file by using DISM, multiple packages can be installed in the correct order. This is the preferred method for installing multiple packages.
Package installation order. Packages are installed in the order that they are listed in the command line. In the following example, 1.inf, 2.inf, and 3.inf will be installed in the order in which they are listed in the command line.
Supported servicing commands are dynamic. The commands and options that are available for servicing an image depend on which Windows operating system you are servicing, and whether the image is offline or a currently running operating system.
Multiple unattend files are not supported. You can specify more than one driver or package on a command line. However, multiple Unattend.xml answer files are not supported. Only a single answer file may be specified on any command line.
Multiple servicing commands are not supported. You can specify multiple drivers (1.inf, 2.inf) or packages, but you cannot specify multiple commands (such as /Add-Driver/Remove-Driver or /Add-Driver/Add-Package) on the same command line.
Logging to a network share. When you use a computer that is not joined to a network domain, use net use with domain credentials to set access permissions before you specify the path for the DISM log that is stored on a network share.
Wildcards. Wildcards are not supported in DISM command lines.
Do not install a language pack after an update. If you install an update (hotfix, general distribution release [GDR], or service pack [SP]) that contains language-dependent resources before you install a language pack, the language-specific changes that are contained in the update are not applied. Always install language packs before you install updates
A windows image is made available for servicing by mounting the image or specifying a running operating system. The servicing command-line options work individually and cannot be used in combination with other servicing command-line options. .
DISM tool is part of WINDOWS AIK Tool kit (Click here to know more about WAIK Tool)
USAGE:
This tool is used in a scenario where the WIM file already exist and only some modification like adding drivers, package, updates or enabling/disabling feature is required.
DESCRIPTION:
DISM enumerates (meaning lists), installs, uninstalls, configures, and updates features and packages in Windows images. The commands that are available depend on the image being serviced and whether the image is offline or running.
Limitations :
Remote Installation: Installing packages to a remote computer over a network is not supported. The windows image must be present on the local system. DISM can access packages on a network share, but it must copy them to a temporary, writable directory (called a scratch directory). We recommend using a unique scratch directory on local drive for each package you install. The contents of the scratch directory can be deleted after installation.
Answer files. When you specify an answer file (Unattend.xml) for an image, only the settings specified in the offlineServicing configuration pass are applied. All other settings in the answer file are ignored. For more information, see DISM Unattended Servicing Command-Line Options
Version compatibility. DISM can be used with target images of older Windows operating systems, but not with target images of operating systems that are more recent than the installed version of the Windows ADK in which DISM is distributed.
Service Packs. Service packs must be installed online with the Windows Update Standalone installer. For more information about Windows Update Standalone Installer, see Description of the Windows Update Standalone Installer in Windows.
Use an answer file to ensure package dependencies. Some packages require other packages to be installed first. Because of this dependency requirement, you should use an answer file if you are installing multiple packages. By applying an answer file by using DISM, multiple packages can be installed in the correct order. This is the preferred method for installing multiple packages.
Package installation order. Packages are installed in the order that they are listed in the command line. In the following example, 1.inf, 2.inf, and 3.inf will be installed in the order in which they are listed in the command line.
DISM.exe /image:"c:\images\Image1" /Add-Driver /ForceUnsigned /DriverName:
"C:\Drivers\1.inf" /DriverName:"C:\Drivers\2.inf" /DriverName:"C:\Drivers\3.inf"
Supported servicing commands are dynamic. The commands and options that are available for servicing an image depend on which Windows operating system you are servicing, and whether the image is offline or a currently running operating system.
Multiple unattend files are not supported. You can specify more than one driver or package on a command line. However, multiple Unattend.xml answer files are not supported. Only a single answer file may be specified on any command line.
Multiple servicing commands are not supported. You can specify multiple drivers (1.inf, 2.inf) or packages, but you cannot specify multiple commands (such as /Add-Driver/Remove-Driver or /Add-Driver/Add-Package) on the same command line.
Logging to a network share. When you use a computer that is not joined to a network domain, use net use with domain credentials to set access permissions before you specify the path for the DISM log that is stored on a network share.
Wildcards. Wildcards are not supported in DISM command lines.
Do not install a language pack after an update. If you install an update (hotfix, general distribution release [GDR], or service pack [SP]) that contains language-dependent resources before you install a language pack, the language-specific changes that are contained in the update are not applied. Always install language packs before you install updates
No comments:
Post a Comment