官术网_书友最值得收藏!

Updating images

After the image has been mounted, the most frequent image servicing tasks are usually updating software and adding device drivers. DISM only supports device drivers that are made up of .inf files. Drivers in executable (.exe) files and Microsoft Windows Installer files (.msi) are not supported. When specified, the /Add-Driver switch needs the location information of the driver's information (.inf) file and adds the driver to the image. The /Recurse switch adds all the drivers that are found in a specified folder. The following command adds all drivers in the c:\drivers folder to the image that's mounted in the c:\mountedimage folder:

DISM.exe /image:c:\mountedimage /Add-Driver /driver:c:\drivers\ /recurse

If you prefer PowerShell, the equivalent command is as follows:

 Add-WindowsDriver -Path c:\mountedimage -Driver c:\drivers -Recurse 
主站蜘蛛池模板: 连山| 连城县| 泊头市| 舞钢市| 若羌县| 甘德县| 韩城市| 新兴县| 沛县| 华坪县| 许昌县| 常州市| 洪湖市| 布尔津县| 莫力| 美姑县| 惠来县| 敖汉旗| 桓台县| 镇宁| 宣武区| 靖江市| 定州市| 洞口县| 崇明县| 历史| 攀枝花市| 新沂市| 封丘县| 曲周县| 自贡市| 卢龙县| 芜湖县| 长丰县| 海伦市| 呈贡县| 五原县| 东平县| 马公市| 饶阳县| 灵丘县|