wiki:opsi/dism

Version 3 (modified by joergs, on Jun 10, 2013 at 1:15:01 PM) ( diff )

--

dism

Enable- and disable Windows features, in installer image or on running system.

add/remove custom drivers

# Image Info
Dism /Get-ImageInfo /ImageFile:C:\test\images\install.wim

# mount
Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Name:"Windows Drive" /MountDir:C:\test\offline

# get driver info
Dism /Image:C:\test\offline /Get-Drivers 

# add driver (single)
Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf

# add all driver from directory
Dism /Image:C:\test\offline /Add-Driver /Driver:c:\drivers /Recurse

# add unsinged driver
Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf /ForceUnsigned

# remove custom driver
Dism /Image:C:\test\offline /Remove-Driver /Driver:OEM1.inf /Driver:OEM2.inf

# umount and commit
dism /unmount-wim  /mountdir:c:\winpe64\mount /commit
Note: See TracWiki for help on using the wiki.