Reinstalling TCP/IP Network Stack Windows 7

Taken from [] – These instructions were used by a colleague recently when his network stack was b0rK3n. Running both the reset for tcp4 and tcp6 seemed to be key. Just resetting 4 did not resolve his issue.

Open the Command Prompt as an administrator

Run the commands in this document in a Command Prompt that has been started “*as administrator*”.

  1. Click the *Start menu*
  2. Type *cmd* in the search box,
  3. *right-click* the cmd item at the top and select *Run as administrator* from the menu

Reset Winsock

Resets Winsock Catalog to a clean state.
netsh winsock reset
*Restart computer*

Reset Firewall

This command restores the Windows Firewall with Advanced Security policy to the default policy.
netsh advfirewall reset

Reset BranchCache

Resets the BranchCache service. Flushes the local cache. Every configuration parameter of BranchCache will be reset to its default value.
netsh branchcache reset

Reset IPv4

Resets TCP/IP and related components to a clean state.
netsh int ip reset

Reset IPv6

Resets IPv6 configuration state.
netsh int ipv6 reset

2 thoughts on “Reinstalling TCP/IP Network Stack Windows 7

  1. To: [email protected]
    Subject: Reinstalling TCP/IP Network Stack on Windows 7


    Yesterday, I screwed-up my TCP/IP stack (on Windoze/7) something
    ugly. My own damned fault.

    I tried dozens of “fixit”s but none of them worked until I found
    yours. This e-mail proves your solution worked.

    Thank you very much or being such a good “netizen”.

    Dave Schnee

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.