mat*_*pie 8 windows-7 wireless-networking export import netsh
我从使用 WPA-TKIP 密码正确连接到 WiFi 网络的 Windows 7 机器导出了无线网络连接配置文件。导出的 xml 文件显示了正确的设置和一个keyMaterial我只能猜测是加密密码的节点。
当我将 xml 带到另一台 Windows 7 计算机并使用 导入它时netsh wlan add profile filename="WiFi.xml",它正确添加了配置文件的 SSID 和加密类型,但会弹出一个气球,提示我需要输入密码。
有没有办法将密码短语与所有其他设置一起导入,或者我是否缺少有关添加配置文件的内容?
这是删除了个人信息的导出xml:
<?xml version="1.0"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
<name>[removed]</name>
<SSIDConfig>
<SSID>
<hex>[removed]</hex>
<name>[removed]</name>
</SSID>
<nonBroadcast>false</nonBroadcast>
</SSIDConfig>
<connectionType>ESS</connectionType>
<connectionMode>auto</connectionMode>
<autoSwitch>false</autoSwitch>
<MSM>
<security>
<authEncryption>
<authentication>WPAPSK</authentication>
<encryption>TKIP</encryption>
<useOneX>false</useOneX>
</authEncryption>
<sharedKey>
<keyType>passPhrase</keyType>
<protected>true</protected>
<keyMaterial>[removed]</keyMaterial>
</sharedKey>
</security>
</MSM>
</WLANProfile>
Run Code Online (Sandbox Code Playgroud)
任何帮助或建议表示赞赏。谢谢。
更新:似乎如果我使用 导出设置key=clear,密码存储在未受保护的文件中,我可以在另一台计算机上导入文件而不会出现问题。我已经更新了我的问题以反映我的发现。
key=clear导出配置文件时只需使用该参数。
netsh wlan export profile key=clear
Run Code Online (Sandbox Code Playgroud)
现在密码/密钥将以明文形式存储在 XML 文件中。当您导入配置文件(如上)时,系统不会提示您输入密码。
| 归档时间: |
|
| 查看次数: |
52326 次 |
| 最近记录: |