= dism = [[PageOutline]] Enable- and disable Windows features, in installer image or on running system. * OPSI and usage example: * https://forum.opsi.org/wiki/userspace:remote_server_administration_tools_-_rsat * Command line options: * http://technet.microsoft.com/en-us/library/hh825265.aspx == add/remove custom drivers == * http://technet.microsoft.com/en-us/library/hh825070.aspx {{{ # set variables # in this example: winpe 3.x, 64bit, boot set wim=c:\winpe64\ISO\sources\boot.wim set md=c:\winpe64\mount # Image Info Dism /Get-ImageInfo /ImageFile:%wim% # mount dism /Mount-Wim /WimFile:%wim% /index:1 /MountDir:%md% # get driver info Dism /Image:%md% /Get-Drivers # add driver (single) Dism /Image:%md% /Add-Driver /Driver:C:\drivers\mydriver.inf # add all driver from directory Dism /Image:%md% /Add-Driver /Driver:c:\winpe64\driver\intel-nic /Recurse # add unsinged driver Dism /Image:%md% /Add-Driver /Driver:C:\drivers\mydriver.inf /ForceUnsigned # remove custom driver Dism /Image:%md% /Remove-Driver /Driver:OEM1.inf /Driver:OEM2.inf # umount and commit dism /unmount-wim /mountdir:%md% /commit }}}