Re: HELP! Registry Corruption on Driver Uninstall w/devcon.exe

From: James Yonan (jim2004_at_yonan.net)
Date: 03/08/04


Date: 7 Mar 2004 21:45:36 -0800


"Thomas F. Divine [DDK MVP]" <tdivine@NOpcausaSPAM.com> wrote in message news:<exW$DQGBEHA.1028@TK2MSFTNGP11.phx.gbl>...
> I'm not sure that his driver installation requires a reboot.
>
> However, the scenario install, uninstall (without interveening reboot)
> leaves Winsock broken.
>
> I think his goal is really to prevent install without an interveening
> reboot.

A lot of people are actively using this driver, probably thousands.
It is a key component of a VPN package, and aside from this problem,
the driver has proven to be quite stable. I've never been able to
personally reproduce the problem that causes the registry corruption.
Install, uninstall (without intervening reboot) by itself is not
enough to reproduce. Maybe 2 or 3 people have reported the winsock
registry corruption, and the install, uninstall (without intervening
reboot) seems to be the only common thread. Furthermore, in all of my
tests on Win2K, devcon install or remove always returns 0, meaning
that apparently a reboot isn't even thought to be necessary.

I did some googling on the web, looking for winsock registry
corruption, and apparently it is a common enough problem that someone
has actually written a tool to fix it:
http://members.shaw.ca/installations/WinsockFix.zip

Most people who've posted pages about it remark that it occurs when
they try to uninstall a network driver, for example:
http://www.hewie.net/views/wifi.html

So I am left wondering, is this a bug in Windows, or am I not doing
something correctly in either the INF file or the driver code?

Thanks,
James



Relevant Pages

  • Re: cant get to some sites
    ... Make sure Windows is set to show hidden files and folders and is NOT set ... Reboot an try again. ... If you install Windows XP SP2, it may DOWNgrade your driver to ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: cant get to some sites
    ... Reboot an try again. ... If you install Windows XP SP2, it may DOWNgrade your driver to ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Mac OS X Leopard still not ready for prime time
    ... Since installing Leopard, I've had to ... Install OS X three times? ... Nobody can mess or race with the Windows reboot, ... you reboot to unload most driver classes on windows. ...
    (comp.sys.mac.advocacy)
  • Re: HELP! Registry Corruption on Driver Uninstall w/devcon.exe
    ... I'm not sure that his driver installation requires a reboot. ... However, the scenario install, uninstall ... leaves Winsock broken. ...
    (microsoft.public.development.device.drivers)
  • Re: XP HOME BOOT FAILURE
    ... you remove the driver for the graphics card, ... >> If you run a repair install as I initially described, ... A repair install should bypass that but it will ... >>>> on, follow the screens. ...
    (microsoft.public.windowsxp.accessibility)