Sometimes, your laptop's Wi-Fi list gets cluttered with unwanted or neighboring networks. In some cases, you might want to prevent a specific "SSID" (Network Name) from appearing in your list entirely.
Follow this advanced guide to Blacklist or Hide unwanted Wi-Fi networks using the Windows Command Prompt.
Step 1: Open Command Prompt as Administrator
To hide a network name, you need administrative privileges:
-
Click the Start menu and type
cmd. -
Right-click on Command Prompt and select Run as Administrator.
Step 2: Identify the Network Name (SSID)
Before hiding, make sure you have the exact name of the Wi-Fi you want to block.
-
Type the following command and press Enter to see all nearby networks:
netsh wlan show networks
Step 3: Block/Hide the Specific Wi-Fi Name
Once you have the name (e.g., "Neighbor_WiFi"), type the following command: netsh wlan add filter permission=block ssid="WiFi_Name" networktype=infrastructure
Note: Replace
"WiFi_Name"with the actual name of the network you want to hide.
What happens next? Windows will immediately add this network to its "Block List." It will no longer appear in your Wi-Fi settings or taskbar list, even if it is in range.
How to "Unhide" or Restore the Network
If you ever need to see that network again, simply run this command in the Administrator Command Prompt: netsh wlan delete filter permission=block ssid="WiFi_Name" networktype=infrastructure
Why use this method?
-
Clean Interface: Keep your Wi-Fi list organized by showing only the networks you use.
-
Privacy & Security: Prevent accidental connection attempts to untrusted or malicious "Open" Wi-Fi networks nearby.
-
Parental Control: Block specific home networks on a child's laptop to limit access.
For more advanced Windows and Linux server tips, visit the Western Datacenter Knowledgebase.
