Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Block or Hide Wi-Fi Networks in Windows

Use built-in netsh commands to block selected Wi-Fi network names, hide blocked entries from the Windows list, create an allowlist, and reverse every filter safely.

Table of Contents

Windows 11 and 10 can block selected Wi-Fi network names with the built-in netsh wlan command. A block filter prevents that PC from connecting to the matching SSID; a separate display setting can hide blocked entries from the available-networks list. The change affects only the Windows computer where you run the commands.

Hide or block Wi-Fi networks in Windows

What this setting does

  • It does not turn off or interfere with a neighbor's router.
  • It does not improve your signal strength or reduce radio interference.
  • It does not hide your own network from other devices.
  • It can prevent accidental connection to an unwanted or similarly named network on this PC.

Because a block filter changes connection behavior, record every command you add. On a work or school PC, the organization may already manage wireless filters; contact the administrator instead of changing them.

List nearby Wi-Fi networks

  1. Open Start, search for Terminal or Command Prompt, and select Run as administrator.
  2. Run:
netsh wlan show networks

List nearby Wi-Fi network names with netsh

Copy the SSID exactly, including spaces and capitalization. An SSID can be reused by multiple access points, so filtering a name can block every nearby network broadcasting that same name.

Block one Wi-Fi network name

Replace NETWORK NAME with the unwanted SSID and keep the quotation marks:

netsh wlan add filter permission=block ssid="NETWORK NAME" networktype=infrastructure

Add a blocked Wi-Fi SSID filter with netsh

After the command succeeds, Windows will not connect to that SSID. Depending on the Windows build and display settings, the network may still appear with a blocked indicator rather than disappearing completely.

Windows Wi-Fi list after applying an SSID filter

Hide blocked networks from the list

To hide entries that are already blocked, run:

netsh wlan set blockednetworks display=hide

To make blocked entries visible again without removing their filters:

netsh wlan set blockednetworks display=show

Microsoft documents these options in the official netsh wlan command reference.

Allow only selected Wi-Fi names

An allowlist can be useful on a dedicated or managed computer, but it is easy to lock yourself out. Add every approved SSID before enabling the deny-all filter:

netsh wlan add filter permission=allow ssid="MY NETWORK" networktype=infrastructure
netsh wlan add filter permission=denyall networktype=infrastructure

Run the first command again for each additional approved network. Confirm the names carefully and keep an administrator session open while testing. A deny-all filter will also block hotel, phone-hotspot, and emergency fallback networks that are not on the allowlist.

View current Wi-Fi filters

netsh wlan show filters

Review this output before deleting or adding filters. It separates allow, block, and deny-all entries.

Remove a filter

Unblock one named network:

netsh wlan delete filter permission=block ssid="NETWORK NAME" networktype=infrastructure

Remove one allow entry:

netsh wlan delete filter permission=allow ssid="MY NETWORK" networktype=infrastructure

Remove the deny-all rule:

netsh wlan delete filter permission=denyall networktype=infrastructure

If a network still does not appear, set blocked networks to display, rescan the Wi-Fi list, and verify that the router is in range:

netsh wlan set blockednetworks display=show
netsh wlan show filters
netsh wlan show networks

Filtering is not the same as forgetting a network

Forget removes the saved password and connection profile but leaves the SSID visible. A block filter prevents connection to that SSID until the filter is deleted. To forget a profile, open Settings > Network & internet > Wi-Fi > Manage known networks, select it, and choose Forget.

Do not hide your router's SSID for security

Turning off SSID broadcast does not make a wireless network meaningfully secure; devices still exchange information that can reveal its presence, and manually configured clients can remain connected. Use WPA2-Personal or WPA3-Personal, a strong unique password, current router firmware, and a separate guest network instead. TipsMake's guide to preventing unauthorized Wi-Fi access covers the practical controls.

Filtering will not fix interference

Hiding names changes only the Windows list. Nearby radios continue transmitting. If your Wi-Fi is slow or unstable, check signal strength, router placement, channel use, and frequency band. A Wi-Fi analyzer can help identify crowded channels, while TipsMake's Windows 11 Wi-Fi troubleshooting guide covers adapter and driver problems.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.