How to: Restore connectivity in Windows by resetting the networking components


In extreme cases, after many other options have been tried, a possible solution for network connection problems may be to reinstall the Internet Protocol stack.

CAUTION: Using this utility can erase hard-coded TCP/IP settings! Look through the TCP/IP settings and write down or take screenshots of any settings that are not default settings. In other words, if the IP address, DNS information, or other information is manually configured, it may have to be reconfigured after running this command. It is very important to make note of settings that may have been manually configured!

This article will guide you through resetting your TCP/IP stack in Windows, as well as flushing your DNS cache and releasing and renewing your IP address.

NOTE: You need administrator privileges in order to perform the steps below.

1) Reset winsock.

2) Reset TCP/IP.

3) Release and renew your DHCP lease.

4) Flush your DNS cache.

5) Restart your computer.


You have reset your TCP/IP stack and flushed your DNS cache. You are able to connect to your desired network successfully.