Update a device driver Configuration Manager 2012

Updating device drivers in a task that will have to be done from time to time to solve problems with drivers or software related to the device used. There are two kinds of device drivers, the ones that you need to run setup.exe and run a complete installation as there are supporting software needed as well. For these drivers running the setup silently will work as an upgrade as well.

Then we have the kind that is only delivered as an .inf, .cat and .sys files like for instance network drivers. In this example I will demonstrate how to update a wireless nic driver using an application, it is a really simple task. I prefer to use PNPutil as it is already present on modern operating systems.

Here is a step-by-step guide on how to update a driver, I will update an Atheros driver.

  1. Start by downloading the updated driver and extract it to a folder that can be used as a content source for the application. This folder actually includes the 64 bit driver as well.
    Upgrade driver1
  2. In that same folder create an update.cmd file that contains the following syntax:
    pnputil.exe -i -a %~dp0netathr.inf
  3. Create a new application using the manual option as the screenshots below describes.
    Upgrade driver2
  4. The Driver version can be found in the .inf file.
    Upgrade driver3
  5. We will not use the application catalog for this application.
  6. Upgrade driver4Select the Script installer type
  7. Upgrade driver6We name the deployment type x86 as we perhaps want do deploy a x64 driver as well.Upgrade driver7
  8. Select the folder created earlier as the package source and enter Update.cmd as the installation command.
  9. Upgrade driver8 Under Detection method select Add ClauseUpgrade driver9
  10. Select File System and Type: File and browse to a computer with the driver already installed by selecting Browse
    Upgrade driver10
  11. Browse to C:\Windows\System32\Drivers and select the. sys file that will be upgraded

Upgrade driver11

12. Select that the file must match Version and then the version of the old driver is already filled in, just change it to the version of the new driver which you can find by selecting properties on the new .sys file.

Upgrade driver12

14. In our case we change it to version

Upgrade driver13

15. Then select Next
Upgrade driver14

16. Select that it should Install for System as displayed below. Upgrade driver15

17. As a requirement add the Operating System the driver is for, in this case All Windows 7 32-bit
Upgrade driver16

18. Then select Next until the wizard is finished

Then it is time to deploy the updated driver, note that a NIC driver update will disconnect the computer for a couple of seconds. I normally prefer to deploy driver update as hidden so the user doesn’t actually see anything but with a driver update that could be tricky. If we look at the client the driver version is as shown below.

upgrade client1

Then we let the installation run and the driver will be updated.

upgrade client2

And if we check the driver version after that it is updated.

upgrade client3It is a really simple way of updating a driver the detection method is really easy to configure as well and is correct the first time, so it takes 5 minutes perhaps to do. It probably take longer time to find the updated driver on the vendors website.

Happy Upgrading!


Add a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.