Navigation
Popular content
Today's:
|
How to remove a driver permanentlyGeneral Sometimes you get into a situation where you want to remove or replace a driver, but Windows remembers the driver and keeps reinstalling it. If this happens, you have to erase that part of Windows' memory. You need to delete the relevant .inf file from %windir%\inf. It will be called oemX.inf. There will also be an oemX.pnf. In the following example we will use a Netgear driver named WG311T. Of course you have to substitute the name of your problem driver when applying this solution. You will first have to identify the inf file that contains the information about the problem driver, then delete that file. Windows Vista In device manager, double-click your problematic device (WG311T). Go to the Details tab. Where it says "Property:" (combobox), change from "Device Description" to "Inf name". This tells you which .inf file is used for installing the driver. Go to cmd prompt again, and to: %windir%\inf Delete that file and its corresponding .pnf file. Job done. If you have UAC (User Access Control) enabled, you will probably need to 'Run as Administrator' your Command Prompt. Windows XP Enter the following commands:
Where I have put "WG311T" above in the for %a line, you need to make sure it's written just like the device name is in device manager. Capitals don't This will open up a notepad windows showing you the results of a text search through oem*.inf. Look through out.txt to see which of those oemX.inf files Remember the inf file name. In this example we will assume it is: oem12.inf Type:
What you are doing here is deleting the file that we found was the right one, and also its .PNF counterpart. On XP, .pnf files always seem to be read-only, so we have to use attrib to remove that read-only attribute. On my new Vista machine it looks like the .pnf files are not read-only, but some of the .inf files are, which I have never come across pre-Vista, so the above commands are going to remove read-only & system & hidden attributes on both .inf & .pnf just to be sure. After doing the above, uninstall the item from device manager and it should no longer find the already installed driver.
|
User login
Donations If this web site has helped you, please help us too! Recent blog posts
Windows news ticker
Who's new
Who's online
There are currently 0 users and 4 guests online.
hits since 2007-11-01 |
2 hours 4 min ago
4 hours 52 min ago
20 hours 58 min ago
21 hours 9 min ago
1 day 4 hours ago
5 days 7 hours ago
5 days 7 hours ago
5 days 15 hours ago
6 days 12 hours ago
1 week 2 hours ago