List missing drivers

This script will list all devices in the device manager with an exclaimation mark (missing drivers) It will then output results to a text file in the same folder. The Device ID's returned can be put in a search engine to locate missing drivers

4 Star
Add to favorites
E-mail Twitter Digg Facebook
  • Does This Script Find Just Devices with Missing Drivers?
    1 Posts | Last post August 15, 2010
    • This script uses the following code to get the 'missing drivers':
      Set colItems = objWMIService.ExecQuery _
          ("Select * from Win32_PnPEntity " _
              & "WHERE ConfigManagerErrorCode <> 0")
      This looks to me like getting all devices that are have a non-zero Config Manager Error Code not just missing drivers.