[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] OpenVPN uninstall failed after botched installation


  • Subject: Re: [Openvpn-users] OpenVPN uninstall failed after botched installation
  • From: "James Yonan" <jim@xxxxxxxxx>
  • Date: Fri, 5 Mar 2004 05:05:45 -0000

Roy got back to me and said that WinsockFix had indeed fixed the problem.

http://members.shaw.ca/installations/WinsockFix.zip

James

James Yonan <jim@xxxxxxxxx> said:

> Some more info on the winsock corruption issue:
> 
> * WinsockFix has a useful README on Win2K which I've pasted below.
> 
> * OpenVPN uses the MS utility "devcon" to install and uninstall the TAP-Win32
> driver, which MS provides in source code form on the DDK.  Could this utility
> be the culprit?  
> 
> James
> 
> ******************************************
> 
> [ some stuff on Win9x/Me deleted ]
> 
> Windows 2000/XP
> __________________________________________________________________________
> 
>  With Windows 2000 and XP, this was not possible, due to the fact that TCP 
> could not be removed or uninstalled, and even if the Winsock keys in the 
> registry were deleted, they will recreate themselves, but with no relevant 
> data, therefore making them useless. 
>  Some research in this matter, it was found, that these Winsock Registry keys
> were not unique to any particular machine.... meaning they could be transplanted
> from a working computer, to a broken one.
>  Other factors can play a part in successfully restoring these winsock values, 
> such as disabling the network adapter before the import of the new Registry
keys. 
> Also with Windows XP came the very handy "netsh.exe" with the commandline to 
> Reset TCP. Although this will reset TCP settings, also removing any tweaks and 
> other modifications done, it does not touch the registry Winsock keys.
> The most common symptom would be a Valid IP address, but no ability to 
> view any Web pages, as well as the "0.0.0.0" IP address symptom and Various
> Socket Errors.
> 
> Manually Fix:
> 
> 1.) From the commandline enter the following:
> 
> Netsh ip int reset resetlog.txt
> 
> 2.) These 2 Registry keys will need to be replaced with known good ones.
> 
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock2
> 
> 
> The "Hosts" file. This file (having no extension) and residing in
>  "C:\Windows\Hosts" for Windows 95 - Me versions and
> "WINDOWS\system32\drivers\etc\Hosts" for Windows XP. Often this file 
> (blank by default) can become littered with entries, and again, after the
removal 
> of Third Party Advertising Clients, that were installed as bundled software
> with many 
> P2P file Sharing programs, this "Hosts" file retains entries that may be no
> longer valid. 
> Generally resulting in some web pages and Domains coming up "Blank".
> 
> ____________________________________________________________________________
> 
> The Winsockfix Utility will:
> 1.) Detect your current Operating System
> 2.) Release the IP address, taking you "Offline"
> 3.) Reset the TCP stack using Netsh.exe (Windows XP only)
> 4.) Delete the current Registry TCP and Winsock Values
> 5.) Import new "Working" Registry Values
> 6.) Backup any Current "Hosts" file
> 7.) Replace the "Hosts" file with a default one
> 8.) Reboot the Computer
> 
> ____________________________________________________________________________
> 
> No one should rely on "Quick Fixes" to resolve their connection issues, only
> by taking 
> responsibilty for the software you allow to be installed, can you protect
> yourself from 
> re-occurring problems.
> A Google search for information relating to "SpyWare" can usually point you in 
> the right direction to get information on the Program you wish to install or
Try. 
> Chances are there will be many reviews of it, and you get a feel for the type
> of program 
> it is,and what some of the issues with it will be from other peoples opinions.
> An understanding of why some programs are "Free" in cost,but you end up paying
> with 
> damage to your system settings, Background running Programs, whose only
> purpose is to
> plaque the User with non-stop Pop-up advertising, and an overall drain on
> system resources.
> ____________________________________________________________________________
> 
> WinsockFix was written and designed by:
>  Option^Explicit Software Solutions
>  cc Theron Skryba
>  Winnipeg, Manitoba
>  Canada
>  Comments email techcd@xxxxxxx
> 
> ****************************************
> 
> I did some quick research -- apparently this is a problem with Win2K (that is
> by no means limited to OpenVPN) that sometimes occurs when you uninstall
> network components.
> 
> There are a lot of articles on the web about it.
> 
> For example:
> 
> http://www.hewie.net/views/wifi.html
> 
> I mention this because there's a proposed solution at the end of the article
> called WinsockFix.  You might want to try this, as I know that the one other
> report than I heard about this issue was apparently resolved by WinsockFix.
> 
> Let us know what happens, as I would really like to learn enough about this
> that I could harden against it happening with OpenVPN install/uninstall.
> 
> BTW, vklengh, are you out there?  This sounds like something you reported on a
> while back.
> 
> James
> 
> Roy Thompson <royt@xxxxxxxxxx> said:
> 
> >      Someone tried to install OpenVPN ver1.5 on my Windows 2000 Server. They 
> > did not read the installation instructions first, and also tried to use the -
> > tun- feature, which I have concluded will not work with Windows. It did not 
> > work, and he tried various other options and created several virtual 
> > connections which were subsequently deleted. He then used the "Uninstall 
> > OpenVPN" option from the menu, but I later found about a half dozen registry 
> > entires related to the failed installation that did not get eliminated.
> >      At present, my web browser and email client don't connect. The system 
> > does not pick up the DHCP assigned IP address from my NAT/router. I can ping 
> > other IP addresses with their IP address, but not the domain name. My VNC 
> > connection to my office no longer functions. I have tried everything I can 
> > think of, including uninstalling the network driver, but nothing seems to
have 
> > any effect. I would rather not have to reinstall the operating system, but 
> > it's beginning to look like I might have to if no one in this forum can help 
> > me. Curiously enough, Windows does not allow me to create a new network 
> > connection and if I uninstall the driver, once I reinstall, the old
connection 
> > comes back with its original name. Heeelllp!  RRT
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > Openvpn-users mailing list
> > Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/openvpn-users
> > 
> 
> 
> 
> -- 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
> 



-- 




____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users