Jump to content

Building fileset for WLAN


Recommended Posts

  • Moderators
7 hours ago, Andreas Gluch said:

Hi Sven,

spontaneously using netsh comes to my mind.

Any other ideas, folks?

Something like this maybe?

netsh wlan set hostednetwork mode=allow ssid=Your_SSID key=Your_Passphrase
netsh wlan start hostednetwork

Creating a WiFi profile with 802.1X settings is more complex than a simple password-protected WiFi network. You can create an XML file with the WiFi profile settings, including 802.1X settings, and then use netsh to add the profile to a Windows computer.

The XML file would look something like this:

<?xml version="1.0"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
    <name>ProfileName</name>
    <SSIDConfig>
        <SSID>
            <name>NetworkName</name>
        </SSID>
    </SSIDConfig>
    <connectionType>ESS</connectionType>
    <connectionMode>auto</connectionMode>
    <autoSwitch>true</autoSwitch>
    <MSM>
        <security>
            <authEncryption>
                <authentication>WPA2</authentication>
                <encryption>AES</encryption>
                <useOneX>true</useOneX>
            </authEncryption>
            <OneX xmlns="http://www.microsoft.com/networking/OneX/v1">
                <EAPConfig>
                    <!-- EAP configuration goes here. -->
                </EAPConfig>
            </OneX>
        </security>
    </MSM>
</WLANProfile>

The XML gets saved as profile.XML once done and then....

netsh wlan add profile filename='path\to\profile.xml'

Reference link: https://mantraaz.wordpress.com/2010/10/18/script-to-add-wireless-profile

Link to comment
Share on other sites

  • 3 weeks later...
  • Moderators

Probably from here:

https://www.cyberdrain.com/automating-with-powershell-deploying-wifi-profiles/

I notice:

image.png.ed9c3ffbd5ed121e3fb9f7ee0b488983.png

Quoted?  Perhaps not necessary.

Also remember, scripts ran through FileWave are ran as System and are 32bit, unless set otherwise.  Always test in same environment before trying through FileWave.

https://fwkb.atlassian.net/wiki/spaces/KB/pages/4331036/Script+Best+Practices

Link to comment
Share on other sites

Thanks god its Friday 🙂 and it works.

I insert the credentials as Sean posted and tada the Fileset works.

 

Thanks to all who help in this Topic. But at least it would be Cool if there would be the possibility to handle it direct in Filewave like for the OSX Devices :-), cause my Company wouldnt change the Windows Devices against OSX, i had no clue why :-).

 

Best Regards from Germany

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...