Windows 10-使用密码连接到Wifi

问题描述 投票:0回答:1

我正在尝试通过命令提示符连接到受保护的Wifi。通过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>

wifi command-prompt netsh
1个回答
0
投票

<keyMaterial>中的值大多数是由同一用户在同一台​​机器上生成的,如果进行了编码,则无法使用。另一个选项是在<protected>false</protected>

中以明文形式设置<keyMaterial>Your_password_incleartext</keyMaterial>和密码。
© www.soinside.com 2019 - 2024. All rights reserved.