???? ID: 317518 - ????? ???????: 04 ?????? 2010 - ??????: 2.0

"??????? ????????? (TCP/IP)" Windows Server 2003 ??? ????? ???? ?? ??? ???? ????

?????? ??????This article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.

?? ????? ??

??? ?? ??????? ???? | ??? ?? ??????? ????

??????

??? ?? ????? ????? ?? ???? ??? ??????????? ????????? (TCP/IP)??? ??????????? ??????? ????? ?????? ?? ????? ???? ???????? ?? ???? ??? ??????? ??????? ??????? ??? ????????? ???? ???? ??, ?? ???? ????? ????????? ???? ???????, ???????? (?????) ??? ?? ??????? ????? ???? ??, ??????? ??????????? ???????? ?????????/??????? ????????? (TCP/IP) ????? Microsoft Windows Server 2003 ?? ?? ??? ??? ?? ?? ?????? ???? ?? ?????

??? ???????? ???, ?? TCP/IP ????? ?? ???? ??? ?????? ??? ???? ?? ??? TCP/IP ?? ???????????? ???? ?? ??? ?? ????? ?? ???? ???? ???????? ?????? ??????? ???? ?? ??? ??? conciliation ???? ?? ??? TCP/IP ????? ?? ????? ???? ?? ??? ?? Netsh.exe ?????? ?? ????? ?? ???? ????

???? ???????

Netsh.exe ?????? (netsh) ?? ???????-?????? ???????????? ????? ???????? ???? ?? Windows Server 2003 ?? ??????? ???? ?? ??? ????? ?? ???? ??? ?? ?????????? ??? ?? ????? ???? ???? ???? ?????? ??????? ??? ???????? ???

?? ????? ?? ???? ???????????? ?? ?????? ?? ??????? ????????? (IP) ?? ?????? ??? ????? TCP/IP-??????? ????????? ???????? ?? ????????? ???? ?? ???:
  • SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
  • SYSTEM\CurrentControlSet\Services\DHCP\Parameters\
If you run this command, you get the same result as if you removed and reinstalled the TCP/IP protocol.

???????:Thenetsh int ip resetcommand will reset all IP information, default gateway information, and DNS server information. Before you restart the computer after you run this command, you must configure your TCP/IP settings. Otherwise, you may not be able to connect to the computer remotely.

Command syntax

netsh int ip reset [log_file_name]
?? ????? ???? ?? ???netshTCP/IP ????? ?? ????? ???? ?? ??? ???? ??, ?????? ???? ?? ?????? ??????? ??? ??? ????? ??? ????????? ???? ?????? ??? ??? ?? ?? ???? ?? "???? ?????" ??? ??? ?????? ????????? ??? ???? ???, ?? TCP/IP ????? ?? ??????? ???????? ?? ????? ????, ?? ?? ?????? ?? ?????????? ?? ???? ?????? ??? ????????? Resetlog.txt ????? ??? ??????? ???? ??? ???? ???? ?????? ??? ??? ????? ??????? ??????? ??? ???? ?? ??; ????? ?????? ??? Resetlog.txt ??? ???? ?? ??? ??? ????? ?? ????????? ???

???:??? ??? ?????? ??? ????? ?? ??? ??? ?? ??? ?????? ??????? ??? ????? ??, ?? ?? ??? ???? ????? ?????? ????? ?? ??? ??? ????? ???? ???

???? ?????

????? ?????? ????? ?? ????? ???? ????netshTCP/IP ????????? ????? ?? ????? ???? ?? ??? ???? ???

?????? 1

  1. ????? ????,????????? ????-????? ????, ?? ???? ????????.
  2. ??????????????? ???,cmd?? ????-????? ????, ?? ???? ???OK.
  3. ????? ????????? ??, ????? ???? ???? ???? ?? ???? ??? ENTER ?????::
    netsh int ip resetlog.txt ????? ????
    ???:: ???? ???? ??? "int" ?? ?? shortened ???????????????????
  4. ??????:exit???? ????, ?? ???? ??? ENTER ?????..

?????? 2

  1. ????? ????,????????? ????-????? ????, ?? ???? ????????.
  2. ??????????????? ???,cmd?? ????-????? ????, ?? ???? ???OK.
  3. ????? ????????? ??, ????? ???? ???? ???? ?? ???? ??? ENTER ?????::
    netsh int ip c:\resetlog.txt ????? ????
  4. ??????:exit???? ????, ?? ???? ??? ENTER ?????..
???? ?? ??? ??? ?????, ???? ???? ????, ??? ????? ?????, ?? ??? ???? ?????. ???????? ??? ??? sub-contexts ?? ???? ?? ??? ?????? ??netsh????? ?????? ?? ???, ?? ??? ??? ?????netsh????? ?????? ??? ?????? ????????? ????? ????????? ?? ????? ???? ???? ????:
  • ??????:netsh????? ????, ?? ???? ??? ENTER ?????..
  • ??????:netsh int????? ????, ?? ???? ??? ENTER ?????..
  • ??????:int ip netsh ??????? ????, ?? ???? ??? ENTER ?????..
  • ??????:netsh int ip ????? ????????? ????, ?? ???? ??? ENTER ?????..

NETSH INT IP ????? ???? ?? ??? ??? ????? ?? ??????

????? ??? ?? ?????? ??????? ?? ?? ?? ?? ??? ????? ?? ?? ?????? ??netsh??? ?? ?????IP ????? ????????? ???????? ??? ????? ??? ?? ?? ??????? ????? ??? ???????? ?? ??????????? ?? ???? ?? ???-??? ?? ???? ??? ??????????, ??? ???????? ??? ??? ????? ??? ??? 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-B4E72693D10C}\NetbiosOptions
added   SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{BAA9D128-54BB-43F6-8922-313D537BE03E}\NetbiosOptions
reset   SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\NameServerList
            old REG_MULTI_SZ =
                10.1.1.2

deleted SYSTEM\CurrentControlSet\Services\Netbt\Parameters\EnableLmhosts
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\AddressType
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\DefaultGatewayMetric
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\DisableDynamicUpdate
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\DontAddDefaultGateway
reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\EnableDhcp
            old REG_DWORD = 0

added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\NameServer
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\RawIpAllowedProtocols
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\TcpAllowedPorts
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}\UdpAllowedPorts
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\DisableDynamicUpdate
reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\EnableDhcp
            old REG_DWORD = 0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\IpAddress
            old REG_MULTI_SZ =
                12.12.12.12

deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\IpAutoconfigurationAddress
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\IpAutoconfigurationMask
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\IpAutoconfigurationSeed
reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\RawIpAllowedProtocols
            old REG_MULTI_SZ =
                0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\SubnetMask
            old REG_MULTI_SZ =
                255.255.255.0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\TcpAllowedPorts
            old REG_MULTI_SZ =
                0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{5B3675C3-6EB9-4936-B991-04DA31024C4E}\UdpAllowedPorts
            old REG_MULTI_SZ =
                0

added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\AddressType
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\DefaultGatewayMetric
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\DisableDynamicUpdate
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\DontAddDefaultGateway
reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\EnableDhcp
            old REG_DWORD = 0

added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\NameServer
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\RawIpAllowedProtocols
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\TcpAllowedPorts
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BAA9D128-54BB-43F6-8922-313D537BE03E}\UdpAllowedPorts
reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\DefaultGateway
            old REG_MULTI_SZ =
                10.1.1.2
                

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\DefaultGatewayMetric
            old REG_MULTI_SZ =
                0
               

added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\DisableDynamicUpdate
reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\EnableDhcp
            old REG_DWORD = 0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\IpAddress
            old REG_MULTI_SZ =
                10.1.1.1
               

deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\IpAutoconfigurationAddress
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\IpAutoconfigurationMask
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\IpAutoconfigurationSeed
reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\NameServer
            old REG_SZ = 10.1.1.2,10.1.1.3

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\RawIpAllowedProtocols
            old REG_MULTI_SZ =
                0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\SubnetMask
            old REG_MULTI_SZ =
                255.255.255.0
               

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\TcpAllowedPorts
            old REG_MULTI_SZ =
                0

reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}\UdpAllowedPorts
            old REG_MULTI_SZ =
                0

deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DontAddDefaultGatewayDefault
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableIcmpRedirect
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableSecurityFilters
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\SearchList
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\UseDomainNameDevolution
<completed>
				
???:Windows Server 2003 ?????? ??? 1 ???, ?? ?? ????? ?? ???? ???netsh winsock ?????Winsock ?? ??????? ?? ??? ???? ???

???????:??? ??????????? ?? ?? ??????? ?? ???????, ????????? ?????????, ???? ??????? ??????? ?????????, ?? ???????? ????????? ?? ????????? ???????? ???? ??? ?? ??netsh winsock ?????????? ??? ???? ??? ??????? ????????? ?? ?? ?? ?????? ?? ??? ??? ?? ??? ???? ??? ?? ???? ??, ?? ????????? ?? ??????????? ?? ???? ???? ?? ??? ??? ???: ??????? ????..

??????

???? ??????? ?? ???, Microsoft ?????? ??? ??? ???? ????? ?? ??? ????? ???? ?????? ????? ????::
811259  (http://support.microsoft.com/kb/811259/ ) Windows Server 2003, Windows XP, ?? Windows Vista ??? Winsock2 ???? ?? ???? ??? ????? ?? ???? ???? ???? ???

???? ???? ???? ??:
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Small Business Server 2003 Standard Edition
  • Microsoft Windows Small Business Server 2003 Premium Edition
??????: 
kbinfo kbnetwork kbmt KB317518 KbMthi
???? ?????? ???????????? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:317518  (http://support.microsoft.com/kb/317518/en-us/ )