I have the information from a few wifi networks saved on an android device, is there any way to move this data over to windows 8.1? I have exported the .txt file from android that contains the configuration (plain-text passwords and all), but I am not sure where to put it in windows, and what format it would need to be in.

edit: sample of the wifi configuration file (located at /data/misc/wifi/wpa_supplicant.conf) from an android device:


    key_mgmt=WPA-EAP IEEE8021X

Ideally some way to copy over many of these networks would be preferred, however a manual one-by-one solution would also be acceptable.

update: it seems like the wifi properties in windows are saved as an xml file under: C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces{InterfaceID}{something}.xml

Any info as to a schema or mapping for this xml file would be appreciated.

  • 1
    If you can export the wireless settings from a W8.1 PC to an xml file (something along the lines of netsh wlan export profile key=clear according to Export & Import Wireless Network Info on Windows machines) to see the required format, then you might be able to figure out a way to convert the JSON-like format from the Android device to an XML file. – Andrew Morton Oct 4 '14 at 20:10

It is possible to import a wireless network as an xml file, but this has to pass through the netsh command.

Here is for example the file defining a wireless connection using WPA2-PSK AES and specifying the pass-phrase as unencrypted plain text:

<?xml version="1.0"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">

The description of all the above xml elements can be found in the Microsoft documentation at:
WLAN_profile Schema Elements.

This xml file can be imported into Windows via the command :

netsh wlan add profile filename="PATH_AND_FILENAME.xml"

Please note that while the pass-phrase can be unencrypted in the imported file, Windows will encrypt it when it places the profile contents in the configuration file, which as you already found is stored in :


Here each wireless device is represented by a randomly assigned GUID interface name of the form {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}.

Further reading :

Importing and Exporting Windows Network Settings
Exposing the WiFi Password Secrets
Two ways to push WLAN profiles to your Windows devices

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.