Update a driver on the command line
Sometimes it can be usefull to update a driver using a batch file, either because you want a very small driver package (without having to run setup.exe) or because your OSD refuses to use the driver you want it to use.
devcon drivernodes * > drivers.txt
devcon updateni <inf> <hwid>
where <inf> is the .inf file of your driver and <hwid> is the hardware ID you found.
devcon updateni "driver.inf" "PCI\VEN_8086&DEV_24D5&SUBSYS_80F31043&REV_02"
You may have to reboot to see the changes.
When you use this in OSD, create a package with all the content (driver files, devcon.exe, batch file) and run it from your task sequence.
Was this article helpful? Then please donate to keep The IT Community alive...
If you found this article helpful please share it, comment and help others by writing your own article.
Translate this page:
Articles found in the same category: