在 Windows 上重置 TCP/IP 堆棧 (2023 教程)

TCP/IP 審查: 你什麼時候需要重置它?

TCP/IP is a Transmission Control Protocol/Internet Protocol. The TCP component lets you set a connection between two endpoints and specifies how the information is transferred and obtained. It also provides firm and trouble-free transfer of packets. The IP component is only associated with packets. To cut a long story short, TCP IP is a range of communication protocols applied to interconnect network appliances on the web.

TCP/IP Reset restores the PC’s Internet Protocol parameters to default and often resolves connection troubles. Restoring these parameters is a routine work while attempting to fix “This Site Can’t be Reached” or “Unable to Connect to the Internet” or “Hmm… cannot reach this page” issues with error codes DNS_PROBE_FINISHED_NXDOMAIN 或者 INET_E_RESOURCE_NOT_FOUND.

Please refer to the navigation panel to promptly scroll to the data on resetting TCP IP solely on your Windows OS version.

Review of CMD commands for repairing network issues

You can refer to various commands for resetting particular network parameters. 儘管如此, keep in mind the need to launch Command Prompt with Admin’s rights first. Failure to do so will result in TCP/IP resetting not functioning properly. 此外, you might experience an Access Denied issue.

  • Netsh int IP reset – appoints Internet Protocol Settings to default. The command rewrites two registry entries: SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
    SYSTEM\CurrentControlSet\Services\DHCP\Parameters\
  • Netsh Winsock reset – Resetting Winsock Catalog to clean condition. Winsock, in brief, is responsible for Internet application input/output requests.
  • netsh interface ipv4 reset – resetting all amendments to IPv4 parameters.
  • netsh interface ipv6 reset – resetting all amendments to IPv6 parameters.
  • Ipconfig /release command gives up the customer’s IP address obtained via the DHCP server. The /release command transfers the server a DHCP relate alert so that the previous IP address can be flagged as available and applied by other clients.
  • Ipconfig /renew – this command is applied to ask for a new IP address and for refreshing DNS information via DHCP server.
  • ipconfig /flushdns command is applied for clearing the DNS cache and forcing hostnames to be resolved freshly and applying the fresh DNS information. Read our complete tutorial on flushing DNS 在 Windows 上, 蘋果, Linux, 烏班圖.
  • netsh advfirewall reset – resetting Windows Firewall rules back to default values.

The following tutorial applies netsh int ip reset 命令. 仍然, don’t hesitate to apply the extra commands reviewed above in case of necessity.

Resetting TCP/IP on Windows

視窗 10

  1. Considering the version of your taskbar, either go to magnifying glass icon in the taskbar to open Windows search or, in case the search bar is obvious, 指定 指令管理系統.
  2. Search will deliver you 命令提示符 result. Right-click it 並選擇 以管理員身份執行.命令提示符
  3. Now, 這 使用者帳戶控制 window should come up. 選擇 是的. 或者, provide the Admin’s password.使用者帳戶控制 - 是的
  4. In the command prompt, 指定 netsh int ip reset 並擊中 進入. Take time until the TCP/IP reset is complete.Resetting TCP/IP - netsh int IP reset
  5. Reboot 你的電腦.

視窗 8/8.1

For resetting TCP/IP 在 Windows 上 8/8.1, follow the below-said milestones.

  1. Apply the Windows 鍵 + 右 hotkey command to start 跑步 迅速的. 表明 指令 in it and hit Ctrl+Shift+Enter to launch it as Administrator.Windows 鍵 + R Administrator
  2. Once in the User Account Control Window, 選擇 是的. 否則, provide the Administrator’s password to proceed.使用者帳戶控制
  3. 指令管理系統, 指定 netsh int IP reset 並擊中 進入.Resetting TCP/IP Windows 8 - netsh int ip reset
  4. Take time until a full reset is completed and then reboot your system.

Windows 7/Vista

  1. Click the 視窗圖標 in the bottom left area and then enter 指令管理系統 in the search field.
  2. 視窗 7 search will display either 指令管理系統 或者 命令提示符 在裡面 Programs 區域. Right-click this result and select 以管理員身份執行.視窗 7 CMD Run as Administrator
  3. 點擊 好的 or provide Admin’s password to proceed.
  4. 在命令提示字元下, 指定 netsh int ip reset 並擊中 進入.Resetting TCP/IP Windows 7 - netsh int ip reset
  5. Take time until TCP IP resetting is complete and then reboot your device.

After fulfilling these guidelines, your TCP/IP stack will be duly reset.

關於作者

瓦爾迪斯·科克

安全工程師, 逆向工程和內存取證

發表評論