Warning
Use an administrator account for these steps, and keep a recent backup before making repair or security changes.
What you will achieve
Repair broken network stacks when DNS, VPN leftovers, or corruption block connectivity.
1) Reset winsock and TCP/IP
Open Admin Command Prompt and run:
netsh winsock reset
netsh int ip reset
ipconfig /flushdns
ipconfig /registerdns
2) Restart and run Network reset
- Reboot once after commands complete.
- Open Settings → Network & Internet → Advanced network settings → Network reset.
- Click Reset now and allow automatic restart.
3) Reconnect VPN and adapters
Recreate VPN profiles if needed because Network reset removes adapters and virtual switches.