我正在尝试通过命令提示符连接到secured。配置文件已添加,因为我可以使用netsh wlan show profile命令查看它。问题是,我可以运行netsh wlan connect ssid="MYSSID" name="PROFILENAME"并得到一个响应Connection request was completed successfully.,然而,当我检查Wifi配置文件时,计算机要求提供网络密钥。任何搜索(对我而言)都会导致添加带有密码的配置文件,而不是连接到所述配置文件。有没有办法在连接时绕过手动输入Wifi密码?
.xml文件(使用netsh wlan export profile创建):
<?xml version="1.0"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
<name>ssid_name</name>
<SSIDConfig>
<SSID>
<hex>some_hex_string</hex>
<name>ssid_name</name>
</SSID>
<nonBroadcast>true</nonBroadcast>
</SSIDConfig>
<connectionType>connection_type</connectionType>
<connectionMode>auto</connectionMode>
<MSM>
<security>
<authEncryption>
<authentication>auth_type</authentication>
<encryption>encryp_type</encryption>
<useOneX>false</useOneX>
</authEncryption>
<sharedKey>
<keyType>passPhrase</keyType>
<protected>true</protected>
<keyMaterial>really_long_hex_string</keyMaterial>
</sharedKey>
</security>
</MSM>
https://stackoverflow.com/questions/51479856
复制相似问题