I have a client (XP SP3) machine where newer drivers have been installed.
Unfortunately while these (audio) drivers fixed mic boost, they have introduced problems such as no input working and random unnamed devices in applications that select the audio device. I need to revert the drivers.
However, rollback does not work (something about the drivers weren't backed up) and manually selecting the older driver is futile as XP just ignores it, stating, in its infinite wisdom, that the current driver is better and so I'd have no reason to want to use the older driver.
I know on printer drivers I can just delete - is there an option for other drivers?
Btw. I have done some research and can't seem to find a definite answer so I think this will be of help to plenty of others as well.
Windows uses a number of factors to decide what is the "best" driver, such as hardware ID matching (INFs that match more specific hardware IDs are "better"), driver date, driver version, and whether the driver is signed. How Setup Selects Drivers has the details if you're interested.
As for how to remove the newer driver, if it has an installer listed in Add/Remove Programs, then by all means use that. If not, you should be able to manually choose the older driver by right-clicking on the device in Device Manager, selecting "Update Driver...", "Install from a list or specific location", "Don't search. I will choose the driver to install", etc. Or did you already try that? (As well as selecting "Uninstall..."?)
If all else fails, you might have some success using the
devcon
command that ships with the Windows Driver Kit. You can remove a driver package usingdevcon dp_delete
, or force Windows to choose a different driver usingdevcon update
. There's also an older version of devcon available for direct download (the WDK is pretty large).If you resort to manually deleting the driver's
.inf
file from%SystemRoot%\inf
, be sure to delete the corresponding.pnf
file as well, because Windows uses that to cache some/all of the.inf
information.Here are some good pointers for uninstalling pesky .inf files (Microsoft link): http://support.microsoft.com/kb/813449
Something to try if your driver uses a .dll would be to unregister the driver's dll: http://www.xp-vista.com/other/how-to-unregister-dll-files
It's worth a try, just make sure you 'cd' to the directory containing the dll.
Another useful tool for these kinds of problems is the Change Analysis Diagnostic tool: http://support.microsoft.com/kb/924732
Have tried devcon, but it says that there is no dp_delete command, and when investigating things I found a easier way.
As some people say, you can delete .inf and pnf. What they don't tell is how to locate those.
First, open device manager as administrator, right click on device and choose properties, on driver tab, click on details, and you would get the .sys filename of the driver.
Then you must locate the correct .inf and pnf to delete, they are not the same name as the .sys.
Follow instructions from http://winhlp.com/node/199 , which in brief are:
Follow original link http://winhlp.com/node/199 for detailed instructions.
How to know the name of the driver to look for isn't explained there, remember that it's the same as the .sys file (without the extension).
Tested removing bcmwl6.sys driver from Broadcom wifi succesfully.
You should find corresponding .inf file and delete it from windows\inf directory
The KB article that l0c0b0x mentioned includes a link to an API call that can be used on Windows XP and later (on Windows 2000 you delete .pnf and .inf files manually).
SetupUninstallOEMInf()
Hmm, I booted into safe mode and managed to resolve this by making sure I uninstalled the device and interrupted XP before it tried automatically reinstalling it when I scanned for hardware changes. Still interested in how to remove a driver from being detected in automatic driver install though.