You are on page 1of 12

Error: 87

A required option is missing from the command-line. Ensure that /index or /name is specified.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>DISM /Mount-Wim /WimFile:D:\RemoteInstall\Boot\x86\Images\Boot.wim /Name:2 / MountDir:D:\MountedImages

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Error: 0xc1510113

The specified image does not exist in the WIM. Check the WIM first for existing images.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>DISM /Mount-Wim /WimFile:D:\RemoteInstall\Boot\x86\Images\Boot.wim /Name:"2" /MountDir:D:\MountedImages

Deployment Image Servicing and Management tool

Version: 6.1.7600.16385

Error: 0xc1510113

The specified image does not exist in the WIM. Check the WIM first for existing images.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>DISM /Mount-Wim /WimFile:D:\RemoteInstall\Boot\x86\Images\Boot.wim / 2 /Mount Dir:D:\MountedImages

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Error: 87

The /2 option is not recognized in this context. For more information, refer to the help.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>DISM /Mount-Wim /WimFile:D:\RemoteInstall\Boot\x86\Images\Boot.wim 2 /MountD

ir:D:\MountedImages

Error: 87

DISM doesn't recognize the command-line option "2". For more information, refer to the help by running DISM.exe /?.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>DISM /Mount-Wim /WimFile:D:\RemoteInstall\Boot\x86\Images\Boot.wim /Name:"Mi crosoft Windows Setup" /MountDir:D:\MountedImages

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Error: 0xc1510113

The specified image does not exist in the WIM. Check the WIM first for existing images.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>DISM /Mount-Wim /WimFile:D:\RemoteInstall\Boot\x86\Images\Boot.wim /Name:"Mi crosoft Windows Setup <x86>" /MountDir:D:\MountedImages

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Error: 0xc1510113

The specified image does not exist in the WIM. Check the WIM first for existing images.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>DISM /Mount-Wim /WimFile:D:\RemoteInstall\Boot\x86\Images\Boot.wim /Name:"Mi crosoft Windows PE <x86>" /MountDir:D:\MountedImages

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Error: 0xc1510113

The specified image does not exist in the WIM. Check the WIM first for existing images.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>DISM /?

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

DISM.exe [dism_options] {WIM_command} [<WIM_arguments>] DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options] {servicing_command} [<servicing_arguments>]

DESCRIPTION:

DISM enumerates, 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.

WIM COMMANDS:

/Get-MountedWimInfo /Get-WimInfo /Commit-Wim /Unmount-Wim /Mount-Wim /Remount-Wim /Cleanup-Wim

- Displays information about mounted WIM images.

- Displays information about images in a WIM file. - Saves changes to a mounted WIM image. - Unmounts a mounted WIM image. - Mounts an image from a WIM file. - Recovers an orphaned WIM mount directory. - Deletes resources associated with mounted WIM images that are corrupt.

IMAGE SPECIFICATIONS:

/Online /Image

- Targets the running operating system. - Specifies the path to the root directory of an offline Windows image.

DISM OPTIONS:

/English /Format /WinDir /SysDriveDir

- Displays command line output in English. - Specifies the report output format. - Specifies the path to the Windows directory. - Specifies the path to the system-loader file named BootMgr.

/LogPath /LogLevel /NoRestart /Quiet /ScratchDir

- Specifies the logfile path. - Specifies the output level shown in the log (1-4). - Suppresses automatic reboots and reboot prompts. - Suppresses all output except for error messages. - Specifies the path to a scratch directory.

For more information about these DISM options and their arguments, specify an option immediately before /?.

Examples: DISM.exe /Mount-Wim /? DISM.exe /ScratchDir /?

DISM.exe /Image:C:\test\offline /? DISM.exe /Online /?

C:\>DISM /Unmount-Wim

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Error: 87

The command-line is missing the /mountdir option. For more information, refer to the help.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>DISM /Mount-Wim /?

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

/Mount-Wim /WimFile:<path_to_WIM_file> {/Index:<image_index> | /Name:<image_name>}

/MountDir:<target_mount_directory> [/readonly]

Mounts the WIM file to the specified directory so that it is available for servicing. /ReadOnly sets the mounted image with read-only permissions.

Examples: DISM.exe /Mount-Wim /WimFile:C:\test\images\myimage.wim /index:1 /MountDir:C:\test\offline

DISM.exe /Mount-Wim /WimFile:C:\test\images\myimage.wim /index:1 /MountDir:C:\test\offline /ReadOnly

C:\>DISM /Cleanuo-Wim

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Error: 87

The cleanuo-wim option is unknown. For more information, refer to the help by running DISM.exe /?.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>DISM /Cleanup-Wim

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Scanning drive C for stale files Scanning drive D for stale files The operation completed successfully.

C:\>DISM /Get-WimInfo /WimFile:D:\RemoteInstall\Boot\x86\Images\boot.wim

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Details for image : D:\RemoteInstall\Boot\x86\Images\boot.wim

Index : 1 Name : Microsoft Windows PE (x86) Description : Microsoft Windows PE (x86) Size : 807,709,426 bytes

Index : 2 Name : Microsoft Windows Setup (x86) Description : Microsoft Windows Setup (x86) Size : 888,057,845 bytes

The operation completed successfully.

C:\>DISM /Get-mountedWimInfo

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Mounted images:

No mounted images found.

The operation completed successfully.

C:\>DISM /Mount-Wim /WimFile:D:\RemoteInstall\Boot\x86\Images\boot.wim /Index:2 Mountdir:D:\MountedImages

Error: 87

DISM doesn't recognize the command-line option "Mountdir:D:\MountedImages". For more information, refer to the help by running DISM.exe /?.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>DISM /Mount-Wim /WimFile:D:\RemoteInstall\Boot\x86\Images\boot.wim /Index:2 /Mountdir:D:\MountedImages

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Mounting image [==========================100.0%=============== ===========] The operation completed successfully.

C:\>DISM /Image:D:\MountedImages /add-driver /driver:D:\Drivers\NIC\8100\NDIS5x\ e1k5132.inf

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Image Version: 6.1.7601.17514

Found 1 driver package(s) to install. Installing 1 of 1 - D:\Drivers\NIC\8100\NDIS5x\e1k5132.inf: The driver package w as successfully installed. The operation completed successfully.

C:\>DISM /unmount-wim /mountdir:D:\MountedImages /commit

Deployment Image Servicing and Management tool Version: 6.1.7600.16385

Image File : D:\RemoteInstall\Boot\x86\Images\boot.wim Image Index : 2 Saving image [==========================100.0%=============== ===========] Unmounting image [==========================100.0%=============== ===========]

Error: 0xc1420117

The directory could not be completely unmounted. This is usually due to applica tions that still have files opened within the mount directory. Close these file s and unmount again to complete the unmount process.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\>

You might also like