轉錄 : 如何在 Windows XP 中重設網際網路通訊協定 (TCP/IP)如何在 Windows XP 中重設網際網路通訊協定 (TCP/IP) 簡介 在 Microsoft Windows XP 中,TCP/IP 堆疊被視為作業系統的核心元件,並且您不能移除 TCP/IP。因此,當您檢視網路介面的元件清單時,可能會注意到在選取 [Internet Protocol (TCP/IP)] 的情況下,[解除安裝] 按鈕是停用的。在極罕見的情況下,解決此問題的最佳方案可能會是重新安裝「網際網路通訊協定」堆疊。但是,有了 NetShell 公用程式,您可以將 TCP/IP 堆疊重設為安裝作業系統時的狀態。本文將告訴您,如何使用 NetShell 公用程式來達成這個目的。 其他相關資訊 NetShell 公用程式 (netsh) 是可以用來設定及監視 Windows XP 網路的命令列指令碼介面。這個工具提供互動式網路 Shell 介面供使用者使用。在 Windows XP 中,您可以在 NetShell 公用程式的 IP 內容中使用 reset 命令。當您執行 reset 命令時,此命令會重新撰寫「網際網路通訊協定」(TCP/IP) 堆疊所使用的相關登錄機碼,以獲得與通訊協定移除後再重新安裝的相同結果。SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\ SYSTEM\CurrentControlSet\Services\DHCP\Parameters\ 命令用法 netsh int ip reset [ 宜蘭民宿log_file_name ]為了順利地執行此命令,您必須指定記錄檔的檔名,以記錄 netsh 所採取的動作。例如,在命令提示字元中,輸入<命令範例>一節所列的任一個範例。系統上的 TCP/IP 堆疊將會重新設定過,並且已採取的動作會記錄到記錄檔 Resetlog.txt 中。第一個範例會在目前的目錄中建立記錄檔,而第二個範例則會建立記錄檔所在位置的路徑。不論是哪一種方式,只要指定的記錄檔已經存在,新的記錄都會附加至現有檔案的結尾。警告 當您執行 netsh winsock reset 命令時,存取或監視網際網路的程式 (例如防毒軟體、防火牆或 Proxy 用戶端) 可能會受到負面的影響。如果執行這個解決方案後,有程式變成無法正常運作,請重新安裝該程式,以還原其功能。 命令範例 netsh int ip reset resetlog.txtnetsh int ip reset c:\resetlog.txt NETSH INT IP RESET 的範例記錄檔下列是發出 IP reset 命令時 netsh 產生的記錄檔範例。實際的記錄檔可能會因為發出命令的系統的組態設定而有所不同。當 TCP/IP 登錄機碼尚未從原始設定更改過時,可能不會有任何動作記錄到檔案中。 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 added SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{2DDD011E-B1B6-4886 -87AC -B4E72693D 10C }\NetbiosOptionsadded SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{BAA9D128-54BB -43F 6-8922-313D537BE03E}\NetbiosOptionsreset SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\NameServerList old REG_MULTI_SZ = 10.1.1 .2 deleted SYSTEM\CurrentControlSet\Services\Netbt\Parameters\EnableLmhostsadded SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886 -87AC -B4E72693D 10C }\AddressTypeadded 21世紀房屋仲介SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886 -87AC -B4E72693D 10C }\DefaultGatewayMetricadded SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886 -87AC -B4E72693D 10C }\DisableDynamicUpd 行銷軟體atedeleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886 -87AC -B4E72693D 10C }\DontAddDefaultGatewayreset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886 -87AC -B4E72693D 10C }\EnableDhcp old REG_DWORD = 0 added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886 -87AC -B4E72693D 10C }\NameServeradded SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886 -87AC -B4E72693D 10C }\RawIpAllowedProtocolsadded SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886 信用卡代償-87AC -B4E72693D 10C }\TcpAllowedPortsadded SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886 -87AC -B4E72693D 10C }\UdpAllowedPortsadded SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B 3675C 3-6EB9-4936-B991-04DA 31024C 4E}\DisableDynamicUpdatereset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B 3675C 3-6EB9-4936-B991-04DA 31024C 4E}\EnableDhcp old REG_DWORD = 0 reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B 3675C 3-6EB9-4936-B991-04DA 31024C 4E}\IpAddress old REG_MULTI_SZ = 12.12.12 .12 deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B 3675C 3-6EB9-4936-B991-04DA 31024C 4E}\IpAutoconfigurationAddressdeleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B 3675C 3-6EB9-4936-B991-04DA 31024C 4E}\IpAutoconfigurationMaskdeleted 澎湖民宿SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B 3675C 3-6EB9-4936-B991-04DA 31024C 4E}\IpAutoconfigurationSeedreset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B 3675C 3-6EB9-4936-B991-04DA 31024C 4E}\RawIpAllowedProtocols old REG_MULTI_SZ = 0 reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B 3675C 3-6EB9-4936-B991-04DA 31024C 4E}\SubnetMask old REG_MULTI_SZ = 255.255.255.0 reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B 3675C 3-6EB9-4936-B991-04DA 31024C 4E}\TcpAllowedPorts old REG_MULTI_SZ = 0 reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B 3675C 3-6EB9-4936-B991-04DA 31024C 4E}\UdpAllowedPorts old REG_MULTI_SZ = 0 added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB 永慶房屋-43F 6-8922-313D537BE03E}\AddressTypeadded SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB -43F 6-8922-313D537BE03E}\DefaultGatewayMetricadded SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB -43F 6-8922-313D537BE03E}\DisableDynamicUpdatedeleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB -43F 6-8922-313D537BE03E}\DontAddDefaultGatewayreset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB -43F 6-8922-313D537BE03E}\EnableDhcp old REG_DWORD = 0 added SYSTEM\CurrentControlSet\Servi SEO點擊軟體ces\Tcpip\Parameters\Interfaces\{BAA9D128-54BB -43F 6-8922-313D537BE03E}\NameServeradded SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB -43F 6-8922-313D537BE03E}\RawIpAllowedProtocolsadded ARMANISYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB -43F 6-8922-313D537BE03E}\TcpAllowedPortsadded SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB -43F 6-8922-313D537BE03E}\UdpAllowedPortsreset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\DefaultGateway old REG_MULTI_SZ = 10.1.1 .2 reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\DefaultGatewayMetric old REG_MULTI_SZ = 0 added SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\DisableDynamicUpdatereset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\EnableDhcp old 節能燈具REG_DWORD = 0 reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\IpAddress old REG_MULTI_SZ = 10.1.1 .1 deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\IpAutoconfigurationAddressdeleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\IpAutoconfigurationMaskdeleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\IpAutoconfigurationSeedreset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\NameServer old REG_SZ = 10.1.1 .2,10.1.1.3 reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A 租辦公室}\RawIpAllowedProtocols old REG_MULTI_SZ = 0 reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\SubnetMask old REG_MULTI_SZ = 255.255.255.0 reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\TcpAllowedPorts old REG_MULTI_SZ = 0 reset SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B 26A -4E2B-A3FE-3D 246F 90A 81A }\UdpAllowedPorts old REG_MULTI_SZ = 0 deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DontAddDefaultGatewayDefaultdeleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableIcmpRedirectdeleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableSecurityFiltersdeleted 西裝外套SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SearchListdeleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\UseDomainNameDevolution人氣流量軟體 r>


.msgcontent .wsharing ul li { text-indent: 0; }



分享

Facebook
Plurk
YAHOO!

創作者介紹

耆英饑饉8小時

oq56oqmvnp 發表在 痞客邦 PIXNET 留言(0) 人氣()