Monday, August 22, 2016

Windows Deployment - Back to Basics - DISM - Drivers Management

Here's a post just to review some basic DISM (Deployment Image Servicing and Management tool) commands that are always useful when managing your base image:

Injecting drivers to boot.wim
DISM.exe /Mount-Wim /WimFile:C:\Mount\boot.wim /Index:1 /MountDir:C:\Mount\BootWIM
DISM.exe /Image:C:\Mount\BootWIM /Add-Driver /Driver:C:\Mount\Drivers /recurse
DISM.exe /Unmount-Wim /MountDir:C:\Mount\BootWIM /Commit


Viewing drivers on wim file
DISM.exe /Mount-Wim /WimFile:C:\Mount\boot.wim /Index:1 /MountDir:C:\Mount\BootWIM
DISM.exe /image:C:\Mount\BootWim /Get-Drivers


No comments:

Post a Comment