How to reset the tcp ip protocol

Source: Internet
Author: User

I believe you have some knowledge about this aspect through some column-based TCP IP protocol learning. In our computer, there are also operations related to this Protocol. Now let's introduce how to reset the tcp ip protocol. This operation is risky, so you must consider it before resetting.

How to reset the tcp ip protocol

In the Connection Properties dialog box of Windows Server 2003 (Windows 2003 for short), if you click the "Internet Protocol (TCP/IP) option, the" Uninstall "button is dimmed, is unavailable. This is because the tcp ip protocol is the core component of Windows Server 2003 and cannot be deleted 。

What if we need to reset the TCP/IP to the original status? In this case, you can use the "netsh" command line tool to solve this problem. In the "run" dialog box, enter "cmd" to open the "command prompt" window, then enter the command line "netsh int ip reset resetlog.txt" or "netsh int ip reset c: \ resetlog.txt "and press the Enter key. The" reset "command can overwrite the TCP/IP-related registry keys" System \ CurrentCon trolSet \ Services \ Tcpip \ Parameters \ "and" System \ CurrentControlSet ". \ Services \ DHCP \ Parame ters \", the result of running the preceding command is the same as that of deleting and re-installing TCP/IP 。

In addition, the locations for storing the resetlog.txt "Log File vary depending on different commands. The former is to create the log file in the current folder, while the latter specifies the specific storage path 。

In the network components list of Windows XP, the "unmount" button of the Internet Protocol (TCP/IP) is unavailable in gray. This is because of the Transmission Control Protocol/Internet Protocol (TCP/IP) stack is the core component of Microsoft XP/2003 (tcp ip protocol is the default protocol for Windows XP ), cannot be deleted. Therefore, Windows XP does not allow you to uninstall or reset the tcp ip protocol. In special cases, you need to reinstall the tcp ip protocol. How can this problem be solved?

Solution

In this case, you can use the NetShell utility to reset the TCP/IP stack, restore it to the status when the operating system is installed for the first time. The specific operations are as follows:

1. Click start --> Run, enter "CMD", and click "OK ";

2. Enter commands in Command Line Mode

Netsh int ip reset C: \ resetlog.txt

(In this example, the log file of the resetlog.txtrecord command is specified as the resetlog.txt log file and the complete path 。)

You can view the running result in C: \ resetlog.txt (which can be provided based on your actual operation in the consulting service)

The result of running this command is the same as that of deleting and re-installing the TCP/IP protocol 。

Note:

Resetting the tcp ip protocol is risky. Back up important data before the operation and use it as appropriate based on the Operation proficiency 。
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.