Re: Question regarding removal of Windows driver service
- From: "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx>
- Date: Wed, 20 Apr 2005 12:03:12 +0200
Look at devcon example from DDK how to disable / uninstall driver ( that in
C and use SetupDi... set of functions of device manager )
Arkady
"Martin Jakobsen" <futterama@xxxxxxxxx> wrote in message
news:5e1c6a6a.0504192354.a483412@xxxxxxxxxxxxxxxxxxxxx
> Hi All,
>
> I'm not sure this is the place for my question, but I'll give it at
> try:
>
> I'm a Delphi programmer, and I'm developing a program that installs
> and removes the driver "giveio.sys". I'm familiar with the API
> functions OpenSCManager, CreateService, StartService, OpenService,
> ControlService, DeleteService, CloseServiceHandle ect.
>
> I'm aware that when I install a service, it will be stored in the
> registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and
> that it is removed from the registry as I remove the service.
>
> My problem is that in the Device Manager -> Non-Plug and Play Drivers
> the driver keeps appearing even when the driver file is deleted, the
> service is removed through the Service Control Manager, and I have
> rebooted my machine. The driver is not functioning of course and is
> disabled.
>
> I would like to know how my program kan remove this entry in Device
> Manager - I like to clean up thorougly when programming :-)
>
> I've noticed that the driver name appears in the registry at these
> three locations:
>
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_GIVEIO
> HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_GIVEIO
> HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\Root\LEGACY_GIVEIO
>
> When I use the Device Manager to manually Uninstall giveio, the two
> first entrys is removed but giveio still appear in
> HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\Root\LEGACY_GIVEIO and
> this entry cannot be deleted manually (by me, I don't know if a
> program can do it).
>
>
> Help! :-)
>
>
> Regards,
> Martin
.
- References:
- Question regarding removal of Windows driver service
- From: Martin Jakobsen
- Question regarding removal of Windows driver service
- Prev by Date: Re: Transparent File Access Requirement
- Next by Date: Re: /PAE question
- Previous by thread: Question regarding removal of Windows driver service
- Next by thread: Re: Question regarding removal of Windows driver service
- Index(es):
Relevant Pages
|