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">
            <OneX xmlns="http://www.microsoft.com/networking/OneX/v1">
                    <!-- EAP configuration goes here. -->

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

We have used netsh and an xml file in the past to add our wifi networks to Windows 10 clients and have now moved to a Powershell script as we add Windows 11 clients. I don't have the original reference for the script. I think it may have come from some Microsoft Technet articles.


  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...

Probably from here:


I notice:


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.


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...