Version 4 (modified by on Jun 10, 2013 at 1:23:04 PM) ( diff ) | ,
---|
dism
Enable- and disable Windows features, in installer image or on running system.
- OPSI and usage example:
- Command line options:
add/remove custom drivers
# 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:\drivers /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
Note:
See TracWiki
for help on using the wiki.