If you click Internet Protocol (TCP/IP) entries in the list of the following items that are displayed in the Local Area Connection property, you will find that the Uninstall button is unavailable (disabled). This is because the Control Protocol/internet Protocol (TCP/IP) stack is a core component of Microsoft Windows Server 2003 and cannot be removed.
In some cases, you may need to reinstall TCP/IP to restore the TCP/IP stack to its original state. You can use the Netshell utility to reset the TCP/IP stack so that it reverts to the state when the operating system was first installed.
The Netshell utility (Netsh) is a command-line scripting tool that you can use to configure and monitor the Windows Server 2003 network with 2144 small games. This tool provides an interactive network shell interface.
You can use the Reset command in the Internet Protocol (IP) context of the utility to override the following TCP/IP-related registry keys:
system/currentcontrolset/services/tcpip/parameters/
system/currentcontrolset/services/dhcp/parameters/
Running this command results in the same effect as removing and reinstalling the TCP/IP protocol.
Command syntax
netsh int ip reset [log_file_name]
To reset the TCP/IP stack by using the Netsh command, you must specify the name of the log file that records the command result. If you enter any of the commands that are described in the "Command examples" section of this article, the TCP/IP stack in the current computer will be reset and the activity for that XX will be logged to the Resetlog.txt file specified on the command line. In the first example, 3366 small game log files are created in the current folder, and in the second example, the full path to the Resetlog.txt log file is specified.
Note: If the name of the file is the same as the name of an existing log file in the destination folder, the information for the new log file is appended to the end of the existing file.
command example
The following example shows how to use the Netsh command to reset the TCP/IP protocol stack.
Example 1
Click Start, and then click Run.
In the Open box, type cmd, and then click OK.
At the command prompt, type the following command, and then press ENTER:
netsh int ip reset resetlog.txt
Note: In the above command, "int" is an abbreviated form of the interface command.
Type exit, and then press ENTER.
Example 2
Click Start, and then click Run.
In the Open box, type cmd, and then click OK.
At the command prompt, type the following command, and then press ENTER:
netsh int ip reset c:/resetlog.txt
Type exit, and then press ENTER.
To view Help on a command, type a space, 2144 mini-games, and then type?. Additional help is displayed about the commands available in the Netsh command sub-context. For example, to view the Netsh commands that are described in the previous section, type the following command at the command prompt:
Type netsh, and then press ENTER.
Type netsh int, and then press ENTER.
Type the netsh int ip, and then press ENTER.
Type netsh int ip reset, and then press ENTER.
Example of a log file for the NETSH INT IP RESET
The following is an example of a log file that was generated by Netsh after the IP reset command was run. Depending on the configuration on the computer that issued the command, the actual log file will be different. Typically, if you do not replace the original configuration of a TCP/IP registry key, no action is recorded in the file.
Resetsystem/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/dontadddefaultgatewaydefau
Lt
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