How to delete driver in Windows XP

Hello All,

How Can I remove or better say delete the USB/Plug and Play driver in Windows XP completely. (Just like delete option in window 7). Is there any command line tool available?

Thanks
Ravi Rathore

No, there isn’t a similar tool for XP that I’m aware of.

-scott


Scott Noone
Consulting Associate and Chief System Problem Analyst
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Ravi Rathore (RBEI/EST2)” <ravi.rathore> wrote in message
news:xxxxx@ntdev…

Hello All,

How Can I remove or better say delete the USB/Plug and Play driver in
Windows XP completely. (Just like delete option in window 7). Is there any
command line tool available?

Thanks

Ravi Rathore</ravi.rathore>

So what should be best way to manually uninstall the driver: I did the following but driver appears again in the Device manager after reconnecting the usb device?
*. I did uninstall the driver from the device manager
*. Deleted the .sys from system32/drivers and inf from WINNT/INF
*. After reconnecting the device driver appears again in Device Manager.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
Sent: Friday, September 23, 2011 6:15 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to delete driver in Windows XP

No, there isn’t a similar tool for XP that I’m aware of.

-scott


Scott Noone
Consulting Associate and Chief System Problem Analyst
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Ravi Rathore (RBEI/EST2)” <ravi.rathore> wrote in message
news:xxxxx@ntdev…

Hello All,

How Can I remove or better say delete the USB/Plug and Play driver in
Windows XP completely. (Just like delete option in window 7). Is there any
command line tool available?

Thanks

Ravi Rathore


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</ravi.rathore>

I think that

devcon dp_delete

will remove the driver (registration) from system. It deletes the
%windir%\inf\oem.inf/.pnf files and correctly removes the entries from
the INFCACHE (as well as catalog entries).

What you uninstalled from the Device Manager was the “Device” not the
“Driver”. After all “Device(s)” are removed or no longer using your driver
you can remove the “Driver” using devcon.

AFAIK the “Delete Driver Files” check-box in NT6 Device Manager is
essentially what devcon dp_delete does.

If your driver package is installed with DIFx you could also just
‘uninstall’ the driver package via DIFx mechanisms which is pretty good
about cleaning up all of that stuff on XP and later.

Good Luck,
Dave Cattley

See Don’s response (message 6) here:

http://www.osronline.com/showthread.cfm?link=210896

-scott


Scott Noone
Consulting Associate and Chief System Problem Analyst
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Ravi Rathore (RBEI/EST2)” wrote in message news:xxxxx@ntdev…

So what should be best way to manually uninstall the driver: I did the
following but driver appears again in the Device manager after reconnecting
the usb device?
*. I did uninstall the driver from the device manager
*. Deleted the .sys from system32/drivers and inf from WINNT/INF
*. After reconnecting the device driver appears again in Device
Manager.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Scott Noone
Sent: Friday, September 23, 2011 6:15 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to delete driver in Windows XP

No, there isn’t a similar tool for XP that I’m aware of.

-scott


Scott Noone
Consulting Associate and Chief System Problem Analyst
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Ravi Rathore (RBEI/EST2)” <ravi.rathore> wrote in message
news:xxxxx@ntdev…

Hello All,

How Can I remove or better say delete the USB/Plug and Play driver in
Windows XP completely. (Just like delete option in window 7). Is there any
command line tool available?

Thanks

Ravi Rathore


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</ravi.rathore>

“David R. Cattley” wrote in message news:xxxxx@ntdev…

devcon dp_delete

Who knew?

Thanks!

-scott


Scott Noone
Consulting Associate and Chief System Problem Analyst
OSR Open Systems Resources, Inc.
http://www.osronline.com

Thanks Dave!! It did work.

I enumerated the third party driver and got the oem*.inf corresponds to my driver and then dp_delete after uninstalling it.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of David R. Cattley
Sent: Friday, September 23, 2011 6:54 PM
To: Windows System Software Devs Interest List
Subject: RE: Re:[ntdev] How to delete driver in Windows XP

I think that

devcon dp_delete

will remove the driver (registration) from system. It deletes the
%windir%\inf\oem.inf/.pnf files and correctly removes the entries from
the INFCACHE (as well as catalog entries).

What you uninstalled from the Device Manager was the “Device” not the
“Driver”. After all “Device(s)” are removed or no longer using your driver
you can remove the “Driver” using devcon.

AFAIK the “Delete Driver Files” check-box in NT6 Device Manager is
essentially what devcon dp_delete does.

If your driver package is installed with DIFx you could also just
‘uninstall’ the driver package via DIFx mechanisms which is pretty good
about cleaning up all of that stuff on XP and later.

Good Luck,
Dave Cattley


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