Windows 10: WlanSetProfileEapXmlUserData function from wlanapi.dll works only on 32-bit.

Discus and support WlanSetProfileEapXmlUserData function from wlanapi.dll works only on 32-bit. in Windows 10 Network and Sharing to solve the problem; Hello all, I'm developing a WPF application which is a wrapper for Windows Wireless functionality. I am trying to connect to an Eap-Peap-Mschapv2... Discussion in 'Windows 10 Network and Sharing' started by MariusTUNEA, Feb 25, 2020.

  1. WlanSetProfileEapXmlUserData function from wlanapi.dll works only on 32-bit.


    Hello all,

    I'm developing a WPF application which is a wrapper for Windows Wireless functionality.

    I am trying to connect to an Eap-Peap-Mschapv2 wireless network.


    When I'm trying to add the EAP Profile with WlanSetProfileEapXmlUserData function from wlanapi.dll, if my app is configured as Any-Cpu - withoutPrefer 32-bit, the WlanSetProfileEapXmlUserData method returns always error code 1206 Profile Corrupted.

    If I change the platform to Any-Cpu - Prefer 32-bit the WlanSetProfileEapXmlUserData works as expected.


    WlanSetProfileEapXmlUserData is not supported on 64-bit or it's a known issue?


    Below, I will add the profiles that we are generating:


    WlanProfile


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

    <name>TestMSCHAPV2</name>

    <SSIDConfig>

    <SSID>

    <hex>546573744D53434841505632</hex>

    <name>TestMSCHAPV2</name>

    </SSID>

    <nonBroadcast>false</nonBroadcast>

    </SSIDConfig>

    <connectionType>ESS</connectionType>

    <connectionMode>auto</connectionMode>

    <MSM>

    <security>

    <authEncryption>

    <authentication>WPA2</authentication>

    <encryption>AES</encryption>

    <useOneX>true</useOneX>

    </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">25</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">0</AuthorId>

    </EapMethod>

    <Config>

    <Eap xmlns="http://www.microsoft.com/provisioning/BaseEapConnectionPropertiesV1">

    <Type>25</Type>

    <EapType xmlns="http://www.microsoft.com/provisioning/MsPeapConnectionPropertiesV1">

    <ServerValidation>

    <DisableUserPromptForServerValidation>false</DisableUserPromptForServerValidation>

    <ServerNames></ServerNames>

    </ServerValidation>

    <FastReconnect>false</FastReconnect>

    <InnerEapOptional>false</InnerEapOptional>

    <Eap xmlns="http://www.microsoft.com/provisioning/BaseEapConnectionPropertiesV1">

    <Type>26</Type>

    <EapType xmlns="http://www.microsoft.com/provisioning/MsChapV2ConnectionPropertiesV1">

    <UseWinLogonCredentials>false</UseWinLogonCredentials>

    </EapType>

    </Eap>

    <EnableQuarantineChecks>false</EnableQuarantineChecks>

    <RequireCryptoBinding>false</RequireCryptoBinding>

    <PeapExtensions>

    <PerformServerValidation xmlns="http://www.microsoft.com/provisioning/MsPeapConnectionPropertiesV2">false</PerformServerValidation>

    <AcceptServerName xmlns="http://www.microsoft.com/provisioning/MsPeapConnectionPropertiesV2">false</AcceptServerName>

    <PeapExtensionsV2 xmlns="http://www.microsoft.com/provisioning/MsPeapConnectionPropertiesV2">

    <AllowPromptingWhenServerCANotFound xmlns="http://www.microsoft.com/provisioning/MsPeapConnectionPropertiesV3">true</AllowPromptingWhenServerCANotFound>

    </PeapExtensionsV2>

    </PeapExtensions>

    </EapType>

    </Eap>

    </Config>

    </EapHostConfig>

    </EAPConfig>

    </OneX>

    </security>

    </MSM>

    <MacRandomization xmlns="http://www.microsoft.com/networking/WLAN/profile/v3">

    <enableRandomization>false</enableRandomization>

    <randomizationSeed>443648013</randomizationSeed>

    </MacRandomization>

    </WLANProfile>


    Eap Profile


    <?xml version="1.0" ?>

    <EapHostUserCredentials xmlns="http://www.microsoft.com/provisioning/EapHostUserCredentials"

    xmlns:eapCommon="http://www.microsoft.com/provisioning/EapCommon"

    xmlns:baseEap="http://www.microsoft.com/provisioning/BaseEapMethodUserCredentials">

    <EapMethod>

    <eapCommon:Type>25</eapCommon:Type>

    <eapCommon:AuthorId>0</eapCommon:AuthorId>

    </EapMethod>

    <Credentials xmlns:eapUser="http://www.microsoft.com/provisioning/EapUserPropertiesV1"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xmlns:baseEap="http://www.microsoft.com/provisioning/BaseEapUserPropertiesV1"

    xmlns:MsPeap="http://www.microsoft.com/provisioning/MsPeapUserPropertiesV1"

    xmlns:MsChapV2="http://www.microsoft.com/provisioning/MsChapV2UserPropertiesV1">

    <baseEap:Eap>

    <baseEap:Type>25</baseEap:Type>

    <MsPeap:EapType>

    <MsPeap:RoutingIdentity>TestUsername</MsPeap:RoutingIdentity>

    <baseEap:Eap>

    <baseEap:Type>26</baseEap:Type>

    <MsChapV2:EapType>

    <MsChapV2:Username>TestUsername</MsChapV2:Username>

    <MsChapV2WlanSetProfileEapXmlUserData function from wlanapi.dll works only on 32-bit. :password>TestPassword</MsChapV2WlanSetProfileEapXmlUserData function from wlanapi.dll works only on 32-bit. :password>

    <MsChapV2:LogonDomain></MsChapV2:LogonDomain>

    </MsChapV2:EapType>

    </baseEap:Eap>

    </MsPeap:EapType>

    </baseEap:Eap>

    </Credentials>

    </EapHostUserCredentials>

    :)
     
    MariusTUNEA, Feb 25, 2020
    #1

  2. computer wont start missing 32 dll is there an upload for this dll?

    Working on a friend's pc and her computer wont boot. It just says 32 dll. Someone put a 64 bit windows in a 32 bit I guess that is the problem. Is there a download for 32 dll boot?
     
    redunderwood, Feb 25, 2020
    #2
  3. pepoluan Win User
    Windows 10 Upgrade 32-bit to 64-bit

    So, Windows 10 Upgrade is being rolled out worldwide, and I have 'reserved' my upgrade.

    Currently my computer is running Windows 7 Pro 32-bit. I'm planning to 'upgrade' it to Windows 10 64-bit (via fresh install, of course).

    After reading many references, these will be the steps I'll do:

    1. Let the "Get Windows 10" app upgrade my OS to Windows 10 32-bit
    2. Note the activation key
    3. Download the Installation Media for Windows 10, but choosing 64-bit instead
    4. Perform a clean install
    5. Reactivate using the activation key in Step #2

    (Of course I'll backup my data first.)

    However, I still have some questions:

    1. On Windows 7, the activation key does not differ between 32- or 64-bit versions. Is it still so with Windows 10?
    2. Will I be able to download a different architecture on Step #3?
    3. Is there anything I need to prepare beforehand?

    Thank you for your assistance.
     
    pepoluan, Feb 25, 2020
    #3
  4. WlanSetProfileEapXmlUserData function from wlanapi.dll works only on 32-bit.

    Windows 32 bits to 64 bits

    Hi Kulbeer,

    To upgrade from Windows 10 32-bit to Windows 10 64-bit, we suggest that you check and follow the steps/instructions provided by
    Andre Da Costa in his article.

    We would appreciate it if you could get back to us and provide us your feedback.
     
    Michael Gall, Feb 25, 2020
    #4
Thema:

WlanSetProfileEapXmlUserData function from wlanapi.dll works only on 32-bit.

Loading...
  1. WlanSetProfileEapXmlUserData function from wlanapi.dll works only on 32-bit. - Similar Threads - WlanSetProfileEapXmlUserData function wlanapi

  2. Change from 64-bit to 32-bit

    in Windows 10 Gaming
    Change from 64-bit to 32-bit: I bought a used computer with HDD, Windows 10 Pro, 64-bit, and I installed a new SSD, Windows 10 Pro, 32-bit needed for a machine I'm running. Now it says it's not activated. Did I change too many things at one time?...
  3. Change from 64-bit to 32-bit

    in Windows 10 Software and Apps
    Change from 64-bit to 32-bit: I bought a used computer with HDD, Windows 10 Pro, 64-bit, and I installed a new SSD, Windows 10 Pro, 32-bit needed for a machine I'm running. Now it says it's not activated. Did I change too many things at one time?...
  4. Upgrading from 32 bit to 64 bit and will old 32 bit programs work

    in Windows 10 Installation and Upgrade
    Upgrading from 32 bit to 64 bit and will old 32 bit programs work: I have Windows 10 Pro 32 bit in my PC right now. I have the needed specifications needed to upgrade to 64 bit. Can I upgrade to 64 bit and can I still use my old programs like Photoshop and Illustrator? I'm an Inker for comics and trying to upgrade my studio....
  5. Porting a dll from 32 to 64 bit

    in Windows 10 BSOD Crashes and Debugging
    Porting a dll from 32 to 64 bit: I ported a 32 bit dll with some functions inside called from Excel VBA to 64 bit. I started a new "Solution" with a single "Project" in freshly installed Visual Studio 2019 and I just used the old source and .def files. I have TWO problems: -I had to remove the calls to...
  6. Windows 10 USB will only work with 32 bit not 64 bit

    in Windows 10 Installation and Upgrade
    Windows 10 USB will only work with 32 bit not 64 bit: When i boot the computer it gives me an option for 32 bit and 64 bit, when i choose 64 bit it goes to the screen of installing files and doesn't load the windows logo and screen is just blank but it works when i choose 32 bit and goes to Windows logo. What could cause this?...
  7. Switch from 32 bit to 64 bit

    in Windows 10 Customization
    Switch from 32 bit to 64 bit: Currently I have Windows 10 Home 32 bit. How can I switch to 64 bit system? Thank you in advance. https://answers.microsoft.com/en-us/windows/forum/all/switch-from-32-bit-to-64-bit/d51e9ce3-1bd0-4616-ae2c-b729c6073a3d
  8. upgrading from 32-bit to 64-bit

    in Windows 10 Installation and Upgrade
    upgrading from 32-bit to 64-bit: First of I want to say, my pc is compatible; g3220 32bit on x64 based processor 4gb ram intel hd graphics 500gb HDD I want to upgrade for the reason of app compatibility, and I had 32-bit because I had 2gb ram. Right now I have Windows 10 32-bit. The problem is I...
  9. upgrade from 32 bit to 64 bit

    in Windows 10 Installation and Upgrade
    upgrade from 32 bit to 64 bit: So I wasn't paying attention to much about my computers processor, I assumed it was old and could only run 32 bit programs and os. I was wrong its it suppose to be running 64 bit. My question is that I already installed 32 bit windows 10 and I want to find the easiest way and...
  10. 64 bit only or 32 bit as well

    in Windows 10 Support
    64 bit only or 32 bit as well: Hi there Anybody know if this (preview) version is 64 bit only or will a 32 bit version also be released. IMO I can't think of any machines made recently that are 32 bit so it would make sense for Ms to kill off the 32 bit version -- of course though keeping 32 bit apps...