如何使用windows NETSH命令连接到隐藏的无线网络(无SSID)?
问题描述:
我想用NETSH命令连接到隐藏的无线网络(无SSID)。如何使用windows NETSH命令连接到隐藏的无线网络(无SSID)?
我的接入点具有SSID,但出于安全原因我无法看到它。
有没有一种连接简单命令和无用户界面的方法???
此致敬意。
答
几天后,我建立了一个很好的解决方案。
1:创建例如.xml文件 “C:\ NOSSID.XML” 并保存下面的代码到其中:
<?xml version="1.0" encoding="US-ASCII"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
<name>SampleWPA2PSK</name>
<SSIDConfig>
<SSID>
<name>D.Mainoffice.Access</name>
</SSID>
</SSIDConfig>
<connectionType>ESS</connectionType>
<connectionMode>auto</connectionMode>
<autoSwitch>true</autoSwitch>
<MSM>
<security>
<authEncryption>
<authentication>WPA2PSK</authentication>
<encryption>AES</encryption>
<useOneX>false</useOneX>
</authEncryption> \t \t
\t \t \t <sharedKey>
\t \t \t \t <keyType>passPhrase</keyType>
\t \t \t \t <protected>false</protected>
\t \t \t \t <keyMaterial>**** password ****</keyMaterial>
\t \t \t </sharedKey>
</security>
</MSM>
</WLANProfile>
2:运行netsh命令:
Netsh wlan add profile filename="c:\noSSID.xml"
你可以改变你自己隐藏的SSID在<name>
标签和密码<keymaterial>
标签!!!
这很容易,我希望对他人有用。