Microsoft 365 Endpoint AdministratorDeploy Windows client (25-30%)Hard

An IT administrator is preparing a custom Windows 11 image for deployment using Microsoft Deployment Toolkit (MDT). The image needs to include specific drivers for a new line of laptops and several mandatory applications. The administrator wants to modify the image (.WIM file) directly without performing a full installation and re-capture. Which DISM command-line operation should be used to add drivers and applications to the offline image?

  1. ADISM /Apply-Image /ImageFile:path\install.wim /Index:1 /ApplyDir:C:\
  2. BDISM /Add-Driver /Image:C:\Mount /Driver:path\driver.inf
  3. CDISM /Mount-Image /ImageFile:path\install.wim /Index:1 /MountDir:C:\Mount
  4. DDISM /Add-Package /Image:C:\Mount /PackagePath:path\app.msi
Show answer & explanation

Correct answer: C. DISM /Mount-Image /ImageFile:path\install.wim /Index:1 /MountDir:C:\Mount

To modify a .WIM file directly, it must first be mounted to a local directory using `DISM /Mount-Image`. Once mounted, other DISM commands (like /Add-Driver or /Add-Package) can be used to inject drivers and packages into the offline image.

Why the other options are wrong

  • A. This command applies an image to a drive, which is for deployment, not for modifying the image itself.
  • B. This command adds a driver, but it requires the image to be already mounted, so it's a subsequent step, not the initial action to enable modification.
  • D. This command adds a package (like an update or feature), but it also requires the image to be already mounted.

DISM Image Mounting

The process of making a Windows Imaging Format (.WIM) file accessible for offline servicing by mounting its contents to a local folder, allowing for direct modification.

  • Required first step for offline WIM modification.
  • Uses `DISM /Mount-Image` command.
  • Allows injection of drivers, updates, and packages.

Memory trick: Mount the image, then modify.

More Deploy Windows client (25-30%) questions