Skip to content

Instantly share code, notes, and snippets.

@TimSC
Created November 18, 2014 09:33
Show Gist options
  • Save TimSC/21b9f9b955e8f11adb3f to your computer and use it in GitHub Desktop.
Save TimSC/21b9f9b955e8f11adb3f to your computer and use it in GitHub Desktop.
Windows network reset script
echo Release current IP address
ipconfig /release
echo Flushes the ARP cache
arp -d *
echo Flush the NetBIOS cache
nbtstat -R
Refresh DCHP lease for IP address
ipconfig /renew
echo Flushes the DNS cache
ipconfig /flushdns
echo Re-registers with WINS
nbtstat -RR
echo Re-register with DNS
ipconfig /registerdns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment