Removing drivers from driverstore on Vista/server2008

Hi,

Does anybody have any idea on how to remove driver (and related files) from
DriverStore folder on Windows Server 2008/Vista machines.

I am under the suspicion that after fixing my null pointer bug, my previous
driver from DriverStore is getting loaded.
I am using “UpdateDriverForPlugAndPlayDevice” for updating the driver.

Regards
Deepak

Quoting Deepak Gupta :

> Hi,
>
> Does anybody have any idea on how to remove driver (and related files) from
> DriverStore folder on Windows Server 2008/Vista machines.
>

I am not certain but SetupUninstallOEMInf might do this for you.

-------------------------------------------------
Visit Pipex Business: The homepage for UK Small Businesses

Go to http://www.pipex.co.uk/business-services

Try this command line on your OS, as you are probably not using the one I am using, but this tool debuted with the driver store on Vista...

I assume you can figure out the rest from there.

d:\Staging\drivers\wdf\kmdf\tests>pnputil -?
Microsoft PnP Utility
Usage:

pnputil.exe [-f | -i] [-? | -a | -d | -e]
Examples:
pnputil.exe -a a:\usbcam\USBCAM.INF -> Add package specified by USBCAM.INF
pnputil.exe -a c:\drivers*.inf -> Add all packages in c:\drivers<br>pnputil.exe -i -a a:\usbcam\USBCAM.INF -> Add and install driver package
pnputil.exe -e -> Enumerate all 3rd party packages
pnputil.exe -d oem0.inf -> Delete package oem0.inf
pnputil.exe -f -d oem0.inf -> Force delete package oem0.inf
pnputil.exe -? -> This usage screen

Thanks a lot Bob.

It does work!!!

Cheers
Deepak

On Fri, Dec 5, 2008 at 7:22 PM, Bob Kjelgaard wrote:

> Try this command line on your OS, as you are probably not using the one I
> am using, but this tool debuted with the driver store on Vista?
>
>
>
> I assume you can figure out the rest from there.
>
>
>
> d:\Staging\drivers\wdf\kmdf\tests>pnputil -?
>
> Microsoft PnP Utility
>
> Usage:
>
> ------
>
> pnputil.exe [-f | -i] [-? | -a | -d | -e]
>
> Examples:
>
> pnputil.exe -a a:\usbcam\USBCAM.INF -> Add package specified by
> USBCAM.INF
>
> pnputil.exe -a c:\drivers*.inf -> Add all packages in c:\drivers<br>>
> pnputil.exe -i -a a:\usbcam\USBCAM.INF -> Add and install driver package
>
> pnputil.exe -e -> Enumerate all 3rd party
> packages
>
> pnputil.exe -d oem0.inf -> Delete package oem0.inf
>
> pnputil.exe -f -d oem0.inf -> Force delete package oem0.inf
>
> pnputil.exe -? -> This usage screen
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>