Updating drivers for devcon
But its very tedious, each device has to be clicked (as it is not known if that particular device has an update available) - then the popups have to be clicked - and one has to wait for the online search to finish. (I personally still prefer the script from harrymc, its painless - just start it and done) An alternative to the standard Windows Update What you can do: - Check for updates - Download updates - Installing Updates - Deleting installed updates - Hiding unwanted updates - Get direct links to the */ *.
So I hoped there is some Powershell script being able to do this, or maybe a registry entry to have "Windows Update" taking care of that.
IDs that include an ampersand character (&) must be enclosed in quotation marks. Dev Con (Devcon.exe), the Device Console, is a command-line tool that displays detailed information about devices.
To update/install this driver I created a module In RES Automation Manager that includes a task that copies the files to eg.
After a maddening series of experiments I've discovered that one way to force the thing to use the latest files is by doing the following: with the same number.
Alternatively, if I run a command prompt under the SYSTEM account and go and delete the driver cache folder in "C:\windows\system32\Driver Store\File Repository\DRIVER FOLDER" before running "devcon" then that works too. Why can't you just unplug the device and replace the unloaded DLL?
I am having some trouble updating UMDF drivers using "devcon" during a standard code-deploy-debug cycle.
The problem is that "devcon update" isn't really updating anything unless the version number or the date of the DLL file and the INF file has changed from what is stored in the system's driver cache folder.