none
Windows 7 Wireless Profile Importing via NETSH and LEAP auth not saving

    Question

  • I have somewhat of a dilemma.  We are migrating to Windows 7, and we have the need to script the WLAN configuration.  In XP we used the built-in Dell WLAN utility that worked like a charm.  Now Dell has discontinued the utility for Windows 7, so we must use the Windows 7 profile import/export method via NETSH.  Everything works great, except the LEAP advanced settings are not sticking, meaning the authentication does not occur until after a user is logged in.  We want the credentials to be saved.  I can do so after the fact, and the settings stick, but the profile import does not bring in the saved credentials.  Please help!
    Wednesday, November 30, 2011 4:05 AM

Answers

  • Hi,

     

    Does the netsh export contains LEAP authentication? What command do you use?

    http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/a43d9553-f25f-40c9-b741-6a939240ae11

     

    You can analyze the wireless profile via the following PDF article on the page 8

    www.inguardians.com/pubs/Vista_Wireless_Power_Tools-Wright.pdf

    Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

     

    To export wireless network profiles to a flash drive in Windows 7, first open the profile or wireless network connection settings. One simple way is to click the network icon in the system tray, right-click a network name, and select Properties. On the Connection tab, click "Copy this network profile to a USB flash drive.

     

    Best Regards,

    Niki


    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Thursday, December 01, 2011 9:57 AM

All replies

  • Hi,

     

    Does the netsh export contains LEAP authentication? What command do you use?

    http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/a43d9553-f25f-40c9-b741-6a939240ae11

     

    You can analyze the wireless profile via the following PDF article on the page 8

    www.inguardians.com/pubs/Vista_Wireless_Power_Tools-Wright.pdf

    Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

     

    To export wireless network profiles to a flash drive in Windows 7, first open the profile or wireless network connection settings. One simple way is to click the network icon in the system tray, right-click a network name, and select Properties. On the Connection tab, click "Copy this network profile to a USB flash drive.

     

    Best Regards,

    Niki


    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Thursday, December 01, 2011 9:57 AM
  • Sorry I haven't come back to this in a while.  I never did resolve this.  Niki, sorry but what you gave me does not help.  To answer your questions:

    Yes, the netsh export does contain the LEAP auth information, and saves the username/password under the LEAP properties.  However, this does not cache the credentials while the laptop is logged off.  In order to do that, the authentication must be saved under Advanced Settings as User Authentication.

    Also, under the connection tab, there is no "Copy this network profile to a USB flash drive."  Perhaps that is due to being connected to a domain?

    Curtis


    • Edited by CurtisLing Wednesday, August 08, 2012 3:48 PM
    Wednesday, August 08, 2012 3:47 PM
  • Niki,

    Here is the gist of the output of the netsh export.  By the way, the export is specified as NETSH WLAN EXPORT PROFILE NAME=NetworkName.xml KEY=Clear.  I have also tried it without KEY=Clear.

    <?xml version="1.0"?>
    <WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
        <name>NetworkName</name>
        <SSIDConfig>
            <SSID>
                <hex>4661726A586F726A657643</hex>
                <name>NetworkName</name>
            </SSID>
            <nonBroadcast>true</nonBroadcast>
        </SSIDConfig>
        <connectionType>ESS</connectionType>
        <connectionMode>auto</connectionMode>
        <autoSwitch>false</autoSwitch>
        <MSM>
            <security>
                <authEncryption>
                    <authentication>WPA2</authentication>
                    <encryption>AES</encryption>
                    <useOneX>true</useOneX>
                    <FIPSMode xmlns="http://www.microsoft.com/networking/WLAN/profile/v2">false</FIPSMode>
                </authEncryption>
                <PMKCacheMode>enabled</PMKCacheMode>
                <PMKCacheTTL>720</PMKCacheTTL>
                <PMKCacheSize>128</PMKCacheSize>
                <preAuthMode>disabled</preAuthMode>
                <OneX xmlns="http://www.microsoft.com/networking/OneX/v1">
                    <cacheUserData>true</cacheUserData>
                    <authMode>user</authMode>
                    <EAPConfig>
                        <EapHostConfig xmlns="http://www.microsoft.com/provisioning/EapHostConfig">
                            <EapMethod>
                                <Type xmlns="http://www.microsoft.com/provisioning/EapCommon">17</Type>
                                <VendorId xmlns="http://www.microsoft.com/provisioning/EapCommon">0</VendorId>
                                <VendorType xmlns="http://www.microsoft.com/provisioning/EapCommon">0</VendorType>
                                <AuthorId xmlns="http://www.microsoft.com/provisioning/EapCommon">9</AuthorId>
                            </EapMethod>
                            <Config xmlns="http://www.microsoft.com/provisioning/EapHostConfig">
                                <eapLeap xmlns="http://www.cisco.com/CCX">
                                    <unprotectedIdentityPattern encryptContent="true">
                                        <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Content">
                                            <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/>
                                            <CipherData>
                                                <CipherValue>pOtTJSKT7XibWWJMqk0rPGFOhhDBt3XBLAHbnKINBHI=</CipherValue>
                                            </CipherData>
                                        </EncryptedData>
                                    </unprotectedIdentityPattern>
                                    <passwordSource>
                                        <passwordFromProfile encryptContent="true">
                                            <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Content">
                                                <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/>
                                                <CipherData>
                                                    <CipherValue>E1AnvJdxqBELu5A8Gc3PGXoztwvhRHH7C37Re90O91wYphIJkm1fX/Zn3RoAthAY</CipherValue>
                                                </CipherData>
                                            </EncryptedData>
                                        </passwordFromProfile>
                                    </passwordSource>
                                </eapLeap>
                            </Config>
                        </EapHostConfig>
                    </EAPConfig>
                </OneX>
            </security>
        </MSM>
        <IHV>
            <OUIHeader>
                <OUI>001018</OUI>
                <type>00</type>
            </OUIHeader>
            <connectivity>
                <Broadcom xmlns="v1"><CCX xmlns="any"><RadioMeasurement><enabled><MaxOffChannelTimeMs>50</MaxOffChannelTimeMs><MinOnChannelTimeMs>400</MinOnChannelTimeMs></enabled></RadioMeasurement><Diagnostics><AuthorizedProfile>false</AuthorizedProfile><Channel><SSID><Hex>446961556E5F73746965204368515E6E555C</Hex></SSID><EnableClientReporting>false</EnableClientReporting></Channel></Diagnostics></CCX><DPT xmlns="dptv1"><useDPTPrivateKey>false</useDPTPrivateKey><DPTEncryption>None</DPTEncryption></DPT></Broadcom>
            </connectivity>
        </IHV>
    </WLANProfile>


    • Edited by CurtisLing Wednesday, August 08, 2012 3:59 PM XML Update
    Wednesday, August 08, 2012 3:59 PM