A comprehensive Windows network reset utility that automatically elevates to administrator privileges and performs complete network stack reset operations.
- Auto-elevation to Administrator privileges
- Comprehensive network reset including:
- Winsock catalog reset
- DNS cache flush
- TCP/IP stack reset
- Network adapter reset (IPv4/IPv6)
- Windows Firewall reset
- IP configuration renewal
- Error handling with retry mechanisms
- Recovery steps for failed operations
- User confirmation prompts for safety
- Detailed progress reporting
- Double-click
network-reset.bat - Click "Yes" when prompted for Administrator privileges
- Confirm the operation when asked
- Wait for the reset process to complete
- Restart when prompted (recommended)
- Windows operating system
- Administrator privileges (auto-requested)
- Active internet connection (will be temporarily reset)
- Input sanitization
- Administrator privilege verification
- User confirmation prompts
- Graceful error handling
- Safe fallback operations
The script performs the following operations in sequence:
- Winsock Reset - Resets the Windows Socket API
- DNS Flush - Clears DNS resolver cache
- TCP/IP Reset - Resets the TCP/IP stack
- Adapter Reset - Resets IPv4 and IPv6 interfaces
- Firewall Reset - Restores Windows Firewall defaults
- IP Renewal - Releases and renews IP configuration
If you encounter issues:
- Ensure you have Administrator privileges
- Temporarily disable antivirus software
- Run Windows Network Troubleshooter first
- Check Windows Event Logs for additional details
This utility is perfect for resolving:
- DNS resolution issues
- Network connectivity problems
- Corrupted network configurations
- Internet connection instability
MIT License - Feel free to use and modify as needed.
Use at your own risk. Always ensure you have alternative internet access available in case manual network reconfiguration is needed.