Studio render of three matte package boxes on aluminium blocks of different heights, a thin copper band on the tallest

Article · 3 min read

How Windows ranks driver packages

When several packages could serve the same device, Windows does not pick at random. It scores candidates by how specifically they match, how they are signed and how they are dated and versioned, then installs the best scorer.

Matching comes first

Windows begins by collecting packages whose INF files list one of the device's identifiers. A match against the first and most specific hardware ID ranks better than a match against a later hardware ID, and any hardware ID match ranks better than a compatible ID match. Microsoft's hardware ID documentation explains this most-specific-first ordering.

So a maker's package naming the exact model normally outranks a generic class package that only names the category.

Signatures influence rank

Among matching packages, the kind of signature matters. Packages signed through Microsoft's programs are preferred over those with other signatures. On current 64-bit systems unsigned kernel drivers are not loaded in normal operation, so they do not compete at all.

This preference is about trust in the publishing chain rather than about performance.

Dates and versions as tie-breakers

When matching and signature are equal, Windows prefers the package with the newer date, and if dates are equal, the higher version. This is the reason some inbox drivers carry deliberately old dates: it ensures a maker's specific package with a later date wins any tie.

It also explains a common surprise. Installing an older package manually may appear to succeed, yet Windows later reinstalls a newer-dated package it prefers, especially if that package is staged or offered by Windows Update.

What this means for readers

Ranking describes what Windows will choose automatically, not what is objectively best for every situation. A computer builder's adapted package and a chip designer's general package may both match; which one ranks higher depends on IDs, signature and date rather than on which suits your model's extras.

Reading the Driver tab's provider, date and version, and the Details tab's hardware IDs, lets you reconstruct why the current package was chosen.

A worked example

Suppose a laptop's sound device matches three packages: an inbox audio class driver via a compatible ID, a chip designer's package via a general hardware ID, and the laptop builder's package via the most specific ID including a subsystem code. The builder's package wins on match quality before dates are even compared. If the builder's package were removed, the chip designer's would win next, and the class driver would serve as a dependable last resort.

Ranking is not permanent

Ranking happens whenever Windows evaluates a device, such as when it is first detected, when a new package is staged or when Windows Update delivers a candidate. A package that ranked best last month may be superseded when a newer one arrives. Conversely, after a rollback, the previously installed package may compete again once it is reoffered.

This dynamic is normal. Understanding it helps explain why a device can switch packages after an update without any action on your part, and why that switch usually reflects the matching rules rather than a fault.