Chinaunix首页 | 论坛 | 博客
  • 博客访问: 850216
  • 博文数量: 180
  • 博客积分: 10029
  • 博客等级: 上将
  • 技术积分: 2185
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-06 09:15
文章存档

2010年(133)

2009年(47)

我的朋友

分类: 系统运维

2010-02-18 01:30:12

   在Windows XP的网络组件列表里,Internet 协议 (TCP/IP)的"卸载"按钮是灰色不可选状态。
   因为传输控制协议/Internet 协议 (TCP/IP) 堆栈是 Microsoft XP/ 2003 的核心组件(TCP/IP协议是Windows XP的默认协议),不能删除。所以Windows XP不允许卸载TCP/IP协议。
  
   如果在特殊情况下需要重新安装TCP/IP协议,如何操作? 
   重新安装 TCP/IP 以使 TCP/IP 堆栈恢复为原始状态。可以使用 NetShell 实用程序重置 TCP/IP 堆栈,使其恢复到初次安装操作系统时的状态。
 
具体操作如下:
  1、单击 开始 --> 运行,输入 "CMD" 后单击 "确定";
  2、在命令行模式输入命令
  netsh int ip reset C:\resetlog.txt
  (其中,Resetlog.txt记录命令结果的日志文件,一定要指定,这里指定了Resetlog.txt 日志文件及完整路径。)

 
  运行结果可以查看C:\resetlog.txt (咨询中可根据用户实际操作情况提供)
  运行此命令的结果与删除并重新安装 TCP/IP 协议的效果相同。
  (注意: 本操作具有一定的风险性,请在操作前备份重要数据,慎用)
 
   以下是我运行时的情况:
  
  
以及C:\resetlog.txt 的内容:

reset   SYSTEM\CurrentControlSet\Services\Dhcp\Parameters\Options\15\RegLocation
            old REG_MULTI_SZ =
                SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpDomain
                SYSTEM\CurrentControlSet\Services\TcpIp\Parameters\DhcpDomain

deleted SYSTEM\CurrentControlSet\Services\Dnscache\Parameters\NegativeSoaCacheTime
deleted SYSTEM\CurrentControlSet\Services\Dnscache\Parameters\NetFailureCacheTime
added   SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{A7BA7A1D-1A60-448D-A92E-8DE145351440}\NetbiosOptions
added   SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{B8DAF20E-3A22-48B2-AA02-126763490897}\NetbiosOptions
added   SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{C3006242-BC8E-461F-A1D7-C70343E71453}\NetbiosOptions
reset   SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{D308F6A1-BAA8-45ED-A7FD-308D14E81DC7}\NameServerList
            old REG_MULTI_SZ =
               

added   SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{D308F6A1-BAA8-45ED-A7FD-308D14E81DC7}\NetbiosOptions
deleted SYSTEM\CurrentControlSet\Services\Netbt\Parameters\EnableLmhosts
reset   SYSTEM\CurrentControlSet\Services\Netbt\Parameters\SessionKeepAlive
            old REG_DWORD = 10

added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{384DC304-131B-4592-9565-0D7381364172}\DisableDynamicUpdate
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{384DC304-131B-4592-9565-0D7381364172}\IpAutoconfigurationAddress
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{384DC304-131B-4592-9565-0D7381364172}\IpAutoconfigurationMask
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{384DC304-131B-4592-9565-0D7381364172}\IpAutoconfigurationSeed
reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{384DC304-131B-4592-9565-0D7381364172}\RawIpAllowedProtocols
            old REG_MULTI_SZ =
                0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{384DC304-131B-4592-9565-0D7381364172}\TcpAllowedPorts
            old REG_MULTI_SZ =
                0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{384DC304-131B-4592-9565-0D7381364172}\UdpAllowedPorts
            old REG_MULTI_SZ =
                0

added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{8094D1B1-8C19-4CC8-B5C5-FE41B6F4CC87}\AddressType
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{8094D1B1-8C19-4CC8-B5C5-FE41B6F4CC87}\DisableDynamicUpdate
reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{8094D1B1-8C19-4CC8-B5C5-FE41B6F4CC87}\RawIpAllowedProtocols
            old REG_MULTI_SZ =
                0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{8094D1B1-8C19-4CC8-B5C5-FE41B6F4CC87}\TcpAllowedPorts
            old REG_MULTI_SZ =
                0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{8094D1B1-8C19-4CC8-B5C5-FE41B6F4CC87}\UdpAllowedPorts
            old REG_MULTI_SZ =
                0

added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9A20A514-0CC4-4096-B918-67C502EE0648}\DisableDynamicUpdate
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9A20A514-0CC4-4096-B918-67C502EE0648}\IpAutoconfigurationAddress
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9A20A514-0CC4-4096-B918-67C502EE0648}\IpAutoconfigurationMask
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9A20A514-0CC4-4096-B918-67C502EE0648}\IpAutoconfigurationSeed
reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9A20A514-0CC4-4096-B918-67C502EE0648}\RawIpAllowedProtocols
            old REG_MULTI_SZ =
                0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9A20A514-0CC4-4096-B918-67C502EE0648}\TcpAllowedPorts
            old REG_MULTI_SZ =
                0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{9A20A514-0CC4-4096-B918-67C502EE0648}\UdpAllowedPorts
            old REG_MULTI_SZ =
                0

deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{D308F6A1-BAA8-45ED-A7FD-308D14E81DC7}\NameServer
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DefaultTtl
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DontAddDefaultGatewayDefault
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableIcmpRedirect
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnablePmtuBhDetect
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnablePmtuDiscovery
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableSecurityFilters
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\GlobalMaxTcpWindowSize
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SackOpts
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SearchList
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Tcp1323Opts
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpMaxDupAcks
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpNumConnections
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpWindowSize
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\UseDomainNameDevolution
reset   SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider\DnsPriority
            old REG_DWORD = 7

reset   SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider\HostsPriority
            old REG_DWORD = 6

reset   SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider\LocalPriority
            old REG_DWORD = 5

reset   SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider\NetbtPriority
            old REG_DWORD = 8

reset   Linkage\UpperBind for USB\VID_148F&PID_2573\5&10EF021E&0&2.  bad value was:
            REG_MULTI_SZ =
                RfwBase9

reset   Linkage\UpperBind for PCI\VEN_10EC&DEV_8136&SUBSYS_83471043&REV_02\4&38D2602C&0&00E1.  bad value was:
            REG_MULTI_SZ =
                RfwBase9

reset   Linkage\UpperBind for ROOT\MS_NDISWANIP\0000.  bad value was:
            REG_MULTI_SZ =
                RfwBase9

  
阅读(2474) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~