Upgrading an NDIS IM driver
From: Tim Huntley (large_orange_cat_at_yahoo.com)
Date: 03/23/04
- Next message: Shalini: "Re: ZwOpenKey Problem-Please Help"
- Previous message: Pavel A.: "Re: ZwOpenKey Problem-Please Help"
- Messages sorted by: [ date ] [ thread ]
Date: 23 Mar 2004 14:31:15 -0800
Hello,
I'm trying to upgrade an intermediate driver on Win2000 and have been
unable to do so (programmatically) without uninstalling the existing
driver, rebooting the machine and installing the new driver.
The reboot seems to be necessary because after uninstalling the IM, my
network service is marked for deletion - the
HKLM\System\CurrentControlSet\Services\<My Net Service>\DeleteFlag
registry key is set to 1. If I don't reboot, the new drivers registry
entries (which are under the same key) are deleted at the next
restart.
I'm able to use the network control panel to unbind and uninstall the
existing driver, though. No DeleteFlag is set in the registry, instead
the whole subtree is removed. However, my code is unable to do that
and even the sample upon which it is based, Bindview (from the DDK),
is unable to do it. What is the NCP doing that Bindview isn't?
In a thread from a few months ago, Bryan Burgin [MSFT] mentioned that
there might be a Win2000 bug causing this:
One final data point: the problem doesn't occur when the IM is
installed, them immediately uninstalled. But if a reboot occurs
between installation and the uninstall attempt, the behavior described
above occurs.
Could anyone shed some light on this?
Regards,
-Tim Huntley
large_orange_cat@yahoo.com
- Next message: Shalini: "Re: ZwOpenKey Problem-Please Help"
- Previous message: Pavel A.: "Re: ZwOpenKey Problem-Please Help"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|