Question regarding removal of Windows driver service
- From: futterama@xxxxxxxxx (Martin Jakobsen)
- Date: 20 Apr 2005 00:54:22 -0700
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
.
- Follow-Ups:
- Re: Question regarding removal of Windows driver service
- From: Don Burn
- Re: Question regarding removal of Windows driver service
- From: Arkady Frenkel
- Re: Question regarding removal of Windows driver service
- Prev by Date: Re: /PAE question
- Next by Date: Re: Transparent File Access Requirement
- Previous by thread: /PAE question
- Next by thread: Re: Question regarding removal of Windows driver service
- Index(es):
Relevant Pages
|