Upgrading an NDIS IM driver

From: Tim Huntley (large_orange_cat_at_yahoo.com)
Date: 03/23/04


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:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=uDzAZjA1DHA.2256%40cpmsftngxa07.phx.gbl

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



Relevant Pages

  • Re: Radeon 9800 Pro Update
    ... been installed that does not work as well as the original driver did. ... have to rollback the driver to get the original back and reboot again. ... check my automatic updates, I still see the original update still waiting to ... How do I prevent a driver from installing on ...
    (microsoft.public.windowsupdate)
  • Re: Changing Screen Resolution
    ... changing my screen resolution to somthing normale. ... driver for my Nvidia graphics card. ... Once you reboot and X.org starts you should ... Installing the driver and rebooting doesn't automatically activate it though. ...
    (Ubuntu)
  • Re: Changing Screen Resolution
    ... and had to do a hard reboot. ... double checked and the nVidia ... driver for my Nvidia graphics card. ... Installing the driver and rebooting doesn't automatically activate it though. ...
    (Ubuntu)
  • RE: Re mdfix01.exe
    ... I started having this same problem after installing then uninstalling an ... recognize the PSC 1500 series printer driver. ... support which recommended uninstalling all hardware and software for the ... Microsoft says check the driver. ...
    (microsoft.public.windowsxp.general)
  • [HPADM] HP-UX Device Files changing during reboots
    ... tape library and the LTO Gen II tape drives requires installing the ATDD ... We have checked the kernel setting, and this driver is set to load/load. ... The next reboot, ... cycles back to seeing device 12 and 13 again. ...
    (HP-UX-Admin)