Driver Ranking
Windows XP uses the following algorithm to arbitrate between several possible drivers when installing a device:
- In-box drivers are given first preference.
- Windows Hardware Quality Labs (WHQL)-signed drivers are given next preference, with the most recent driver preferred.
- Unsigned drivers are given lowest preference, with the most recent driver preferred.
Windows Vista and later versions support the following eight levels of digital signature, listed in order of decreasing preference:
- Microsoft-signed WHQL-Certified drivers
- Microsoft-signed in-box drivers (NT Build Lab Certified)
- Microsoft-signed WinSE-Certified drivers
- Drivers that have been signed using Authenticode (Enterprise CA)
- Drivers that have been signed using Authenticode (Class 3 CA Certified)
- Drivers that have been signed using Authenticode (MAKECERT.EXE Certified)
- Microsoft-signed WHQL-Certified drivers for a previous version of the Windows operating system
- Unsigned drivers
Note For the purpose of calculating rank, WHQL, DQS, INBOX, STANDARD, and PREMIUM are all equal for both Windows XP and Windows Vista.
In addition to if (and how) drivers are signed, Windows Vista and later versions use the following criteria to determine which version of a driver should be installed for a particular device:
- The value of the feature score specified in the driver INF file if one is provided
- How closely the Plug and Play ID (PNPID) of the device matches the PNPID of the driver
- How recent is the driver compared to other suitable drivers
- The driver version
Note Date and version are considered only if every other aspect of the driver rank is equal-such as signed/unsigned, same hardware ID match, and so on.
For WDDM display drivers, the driver arbitration algorithm is more complex, including the following:
- WHQL or in-box driver
- WHQL-Certified or Authenticode-signed driver for an earlier version of the Windows operating system
- Unsigned driver
- WDDM driver preferred over any other technology
- Device ID
- Driver date
- Driver version
Note Driver arbitration for audio devices and printers follows a similar algorithm to that used for WDDM display drivers.
Although the default driver-ranking process favors Microsoft-signed drivers over Authenticode- signed drivers, you can modify this behavior by configuring the following Group Policy setting:
Computer Configuration\Policies\Administrative Templates\System\Device Installation \Treat All Digitally Signed Drivers Equally In The Driver Ranking And Selection Process
For more information, see the section titled "Managing Device Installation Behavior" later in this tutorial.
In this tutorial:
- Managing Devices and Services
- Understanding Device Installation and Management
- Device Enhancements in Windows 7
- Display Enhancements in Windows 7
- Understanding Device Installation
- Driver Store and Driver Packaging
- Driver Staging vs Installation
- Driver Staging and Installation Process
- Detailed Installation Process
- Managing Driver Packages
- Using PnPutil.exe
- Using Dism.exe
- Driver Signing
- Driver Ranking
- Installing and Using Devices
- Enhancements to the Device Installation Experience in Windows 7
- Scenario 1: Driver found in Driver Store
- Scenario 2: Driver found on Windows Update
- Scenario 3: Driver in Driver Store, But Better Driver on Windows Update
- Scenario 5: No Driver Can Be Found for the device
- Scenario 6: Vendor -supplied media is available
- Scenario 7: Additional Device Software is Available For Download from vendor
- Configuring Device Installation Settings
- Using the Devices And Printers Folder
- Understanding Device Stage
- Understanding the Device Experience Architecture
- Device Containers
- Device display object
- Device Metadata System
- Managing Device Installation Using Group Policy
- Managing Device Installation Behavior
- Managing Driver Installation Behavior
- Blocking Installation of Removable Devices
- Managing Device Redirection Behavior
- Troubleshooting Device Installation
- Using Windows Error Reporting
- Using the SetupAPI Log File
- Using Driver INF Files
- Using Device Manager Error Codes
- Using Driver Verifier
- Repairing Driver Store Corruption
- Repairing Index File Corruption
- Understanding Power Management
- Power Management Enhancements in Windows 7
- New Power Policies in Windows 7
- Configuring Power Management Settings
- Configuring Power Management Settings Using the Power Options Utility in Control Panel
- Configuring Power Management Settings Using Group Policy
- Configuring Power Management Settings Using the Powercfg Utility
- Understanding Services
- Service Enhancements in Windows 7
- Managing Services
- Managing Services Using Task Manager
- Managing Services Using the Sc.exe Command