How to delete files in the driverstore

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    ?
cuetipperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

and235100Commented:
Disable UAC?
http://www.petri.co.il/disable_uac_in_windows_vista.htm
Then - use the device driver wizard to manually specify drivers in Device Manager.
0
cuetipperAuthor Commented:
UAC is already disabled...
0
Steven SheeleyConsulting SW Engineer - Lync/Skype4BusinessCommented:
!!!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!!!
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

and235100Commented:
Alternatively - you can use DPInst.exe :
http://msdn2.microsoft.com/en-us/library/ms790308.aspx
http://msdn2.microsoft.com/en-us/library/ms790806.aspx
using the /u switch - and the name of the corresponding .inf file.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
and235100Commented:
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 "
0
and235100Commented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.