[Webinar] Streamline your web hosting managementRegister Today


How to delete files  in the driverstore

Posted on 2008-01-25
Medium Priority
Last Modified: 2008-04-21
I loaded some USB Hardware and Vista automatically loaded the drivers.
There the wrong Drivers.
I removed the drivers and reinstalled the correct drivers manually.
But Vista says that it already has the right drivers and will not load MINE.
Rather it is reloading the wrong drivers from teh protected DriverStore.

I can not delete those copies. I can not elevate permisions to myselft to do so.

How can I remove these bad drivers from the DriverStore    ?
Question by:cuetipper
  • 4
LVL 32

Expert Comment

ID: 20747189
Disable UAC?
Then - use the device driver wizard to manually specify drivers in Device Manager.

Author Comment

ID: 20747816
UAC is already disabled...

Expert Comment

by:Steven Sheeley
ID: 20751591
!!!WARNING!!!  You are messing with system files and run the rick of potentially damaging your Vista installation to the point of causing BSD on reboot or turning it into dead iron.  Proceed at your OWN risk!   !!!WARNING!!!

You need to be an administrator and have UAC disabled.  Then you need to go in and reset permissions on the files you want to change.  Follow these directions to do so:

1)  Navigate to C:\Windows\System32\DriverStore (Or whatever name you gavce to your windows directory on install)
2)  Find the files in question.
3)  Right-click on said files and click on Properties
4)  Click on Security Tab
5)  Click on Advanced Tab
6)  Click on Edit Button
7)  Click on Administrators in the list of users and then click on Edit
8)  Click on the Full Control check box and the click on Ok till you are back at the properties tab

You should now be able to do what you wish at this point.

!!!WARNING!!!  You are messing with system files and run the rick of potentially damaging your Vista installation to the point of causing BSD on reboot or turning it into dead iron.  Proceed at your OWN risk!   !!!WARNING!!!
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

LVL 32

Accepted Solution

and235100 earned 200 total points
ID: 20755091
Alternatively - you can use DPInst.exe :
using the /u switch - and the name of the corresponding .inf file.
LVL 32

Expert Comment

ID: 21288330
I disagree.
DpInst does exactly what you wanted in the initial question:

"The following command includes the /u command-line switch, followed by the Abc.inf INF file, and the /d command-line switch. The /u command-line switch uninstalls the driver package that is associated with the Abc.inf INF file from all of the devices on which the package is installed. >>The /d command-line switch deletes the binaries that were copied to the system when the package was installed and deletes the package from the driver store<<. If the driver package is signed, the corresponding catalog file must be present in the same directory in which Abc.inf is located.

dpinst.exe /u abc.inf /d "
LVL 32

Expert Comment

ID: 21379555
The Asker has not explained why Dpinst is not suitable. This is defined b the msdn article(s) as the way to delete from the filestore, exactly what the Asker requested in the question.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an article on how to answer questions, earn points and become an expert.
A few solutions to a problem some of us have been having when trying to add Hostgator email accounts to Outlook 2016 (will probably work with Outlook 2013 as well).
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question