How to Deploy DisplayLink INF Drivers to Install.wim Windows 10 Image with DISM
The following article describes how to inject DisplayLink INF Driver files into an Install.wim for DisplayLink driver slip-streaming into a deployment image.
This guide assumes that the following has been done:
- Extract Windows 10 ISO to Folder
- Convert Install.esd in
[Extracted ISO Folder]\Windows\sources
to Install.wim - Replace Install.esd in
[Extracted ISO Folder]\Windows\sources
with Install.wim - Open an elevated CMD prompt
Then enter the following commands substituting your folder paths where applicable.
Mount Install.wim
dism.exe /Mount-WIM /WimFile:"[Location of Install.wim]" /index:1 /MountDir:"[Location of Mount Directory]"
Inject INF Drivers:
In this example we are deploying to Windows 10 x64 so we will use the INF drivers in the following location
"DisplayLink USB Driver Package for Windows Preinstall (.INF) 9.X MX.zip\WinRS\x64"
dism.exe /image:"[Location of Mount Directory]" /Add-Driver /driver:"
[Location of INF Driver Files]" /recurse
Unmount Install.wim
dism.exe /Unmount-wim /mountdir:"[Location of Mount Directory]" /commit
Now you are able to package up the files in the Extracted ISO Folder and deploy using your preferred deployment method, ISO or via another deployment tool.
Note: Please ensure that DISM is updated to a version that matches or exceeds the OS you are deploying or drivers may not install correctly.