百度首页 | 百度空间
 
查看文章
 
WindowsXP上网故障排除一例:QQ能使用,ping域名通,IE不能浏览网页 2007-4-12
2007-04-12 22:30
作者:http://hi.baidu.com/uroot
  
相关地址: 百度知道:QQ能上但是网页打不开是什么原因

     今日,一同事家用PC(配置:windowsXP,ADSL路由器上网)中招,infostealer 病毒。在使用Norton杀毒后异常关机,重新启动后就出现如下症状:
     QQ能使用,ping某域名通,不能IE浏览网页,msn等均不通。
     开始没注意到杀毒异常的信息,以为是ADSL和MTU适配的问题。后Google到相关信息,判断是杀毒或者病毒把注册表破坏,造成winsock不能使用。在网上下载一个Winsockfix( WinsockFix was written and designed by Option^Explicit Software Solutions Comments send email to Theron at "techcd@shaw.ca"),通过QQ传送到故障PC,运行后问题解决。

   WinsockFix 下载地址: 华军软件园 http://www.newhua.com/soft/35272.htm

-----------------------------------------------------------------------------
附 ping 域名不通的情况处理: 除了上述可能外,首先要排除域名解析故障问题。
可以使用设置固定dns地址(202.106.196.115 ,202.106.0.20)为以上两个方式测试。

-----------------------------------------------------------------------------

  
以下是winsockfix软件about的说明:

Repairing Winsock in Win9x - Me manually do this:
open Network settings

1.) Remove all protocols or everything EXCEPT leave the NIC Adapter

2.) Click Apply & Close the Properties box, but on reboot notice, hit Cancel...
do not reboot!

3.) Open Regedit and delete these keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VXD\Dhcp
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VXD\Dhcpoptions
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VXD\MSTCP
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VXD\Winsock2

also ..scroll down delete

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock2

close regedit

4.) Open Network Properties again, and Click ADD - PROTOCOL - MicroSoft/TCPIP
**should Add Client for MS Networks Automatically**

Have your Windows CD ready or the CAB files,
Reboot and Should be good.

NOTE: Simply removing the Protocols in Network settings will not work because
those registry entries stay, even if you have no network at all. Once deleted,
putting the TCP/IP protocol back in , basically rebuilds the TCP from scratch,
it is the same as when Windows was first installed clean.
Also any speed patches to TcpRWin values & MTU will be reset back to Windows
defaults.
Windows 95 may not have all these keys available, just delete whichever ones
are matching this desciption.


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.
But after much research in this matter, it was found, that these Winsock
Registry keys, were of a Global nature, and 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 common to XP.

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 next hurdle, would have to be the "Hosts" file. This file (having no extension)
and residing in "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 VB 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 the curious, in
the right direction to get an understanding of why some programs seem "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.

VB WinsockFix was written and designed by Option^Explicit Software Solutions
Comments send email to Theron at "techcd@shaw.ca"

类别:internet/software | 添加到搜藏 | 浏览() | 评论 (0)
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码:
 

     

©2008 Baidu