Jump to content

OT: need syntax of WSETTING.WFC to generate it by AutoIt


Recommended Posts

Hi.

I'm facing trouble with Windows XP, WLAN wizard(?) when trying to export the settings for WEP, shared key, 128bit: I want to transfer these WLAN settings to other PCs, but this isn't working.

Also some descriptions at the MS site didn't help me, e.g. this one.

In the WLAN settings the key type is set to "shared" (German: "Gemeinsam verwendet", also might be "shared use" or similar in English).

When I export the settings using the WLAN wizard (?) the resulting WSETTING.WFC on my USB pen drive presents this:

<?xml version="1.0"?>
<wirelessProfile xmlns="http://www.microsoft.com/provisioning/WirelessProfile/2004">; this is a dead link right now
    <config>
        <configId>001D0330-8103-4988-95B1-74BD434C4899</configId>
        <configAuthorId>0B4E59B8-8317-46B2-B8C2-C46850162E6C</configAuthorId>
        <configAuthor>Microsoft Wireless Network Setup Wizard</configAuthor>
    </config>
    <ssid xml:space="preserve">myssidname</ssid>
    <connectionType>ESS</connectionType>
    <primaryProfile>
        <authentication>open</authentication>
        <encryption>WEP</encryption>
        <networkKey xml:space="preserve"><the hex key goes here></networkKey>
        <keyProvidedAutomatically>0</keyProvidedAutomatically>
        <ieee802Dot1xEnabled>0</ieee802Dot1xEnabled>
    </primaryProfile>
</wirelessProfile>

OK. When I now delete the WLAN definition on that laptop and use this WSETTING.WFC to re-import it, then the authentication type is miss-set to "open", it should be "Gemeinsam verwendet" (?shared?) as before.

I suspect the line <authentication>open</authentication> to be the guilty party: In the web I found that other valid values are WPAPSK and others, and I tried lot of other values for an hour now (WEP, WEPPSK, WEP-PSK, PSK, PRESHARED, preshared, shared, closed, ... :))

Who knows how to correct that WFC file? As I faced that issue on several networks I'd like to write an autoit script doing the small correction automatically.

I'd appreciate any suggestions or URLs pointing to a syntax description for this nice WSETTING.WFC.

Regards, Rudi.

Edited by rudi

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

bump.

The WSETTING.WFC is the file created by Window's WLAN setup wizard on USB sticks to copy the config info to other devices (other Win PCs or WLAN APs)

Anybody who knows a description of the file's valid values?

Any suggestion pointing to some docu is mostly appreciated.

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

I found this, don't know if its what you're looking for though sorry. :)Link

Yes, thanks, that's about what I was looking for. This one
authenticateType

{open, shared, WPA, WPAPSK, WPA-NONE, WPA2, WPA2PSK}  
The authentication type for the wireless network (default = Open).

looks like what I wanted to know. :P

But the value "shared" doesnt work :P in this part of the XML file:

<authentication>open</authentication>; the default, *does* work
  <authentication>shared</authentication>; this doesn't work.

I'll read up that doc in detail next week, propably there is a dependency between this and some other value.

Thanks, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...