How to Forget WiFi Network on Windows 11: Complete Guide (2026)

Complete guide to forgetting WiFi networks on Windows 11 with Settings, Command Prompt, PowerShell methods.

Extended Guide

Detailed explanation of why you should forget WiFi networks.

Security Risks

Evil Twin attacks occur when hackers create fake networks with names identical to legitimate ones. Your device auto-connects, exposing traffic to man-in-the-middle attacks where criminals can steal passwords and sensitive data.

Troubleshooting Benefits

Clearing networks resolves IP conflicts from previous sessions, corrupted profiles causing disconnections, DNS resolution issues, and certificate errors from expired credentials.

All Methods Explained

Settings App Method

This is the most user-friendly approach. Press Windows+I, go to Network and internet, select Wi-Fi, click Manage known networks, then click Forget next to any network. Windows automatically removes the SSID, deletes passwords from Credential Manager, clears IP settings, and removes certificates.

Command Prompt Method

For advanced users, open Terminal as Admin. Type netsh wlan show profiles to see all saved networks. Then type netsh wlan delete profile name=YourNetwork to remove specific ones. This method is perfect for automation and bulk operations.

PowerShell Method

Enterprise users prefer Get-NetConnectionProfile to list networks and Remove-NetConnectionProfile to delete them. This integrates with Windows management tools for mass deployment.

Best Practices

Always remove public WiFi immediately after use. Disable auto-connection to suggested hotspots in Settings. Enable random hardware addresses for privacy. Regular cleanup improves performance and security.

Conclusion

WiFi management is essential for device security. Regular maintenance prevents security vulnerabilities and connection issues.