Tilbakestille TCP/IP-stakken på Windows (2023 Opplæringen)

Skrevet av Valdis Kok

TCP/IP review: when do you need to reset it?

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 eller 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. Likevel, 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. Dessuten, 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\
  • 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 on Windows, Mac, Linux, Ubuntu.
  • netsh advfirewall reset – resetting Windows Firewall rules back to default values.

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

Resetting TCP/IP on Windows

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, specify CMD.
  2. Search will deliver you Command Prompt result. Right-click it and select Run as Administrator.Command Prompt
  3. Now, the User Account Control window should come up. Choose Ja. Alternatively, provide the Admin’s password.User Account Control - yes
  4. In the command prompt, specify netsh int ip reset and hit Tast inn. Take time until the TCP/IP reset is complete.Resetting TCP/IP - netsh int IP reset
  5. Reboot your PC.

Windows 8/8.1

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

  1. Apply the Windows-tast + R hotkey command to start Run prompt. Indicate cmd in it and hit Ctrl+Shift+Enter to launch it as Administrator.Windows-tast + R Administrator
  2. Once in the User Account Control Window, velge Ja. Otherwise, provide the Administrator’s password to proceed.User Account Control
  3. In CMD, specify netsh int IP reset and hit Tast inn.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 Windows icon in the bottom left area and then enter CMD in the search field.
  2. Windows 7 search will display either CMD eller Command Prompt in the Programs område. Right-click this result and select Run as Administrator.Windows 7 CMD Run as Administrator
  3. Klikk OK or provide Admin’s password to proceed.
  4. In Command Prompt, specify netsh int ip reset and hit Tast inn.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.

Om forfatteren

Valdis Kok

Sikkerhetsingeniør, reverse engineering og minneetterforskning

Legg igjen en kommentar