Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > removing device drivers

Reply
Thread Tools Display Modes

removing device drivers

 
 
darius
Guest
Posts: n/a

 
      08-15-2005
Hi All,

I search for a way to implement a driver removal into a tool. I know that
by default drivers registered once should resist in the system. Can someone
explain me a way to remove, deregister, etc. drivers ? Is there a manual
from microsoft or someone else available ?
How can I determine which files and entries belong to which driver ? (I did
not develope them but need to remove them). I believe that I should be able
to get this information out of the inf files but as far as I know there are
some dynamic entries e.g. in the registry and the oem*.inf files. If it is
not possible to remove the driver in a spotlessly clean way, is there a
possibility to disable drivers?
I need to know this for modem and network card device classes.

Your help is much appreciated.

Thanks & Best Regards,
Darius
 
Reply With Quote
 
 
 
 
Don Burn
Guest
Posts: n/a

 
      08-15-2005
You can't, there is no way to determine if all the users of a file. In
particular, a second INF can reference your INF etc. So bottom line is at
present, for the general case, you should not remove the files for your
driver.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply



"darius" <> wrote in message
news:1km89mb7juifn.gmk088mnimu4$....
> Hi All,
>
> I search for a way to implement a driver removal into a tool. I know that
> by default drivers registered once should resist in the system. Can
> someone
> explain me a way to remove, deregister, etc. drivers ? Is there a manual
> from microsoft or someone else available ?
> How can I determine which files and entries belong to which driver ? (I
> did
> not develope them but need to remove them). I believe that I should be
> able
> to get this information out of the inf files but as far as I know there
> are
> some dynamic entries e.g. in the registry and the oem*.inf files. If it is
> not possible to remove the driver in a spotlessly clean way, is there a
> possibility to disable drivers?
> I need to know this for modem and network card device classes.
>
> Your help is much appreciated.
>
> Thanks & Best Regards,
> Darius



 
Reply With Quote
 
Gary G. Little
Guest
Posts: n/a

 
      08-15-2005
System Restore will wipe everything, but tatis predicated on a restore point
being set before youinstall your software.

Gary G. Little

"darius" wrote:

> Hi All,
>
> I search for a way to implement a driver removal into a tool. I know that
> by default drivers registered once should resist in the system. Can someone
> explain me a way to remove, deregister, etc. drivers ? Is there a manual
> from microsoft or someone else available ?
> How can I determine which files and entries belong to which driver ? (I did
> not develope them but need to remove them). I believe that I should be able
> to get this information out of the inf files but as far as I know there are
> some dynamic entries e.g. in the registry and the oem*.inf files. If it is
> not possible to remove the driver in a spotlessly clean way, is there a
> possibility to disable drivers?
> I need to know this for modem and network card device classes.
>
> Your help is much appreciated.
>
> Thanks & Best Regards,
> Darius
>

 
Reply With Quote
 
Bill McKenzie
Guest
Posts: n/a

 
      08-15-2005
This is a problem that needs a solution. There are cases when driver files
need to be removed.

For instance, there are cases when the system has native drivers for a
device that have to be replaced by an IHV to make third party software
available for the device. However, it is often the case that without the
IHV's software installed the device is dead. Thus it is necessary for the
IHV to remove the IHV's driver and get the original driver installed upon
removal of the IHV's software. There is no legitimate path for doing this
today, and that is a problem. I have run into this three times in the last
year and a half and we have always just broken the rules and deleted our
INFs and other driver files. If this were not done customers would be
certainly be calling.

I think a procedure for removing ALL installed files needs to be created.
If this isn't possible in a safe manner, then it seems to me this needs to
be fixed somehow.

Bill M.


"Don Burn" <> wrote in message
news:%...
> You can't, there is no way to determine if all the users of a file. In
> particular, a second INF can reference your INF etc. So bottom line is at
> present, for the general case, you should not remove the files for your
> driver.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
>
> "darius" <> wrote in message
> news:1km89mb7juifn.gmk088mnimu4$....
>> Hi All,
>>
>> I search for a way to implement a driver removal into a tool. I know that
>> by default drivers registered once should resist in the system. Can
>> someone
>> explain me a way to remove, deregister, etc. drivers ? Is there a manual
>> from microsoft or someone else available ?
>> How can I determine which files and entries belong to which driver ? (I
>> did
>> not develope them but need to remove them). I believe that I should be
>> able
>> to get this information out of the inf files but as far as I know there
>> are
>> some dynamic entries e.g. in the registry and the oem*.inf files. If it
>> is
>> not possible to remove the driver in a spotlessly clean way, is there a
>> possibility to disable drivers?
>> I need to know this for modem and network card device classes.
>>
>> Your help is much appreciated.
>>
>> Thanks & Best Regards,
>> Darius

>
>



 
Reply With Quote
 
Don Burn
Guest
Posts: n/a

 
      08-15-2005
Bill,

I haven't kept up to date on this as much as I should. Microsoft was
working on an approach for this for Longhorn, but I do not know if it is
still in there. I concur it is a problem.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply



"Bill McKenzie" <bm01_REMOVE_@csr.com> wrote in message
news:...
> This is a problem that needs a solution. There are cases when driver
> files need to be removed.
>
> For instance, there are cases when the system has native drivers for a
> device that have to be replaced by an IHV to make third party software
> available for the device. However, it is often the case that without the
> IHV's software installed the device is dead. Thus it is necessary for the
> IHV to remove the IHV's driver and get the original driver installed upon
> removal of the IHV's software. There is no legitimate path for doing this
> today, and that is a problem. I have run into this three times in the
> last year and a half and we have always just broken the rules and deleted
> our INFs and other driver files. If this were not done customers would be
> certainly be calling.
>
> I think a procedure for removing ALL installed files needs to be created.
> If this isn't possible in a safe manner, then it seems to me this needs to
> be fixed somehow.
>
> Bill M.
>
>
> "Don Burn" <> wrote in message
> news:%...
>> You can't, there is no way to determine if all the users of a file. In
>> particular, a second INF can reference your INF etc. So bottom line is
>> at present, for the general case, you should not remove the files for
>> your driver.
>>
>>
>> --
>> Don Burn (MVP, Windows DDK)
>> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> Remove StopSpam from the email to reply
>>
>>
>>
>> "darius" <> wrote in message
>> news:1km89mb7juifn.gmk088mnimu4$....
>>> Hi All,
>>>
>>> I search for a way to implement a driver removal into a tool. I know
>>> that
>>> by default drivers registered once should resist in the system. Can
>>> someone
>>> explain me a way to remove, deregister, etc. drivers ? Is there a manual
>>> from microsoft or someone else available ?
>>> How can I determine which files and entries belong to which driver ? (I
>>> did
>>> not develope them but need to remove them). I believe that I should be
>>> able
>>> to get this information out of the inf files but as far as I know there
>>> are
>>> some dynamic entries e.g. in the registry and the oem*.inf files. If it
>>> is
>>> not possible to remove the driver in a spotlessly clean way, is there a
>>> possibility to disable drivers?
>>> I need to know this for modem and network card device classes.
>>>
>>> Your help is much appreciated.
>>>
>>> Thanks & Best Regards,
>>> Darius

>>
>>

>
>



 
Reply With Quote
 
Arkady Frenkel
Guest
Posts: n/a

 
      08-15-2005
Just how to uninstall ( first step in your long custom priocedure... )
look at devcon or install projects in DDK
Arkady

"darius" <> wrote in message
news:1km89mb7juifn.gmk088mnimu4$....
> Hi All,
>
> I search for a way to implement a driver removal into a tool. I know that
> by default drivers registered once should resist in the system. Can
> someone
> explain me a way to remove, deregister, etc. drivers ? Is there a manual
> from microsoft or someone else available ?
> How can I determine which files and entries belong to which driver ? (I
> did
> not develope them but need to remove them). I believe that I should be
> able
> to get this information out of the inf files but as far as I know there
> are
> some dynamic entries e.g. in the registry and the oem*.inf files. If it is
> not possible to remove the driver in a spotlessly clean way, is there a
> possibility to disable drivers?
> I need to know this for modem and network card device classes.
>
> Your help is much appreciated.
>
> Thanks & Best Regards,
> Darius



 
Reply With Quote
 
Alexander Grigoriev
Guest
Posts: n/a

 
      08-16-2005
I used to work at CNXT on AR drivers, and the customers always insisted that
the device uninstallation removed all the files.

"Bill McKenzie" <bm01_REMOVE_@csr.com> wrote in message
news:...
> This is a problem that needs a solution. There are cases when driver
> files need to be removed.
>
> For instance, there are cases when the system has native drivers for a
> device that have to be replaced by an IHV to make third party software
> available for the device. However, it is often the case that without the
> IHV's software installed the device is dead. Thus it is necessary for the
> IHV to remove the IHV's driver and get the original driver installed upon
> removal of the IHV's software. There is no legitimate path for doing this
> today, and that is a problem. I have run into this three times in the
> last year and a half and we have always just broken the rules and deleted
> our INFs and other driver files. If this were not done customers would be
> certainly be calling.
>
> I think a procedure for removing ALL installed files needs to be created.
> If this isn't possible in a safe manner, then it seems to me this needs to
> be fixed somehow.
>
> Bill M.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
removing video card drivers in Vista senorbill Windows Vista Hardware 2 05-02-2008 08:53 PM
Error mess. when removing DVD/CD from device Justme Windows Vista General Discussion 1 04-27-2008 04:33 PM
Trouble Safely Removing USB Device purplepies Windows Vista Hardware 3 07-27-2007 09:58 PM
Spooler Error - Removing Printer Drivers Hayden Windows Vista Printing / Faxing / Scanning 1 06-05-2007 02:59 AM
How do I learn to write device drivers without a device Eagle Rock Windows Vista Drivers 4 08-14-2003 03:02 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59