Knowledgebase

Reset and Refresh your Network configuration on Windows

IP Configure to reset and refresh your Internet.

[Run As Admin your CMD and type the commands bellow.]
1: Type "ipconfig /flushdns" and press Enter.
2: Type "ipconfig /registerdns" and press Enter.
3: Type "ipconfig /release" and press Enter.
4: Type "ipconfig /renew" and press Enter.
5: Type "netsh winsock reset" and press Enter.
6: Restart your PC.

These commands are used to reset and refresh your network configuration on Windows. They are commonly used when you're having issues like:

  • No internet access

  • DNS errors (like “server not found”)

  • Network adapter problems

  • Slow or unstable connections

Here's a breakdown of what each command does, along with the good and bad effects:


ipconfig /flushdns
Purpose: Clears your DNS cache.
Good Effect:
Fixes DNS resolution errors (e.g. websites not loading properly).
Forces Windows to get fresh DNS data instead of using possibly corrupted cached data.
Bad Effect:
Slower first-time loading of websites after the flush, because DNS has to be resolved again.
____________________________________________________________________________________________________________________________________________

ipconfig /registerdns
Purpose: Re-registers your computer’s hostname and IP with the DNS server (mainly in a corporate or Active Directory network).
Good Effect:
Helps fix name resolution issues, especially in domain environments.
Useful for updating dynamic DNS records.
Bad Effect:
Not harmful, but usually unnecessary on home networks. No visible effect unless DNS registration is an issue.
____________________________________________________________________________________________________________________________________________

ipconfig /release

Purpose: Releases your current IP address from the DHCP server.
Good Effect:
Can fix issues caused by a bad IP assignment or conflict.
Bad Effect:
Your network connection will drop until you get a new IP via /renew.
____________________________________________________________________________________________________________________________________________

ipconfig /renew
Purpose: Requests a new IP address from the DHCP server.
Good Effect:
Gets a fresh IP, which can solve IP conflicts or network drops.
Bad Effect:
Might take a few seconds to re-establish the connection. Rarely, you could get a new IP in a different subnet that causes new issues (very rare in home networks).
____________________________________________________________________________________________________________________________________________

netsh winsock reset
Purpose: Resets Winsock Catalog to default.
Good Effect:
Fixes many deep network issues (e.g. after malware, proxy misconfig, or bad software installs).
Bad Effect:
May break applications that changed Winsock settings (like some VPNs or proxies). You'll need to reconfigure or reinstall them.

 

  • /ipconfig
  • 0 Users Found This Useful
Was this answer helpful?