如果您所在地区有多个WiFi网络,当您尝试连接到您自己的网络时,您会看到所有这些网络。不必要的网络列表——尤其是那些安全且无论如何都不会连接的网络——很快就会变得混乱和烦人。
幸运的是,您可以隐藏其他WiFi网络,这样您就不会在计算机上看到它们。隐藏这些其他无线网络后,您将可以清楚地访问想要查看的一个(或几个)(want )。
隐藏其他WiFi网络不是永久性的。您可以随时撤消这些步骤以再次查看它们。本文底部对此进行了介绍。
隐藏 Wi-Fi 网络有什么作用?(What Does Hiding a Wi-Fi Network Do?)
隐藏其他WiFi网络是不言自明的:您将看不到该网络。当您选择要连接的WiFi网络时,任何与您阻止的网络名称匹配的网络名称都不会显示在您的可用网络列表中。
隐藏 WiFi 网络仅适用于您的(your )计算机。换句话说,当您按照以下步骤操作时,您要做的就是阻止它们与其他WiFi网络一起列出;您周围的其他人仍然可以看到他们并与他们联系。
阻止WiFi网络不会提醒所有者,这并不违法或不道德。再说一次(Again),你真的只是在阻止自己看到它。
隐藏其他WiFi网络实际上并不能阻止无线信号到达您所在的区域。如果您想阻止附近的WiFi网络,因为您试图增强由干扰引起的微弱信号(boost weak signals),更好的选择是更改WiFi频道。WiFi 频道扫描仪(WiFi channel scanner)有助于识别附近网络正在使用哪些频道。
如何隐藏其他 WiFi 网络(How To Hide Other WiFi Networks)
Windows不允许您通过方便的图形用户界面隐藏WiFi网络。(WiFi)只需右键单击要隐藏的网络并单击隐藏/阻止按钮,这将是一件好事,但这不是我们可以使用的。
相反,您必须通过命令提示符(Command Prompt)运行一些命令。如果您仔细按照步骤操作,这是一个非常简单的过程。
- 通过在“开始(Start)”菜单中搜索cmd,右键单击它,然后选择“以管理员身份运行”,以管理员(Run as administrator)身份打开命令提示符(Command Prompt)。如果您使用的是Windows XP,您只需从开始菜单打开命令提示符(Command Prompt),而无需担心管理员权限。
- 输入这个命令:netsh wlan show networks
如您所见,列出了您的计算机现在可以连接的所有无线网络。
- 确定您要隐藏的WiFi网络,并记下其(WiFi)SSID。我们将隐藏的称为HTC_9EF2。
注意(Note):Windows 有时无法识别所有附近的网络。如果您正在寻找以前见过但现在没有看到的网络的SSID (可能是由于信号强度较弱),请使用(SSID)WifiInfoView 之类的(WifiInfoView)WiFi扫描仪来编制更全面的列表。
- 打开记事本(Notepad)或其他文本字段,将以下命令粘贴到其中,然后将我们的SSID替换为您要隐藏的 SSID(确保在其周围保留引号):
netsh wlan add filter permission=block ssid="HTC_9EF2" networktype=infrastructure
- 返回命令提示符(Command Prompt)并输入该命令。您可以通过右键单击黑色空间并选择粘贴(Paste)来完成此操作。
响应应该是过滤器已成功添加到系统上。(The filter is added on the system successfully.)
- 就是这样!该特定WiFi网络将被隐藏。如您所见,如果我们重复显示网络的命令,它就不再存在了。
如果您想要隐藏多个网络,您可以运行不同的命令一次将多个网络添加到阻止过滤器。
这绝对可以节省时间,但请注意,如果您继续执行这些步骤,如果您想再次查看其他网络,例如您将笔记本电脑移动到另一个位置或将SSID更改为您的网络。
- 添加(Add)您想要查看/允许的网络(将NETWORKNAME替换为 SSID):
netsh wlan add filter permission=allow ssid="NETWORKNAME" networktype=infrastructure
- 阻止所有其他网络(every other network):
netsh wlan add filter permission=denyall networktype=infrastructure
如何撤消命令并再次查看网络(How To Undo The Commands & See The Networks Again)
这些是用于取消隐藏网络的相关 netsh 命令:
- 如果您忘记了,要确定哪些SSID被阻止:(SSIDs)
netsh wlan show filters
netsh wlan delete filter permission=block ssid="NETWORKNAME" networktype=infrastructure
netsh wlan delete filter permission=denyall networktype=infrastructure
隐藏自己的 WiFi 怎么样?(What About Hiding Your Own WiFi?)
如果您试图向邻居隐藏您自己的网络(hide your own network from your neighbors),那么阻止您自己的路由器SSID不是解决办法。但是,禁用路由器上的 SSID 广播,并使用强密码保护它。这些只是保护您的 WiFi(secure your WiFi)和阻止不受欢迎的人上车的最佳方法中的两种。
除非您隔壁的WiFi嗅探器真正了解技术和安全性并且可以欺骗他们的 MAC 地址(spoof their MAC address),否则您还可以打开MAC 地址过滤(MAC address filtering)以进一步保护您的网络。
How to Hide Other WiFi Networks When Connecting with Your Computer
If there are multiple WiFi networks in your area, you’ll see all of them when you try connecting to your own. A list of unnecessary networkѕ—especially ones that are secured and that уou’ll never connect to anywaу—can quickly become cluttered and annoying to see.
Fortunately, you can hide other WiFi networks so that you don’t see them on your computer. After hiding these other wireless networks, you’ll have clear access to the one (or few) that you want to see.
Hiding other WiFi networks isn’t permanent. You can always undo these steps to see them again. That’s covered at the bottom of this article.
What Does Hiding a Wi-Fi Network Do?
Hiding other WiFi networks is pretty self-explanatory: you’ll be unable to see the network. When you choose a WiFi network to connect to, any network name matching the one you block will not show up in your list of available networks.
Hiding WiFi networks only works on your computer. In other words, what you’ll do when you follow the steps below is stop them from being listed with the other WiFi networks; other people around you can still see them and connect to them.
Blocking a WiFi network will not alert the owner and it isn’t illegal or unethical. Again, you’re really just preventing yourself from seeing it.
Hiding other WiFi networks doesn’t actually stop the wireless signals from reaching your area. If you want to block nearby WiFi networks because you’re trying to boost weak signals caused by interference, a better option would be to change the WiFi channel. A WiFi channel scanner is helpful in identifying which channels nearby networks are using.
How To Hide Other WiFi Networks
Windows doesn’t let you hide WiFi networks through a handy graphical user interface. As nice as it would be to be able to just right-click a network you want hidden and click a hide/block button, that isn’t what we have available to us.
Instead, you have to run a few commands through Command Prompt. It’s a pretty straightforward process if you follow the steps carefully.
- Open Command Prompt as an administrator by searching for cmd in the Start menu, right-clicking it, and selecting Run as administrator. If you’re using Windows XP, you can just open Command Prompt from the start menu without worrying about admin privileges.
- Enter this command: netsh wlan show networks
As you can see, all the wireless networks your computer could connect to right now are listed.
- Identify the WiFi network you want to hide, and note its SSID. The one we’ll hide is called HTC_9EF2.
Note: Windows is sometimes bad at identifying all the nearby networks. If you’re looking for the SSID of a network that you’ve seen before but that you aren’t seeing right now (maybe due to weak signal strength), use a WiFi scanner like WifiInfoView to compile a more comprehensive list.
- Open Notepad or some other text field, paste the following command into it, and replace our SSID with the one you want hidden (be sure to keep the quotes around it):
netsh wlan add filter permission=block ssid="HTC_9EF2" networktype=infrastructure
- Return to Command Prompt and enter that command. You can do this by right-clicking the black space and choosing Paste.
The response should be The filter is added on the system successfully.
- That’s it! That specific WiFi network will be hidden. As you can see, if we repeat the command that shows networks, it’s no longer there.
- You can repeat these steps for every network you want to hide.
If there are several that you want hidden, you can run a different command to add multiple networks to the block filter at once.
This is definitely a time saver, but please know that if you continue with these steps, you’ll have undo the command if you ever want to see other networks again, like if you move your laptop to another location or change the SSID to your network.
- Add the network you want to see/allow (replace NETWORKNAME with the SSID):
netsh wlan add filter permission=allow ssid="NETWORKNAME" networktype=infrastructure
- Block every other network:
netsh wlan add filter permission=denyall networktype=infrastructure
How To Undo The Commands & See The Networks Again
These are the relevant netsh commands for unhiding the networks:
- To identify which SSIDs are being blocked if you’ve forgotten:
netsh wlan show filters
- To unblock a specific WiFi network:
netsh wlan delete filter permission=block ssid="NETWORKNAME" networktype=infrastructure
- To remove the block on all other WiFi networks:
netsh wlan delete filter permission=denyall networktype=infrastructure
What About Hiding Your Own WiFi?
If you’re trying to hide your own network from your neighbors, blocking your router’s SSID from yourself isn’t the answer. However, disabling SSID broadcast on your router, and securing it with a strong password, are. Those are just two of the best ways to secure your WiFi and stop unwanted people from getting on.
Unless your next door WiFi sniffers are actually knowledgeable on tech and security and can spoof their MAC address, you can also turn on MAC address filtering to further secure your network.