Click here to Skip to main content
15,946,158 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When we select the rollback option for device driver in windows operating system, generally system takes you back to last installed driver, but if say i have 3 4 drivers installed then how does it go to last one? i.e. it must be storing some information about the last driver somewhere in system files. i was trying to find out where is it exactly , anyone knows?
i tried to search but did not find any relevant info,

1 solution

Windows maintains all the drivers in the driver store. Each time an active driver is uninstalled, the PnP driver goes through the driver store and finds the list of the drivers for the given device. There is an election process describes in[^] that will choose the best driver applicable for the device and it is installed. You can see the election logs in setupapi logs.

If you want to manually enumerate through these drivers using setup API, then look at[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900