win-network-reset.bat
· 343 B · Batchfile
Brut
:: Requires elevated prompt. Flushes DNS, releases then renews IP address, re-registers DNS, resets the Winsock Catalog, and then restarts the PC. If remote, ensure you can recover in case the machine does not reconnect.
ipconfig /flushdns && ipconfig /release && ipconfig /renew && ipconfig /registerdns && netsh winsock reset && shutdown /r
| 1 | :: Requires elevated prompt. Flushes DNS, releases then renews IP address, re-registers DNS, resets the Winsock Catalog, and then restarts the PC. If remote, ensure you can recover in case the machine does not reconnect. |
| 2 | |
| 3 | ipconfig /flushdns && ipconfig /release && ipconfig /renew && ipconfig /registerdns && netsh winsock reset && shutdown /r |