home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Freeware / Utilitare / winsock / winsockfix.exe / 1033 / CUSTOM / 124 < prev   
Text File  |  2004-09-26  |  4KB  |  92 lines

  1. Repairing Winsock in Win9x - Me manually do this:
  2. open Network settings
  3.  
  4. 1.) Remove all protocols or everything EXCEPT leave the NIC Adapter
  5.  
  6. 2.) Click Apply & Close the Properties box, but on reboot notice, hit Cancel...
  7. do not reboot!
  8.  
  9. 3.) Open Regedit and delete these keys:
  10.  
  11. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VXD\Dhcp
  12. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VXD\Dhcpoptions
  13. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VXD\MSTCP
  14. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VXD\Winsock2
  15.  
  16. also ..scroll down delete
  17.  
  18. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock2
  19.  
  20. close regedit
  21.  
  22. 4.) Open Network Properties again, and Click ADD - PROTOCOL - MicroSoft/TCPIP
  23. **should Add Client for MS Networks Automatically**
  24.  
  25. Have your Windows CD ready or the CAB files, 
  26. Reboot and Should be good.
  27.  
  28. NOTE: Simply removing the Protocols in Network settings will not work because 
  29. those registry entries stay, even if you have no network at all. Once deleted,
  30. putting the TCP/IP protocol back in , basically rebuilds the TCP from scratch,
  31. it is the same as when Windows was first installed clean. 
  32. Also any speed patches to TcpRWin values & MTU will be reset back to Windows 
  33. defaults.
  34. Windows 95 may not have all these keys available, just delete whichever ones 
  35. are matching this desciption.
  36.  
  37.  
  38.  With Windows 2000 and XP, this was not possible, due to the fact that TCP 
  39. could not be removed or uninstalled, and even if the Winsock keys in the 
  40. registry were deleted, they will recreate themselves, but with no relevant 
  41. data, therefore making them useless. 
  42.  But after much research in this matter, it was found, that these Winsock
  43. Registry keys, were of a Global nature, and not unique to any particular
  44. machine.... meaning they could be transplanted from a working computer, to
  45. a broken one.
  46.  Other factors can play a part in successfully restoring these winsock values, 
  47. such as disabling the network adapter before the import of the new Registry keys. 
  48. Also with Windows XP came the very handy "netsh.exe" with the commandline to 
  49. Reset TCP. Although this will reset TCP settings, also removing any tweaks and 
  50. other modifications done, it does not touch the registry Winsock keys.
  51. The most common symptom would be a Valid IP address, but no ability to 
  52. view any Web pages, as well as the "0.0.0.0" IP address symptom common to XP.
  53.  
  54. 1.) From the commandline enter the following:
  55.  
  56. Netsh ip int reset resetlog.txt
  57.  
  58. 2.) These 2 Registry keys will need to be replaced with known good ones.
  59.  
  60. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock
  61. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock2
  62.  
  63.  
  64. The next hurdle, would have to be the "Hosts" file. This file (having no extension)
  65. and residing in "Windows\Hosts" for Windows 95 - Me versions and
  66. "WINDOWS\system32\drivers\etc\Hosts" for Windows XP. Often this file 
  67. (blank by default) can become littered with entries, and again, after the removal 
  68. of Third Party Advertising Clients, that were installed as bundled software with many 
  69. P2P file Sharing programs, this "Hosts" file retains entries that may be no longer valid. 
  70. Generally resulting in some web pages and Domains coming up "Blank".
  71.  
  72. The VB Winsockfix Utility will:
  73. 1.) Detect your current Operating System
  74. 2.) Release the IP address, taking you "Offline"
  75. 3.) Reset the TCP stack using Netsh.exe (Windows XP only)
  76. 4.) Delete the current Registry TCP and Winsock Values
  77. 5.) Import new "Working" Registry Values
  78. 6.) Backup any Current "Hosts" file
  79. 7.) Replace the "Hosts" file with a default one
  80. 8.) Reboot the Computer
  81.  
  82. No one should rely on "Quick Fixes" to resolve their connection issues, only by taking 
  83. responsibilty for the software you allow to be installed, can you protect yourself from 
  84. re-occurring problems.
  85. A Google search for information relating to "SpyWare" can usually point the curious, in 
  86. the right direction to get an understanding of why some programs seem "Free" in cost, 
  87. but you end up paying with damage to your system settings, Background running Programs, 
  88. whose only purpose is to plaque the User with non-stop Pop-up advertising, and an overall
  89. drain on system resources.
  90.  
  91. VB WinsockFix was written and designed by Option^Explicit Software Solutions
  92. Comments send email to  Theron at "techcd@shaw.ca"