- Warning: These commands should only be used by experienced users who both accept and understand the risks involved. Before using any system commands or utilities, please backup all systems, programs, applications, data and files.
EXAMPLE 1: To reset the TCP/IP stack in Windows O/S, you can use the Command Prompt. You MUST use and run the Command (CMD) prompt screen with Administrator's Privileges (or it may not work).
In Windows 10 O/S, from the CMD prompt screen, type and run the following commands:
- netsh winsock reset and press Enter.
- netsh int ip reset and press Enter. (*this command rewrites two registry keys)
- ipconfig /release and press Enter.
- ipconfig /renew and press Enter.
- ipconfig /flushdns and press Enter.
- Exit out of the CMD screen (exit) and recheck your connection. A re-boot, restart should not be needed.
In Windows 7 O/S, from the CMD prompt screen, type and run:
- netsh int ip reset resetlog.txt
- Exit the CMD.
- Restart the computer and check your connection.
EXAMPLE 2: For most MacOS, the TCP/IP stack reset can be run by renewing the DHCP Lease.
- Click on System Preferences then Network. Click on the Internet connection with status Connected. Next, click the Advanced button. Open up the TCP/IP menu and click on Renew DHCP Lease followed by the OK button.