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

An IT administrator is troubleshooting a Windows 11 device that experiences intermittent crashes and performance degradation. Event Viewer logs show errors related to specific device drivers. The administrator wants to update these drivers but needs to extract them from a driver package (.inf, .sys, .cat files) and add them to an offline Windows 11 image (.wim file) before deploying it to other problematic machines. Which DISM command should the administrator use to add the drivers to the offline image?

  1. ADISM /Apply-Image /ImageFile:"C:\Images\os.wim" /Index:1 /ApplyDir:C:\
  2. BDISM /Add-Package /PackagePath:"C:\Drivers\newdriver.cab"
  3. CDISM /Add-ProvisionedAppxPackage /PackagePath:"C:\Apps\newapp.appx"
  4. DDISM /Add-Driver /Driver:"C:\Drivers\newdriver.inf"
Show answer & explanation

Correct answer: D. DISM /Add-Driver /Driver:"C:\Drivers\newdriver.inf"

The `DISM /Add-Driver` command is specifically used to add device drivers (specified by their .inf file) to an offline Windows image, ensuring they are available when the operating system is deployed or updated.

Why the other options are wrong

  • A. `DISM /Apply-Image` is for deploying an entire WIM image to a drive, not for adding components to an existing image.
  • B. `DISM /Add-Package` is used for adding Windows update packages (.cab or .msu), not raw driver files.
  • C. `DISM /Add-ProvisionedAppxPackage` is used for adding Universal Windows Platform (UWP) apps, not drivers.

DISM /Add-Driver

A DISM command-line option used to inject device drivers into an offline Windows image (.wim file) or a running Windows installation, making them available for hardware detection and installation.

  • Adds .inf-based drivers to a Windows image.
  • Can be used for mounted offline images or online systems.
  • Ensures necessary drivers are present during OS deployment.
  • Supports adding multiple drivers from a folder using `/Recurse`.

Memory trick: DISM adds drivers to offline images, making the OS hardware-ready.

More Deploy Windows client (25-30%) questions