本帖最後由 bunch 於 2021-9-9 22:43 編輯
回覆 7# LEARZA
你可以嘗試咁寫個XML, 但我唔肯定佢WORK, 自己改個SSID同PASSWORD
然後再行netsh wlan add profile filename="FULLFILEPATH"- <?xml version="1.0"?>
- <WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
- <name>SSID</name>
- <SSIDConfig>
- <SSID>
- <name>SSID</name>
- </SSID>
- </SSIDConfig>
- <connectionType>ESS</connectionType>
- <connectionMode>manual</connectionMode>
- <MSM>
- <security>
- <authEncryption>
- <authentication>WPA2PSK</authentication>
- <encryption>AES</encryption>
- <useOneX>false</useOneX>
- </authEncryption>
- <sharedKey>
- <keyType>passPhrase</keyType>
- <protected>false</protected>
- <keyMaterial>PASSWORD</keyMaterial>
- </sharedKey>
- </security>
- </MSM>
- <MacRandomization xmlns="http://www.microsoft.com/networking/WLAN/profile/v3">
- <enableRandomization>false</enableRandomization>
- </MacRandomization>
- </WLANProfile>
複製代碼 |