Windows 11 stores detailed profile configurations for every wireless network you connect to, including the network SSID, authentication protocols, security encryption ciphers, and pre-shared network keys. Over months and years of roaming between home routers, office networks, public hotspots, and hotel Wi-Fi connections, this profile database accumulates obsolete, duplicate, and stale connection records. Stale Wi-Fi profiles can degrade networking performance, cause Windows to repeatedly attempt association with defunct access points, or block new connections if a router’s security configuration has changed.
While the Windows 11 Settings app offers a graphical interface to forget known networks, it often fails to display hidden profiles, network interfaces configured across different network adapters, or enterprise profiles deployed with elevated permissions. Using the native command-line utility netsh wlan provides complete administrative control, allowing you to list, inspect, and permanently delete saved wireless profiles in seconds. This guide details how to manage your wireless profile inventory using the Windows command line.
Why netsh wlan Outperforms Graphical Network Management
Managing Wi-Fi profiles via netsh offers distinct advantages over standard Settings pages:
- Unfiltered Inventory: The graphical “Manage known networks” list occasionally masks legacy network profiles, hidden SSIDs, or connection configurations generated by third-party VPN and virtualised adapter software. The
netshtool audits the entire underlying system registry and WLAN cache without filtering. - Adapter-Specific Management: If your PC utilises multiple Wi-Fi adapters (such as an internal motherboard module alongside a high-gain USB wireless dongle),
netshallows you to audit profiles tied to specific hardware interfaces. - Automated Scripting and Resetting: You can purge individual problematic SSIDs or execute bulk scripts to clean all stored network credentials when deploying corporate images or resetting network stacks.
Step 1: Opening Windows Terminal as Administrator
Because modifying wireless network profiles impacts system-wide network services, you must launch your command environment with administrative privileges:
- Right-click the Start button on your taskbar (or press Windows + X).
- Select Terminal (Admin) or PowerShell (Admin) from the Power User menu.
- Click Yes when prompted by User Account Control (UAC).
Step 2: Viewing All Saved Wi-Fi Profiles
To view every wireless network profile currently stored on your Windows 11 computer, type the following command and press Enter:
netsh wlan show profiles
The command outputs a comprehensive list separated into user profiles and system profiles:
Profiles on interface Wi-Fi:
Group policy profiles (read only)
---------------------------------
<None>
User profiles
-------------
All User Profile : Home_Network_5G
All User Profile : Office_Guest_WiFi
All User Profile : CoffeeShop_Free_WiFi
All User Profile : Airport_Transit_Hotspot
Take note of the exact profile name (the text to the right of the colon) for the network you wish to remove.
Step 3: Inspecting Detailed Profile Properties (Optional)
Before deleting a profile, you can verify its security configuration and network settings by inspecting its properties:
netsh wlan show profile name="Profile_Name"
Replace Profile_Name with the exact SSID enclosed in quotation marks. This command displays the radio type, authentication mechanism (such as WPA2-Personal or WPA3-SAE), cipher type, and whether the network connects automatically when within broadcast range.
Step 4: Deleting a Specific Wi-Fi Profile
To permanently delete a single stored Wi-Fi network profile, execute the following command:
netsh wlan delete profile name="Profile_Name"
For example, to remove a network named CoffeeShop_Free_WiFi, run:
netsh wlan delete profile name="CoffeeShop_Free_WiFi"
Windows immediately returns confirmation:
Profile "CoffeeShop_Free_WiFi" is deleted from interface "Wi-Fi".
This operation permanently erases the stored credentials, encryption keys, and connection preferences from Windows. The next time you encounter that access point, your device will treat it as an entirely new network.
Step 5: Deleting Wi-Fi Profiles Across Specific Network Adapters
If your Windows 11 PC has multiple wireless network cards and you want to remove a profile strictly from a particular adapter, specify the interface name parameter:
netsh wlan delete profile name="Profile_Name" interface="Wi-Fi 2"
Step 6: Purging All Saved Wi-Fi Profiles (Total Wireless Reset)
When preparing a laptop for sale, reassigning hardware to a new employee, or resolving deep-rooted wireless connection corruption, you can wipe all stored Wi-Fi profiles simultaneously using a wildcard operator:
netsh wlan delete profile name=* i=*
This command instructs Windows to iterate through every wireless interface (i=*) and delete every stored profile (name=*). After running this command, your wireless network cache is completely refreshed to clean factory defaults.
Utilising netsh wlan commands ensures your Windows 11 device maintains a clean, responsive wireless connection stack free from legacy credentials and misconfigured authentication handshakes.