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
推薦閱讀
- 傳感器技術(shù)應(yīng)用
- 大數(shù)據(jù)安全與隱私保護(hù)
- 可編程序控制器應(yīng)用實(shí)訓(xùn)(三菱機(jī)型)
- 單片機(jī)技術(shù)一學(xué)就會(huì)
- Python:Data Analytics and Visualization
- DevOps Bootcamp
- Chef:Powerful Infrastructure Automation
- 基于企業(yè)網(wǎng)站的顧客感知服務(wù)質(zhì)量評價(jià)理論模型與實(shí)證研究
- Ansible 2 Cloud Automation Cookbook
- 和機(jī)器人一起進(jìn)化
- INSTANT Adobe Story Starter
- 電動(dòng)汽車驅(qū)動(dòng)與控制技術(shù)
- JSP網(wǎng)絡(luò)開發(fā)入門與實(shí)踐
- 傳感器原理及應(yīng)用(第二版)
- 深度學(xué)習(xí)500問:AI工程師面試寶典