Windows WI-FI profiles

Currently working on an Enterprise Mobility project, and thought I should share a little trick. In the project; we are deploying WI-FI profiles to Windows 10 devices. Some WI-FI profiles use SCEP/NDES certificates while others are configured using a pre-shared secret. When working with Windows WI-FI profiles, the only way to add a pre-shared secret to the profile is by creating a custom XML file. An easy way to create the WI-FI profile XML file; is to create the profile on a Windows 10 computer and then export the profile. To do that, use the steps below:

  1. To list all the WI-FI profiles on the computer, launch PowerShell as administrator, type netsh wlan show profiles and make a note of the WI-FI profile name.


  2. Next type: netsh wlan export profile name=”Agerlund1” key=clear folder=c:\temp where Agerlund1 is the name of your WI-FI profile. This will create the XML file in c:\temp


  3. The XML file is in clear text and can be imported straight into Microsoft Intune or Configuration Manager. Notice the connectionmode, it can be either manual or auto. Auto will connect to the network without any user interference.


  4. In ConfigMgr create a new WI-FI company resource profile and select to import it from an existing XML file.



P.S. NO, it’s not my private WI-FI profile….just saying

About the Author:

Kent Agerlund
Microsoft Regional Director, Enterprise Mobility MVP. Microsoft Certified Trainer and Principal consultant. I have been working with Enterprise client management since 1992. Co-founder of System Center User Group Denmark in 2009. Certified MCITP: Enterprise Administrator, MCSA+Messaing, and much more. Member of: Microsoft Denmark System Center Partner Expert Team The Danish Technet Influencers program System Center Influencers Program.

Leave A Comment