Deploy SCCM Wifi Profiles with Password to Windows 10 Devices

Benoit LecoursSCCM9 Comments

Introduced since SCCM 2012 R2, SCCM Wifi profiles are used to send Wifi configuration to clients. It can be useful if your company is not using certificates or any automated authentication methods. Smaller organisation that uses a simple WPA2 setup can use SCCM Wifi profiles to send Wifi SSID and password so that the computers connects automatically to that network.

You can also use Wifi profile to manage mobile devices with Intune but we won’t cover this scenario in this post.

The major drawback of the SCCM Wifi Profile is that it’s impossible to enter the Wifi password using the console UI. We will show you how to deploy Wifi profiles on a Windows 10 or Windows 8.1 computer, including the Wifi password using an Xml file.

SCCM Wifi Profiles

How to deploy SCCM Wifi Profiles with password to Windows 10 devices

Since it’s not possible to enter a password in the SCCM console, we’ll create an XML file and use it to create a SCCM Wifi profile based on this file.

The first step is to connect on a Windows 10 computer and connect to the desired Wifi network manually. You can disconnect once done, it’s only important to connect to the network at least once.

  • Open a PowerShell window and enter the following command to list all Wifi profiles on the computer :
[su_box title=”This PowerShell command will list all Wifi profiles on the computer” style=”glass” title_color=”#F0F0F0″]netsh wlan show profiles[/su_box]

SCCM Wifi Profiles

  • Enter the following command to create the Xml file : (replace the name of your network and location you want the file to be created)
[su_box title=”This PowerShell command will export the profile to an xml file” style=”glass” title_color=”#F0F0F0″]netsh wlan export profile name=”SCD” key=clear folder=c:\temp[/su_box]

SCCM Wifi Profiles

  • Using any text editor, you can see the Wifi information including the WPA2 pre-shared key

SCCM Wifi Profiles

  • We are now ready to create the Wifi profile in the SCCM console using this Xml file
  • Open the SCCM console
  • Go to Assets and Compliance / Compliance Settings / Company Resource Access / Wi-Fi Profiles
  • Right-click Wi-Fi Profiles and select Create Wi-Fi Profile

SCCM Wifi Profiles

  • On the General pane, enter a Name and Description
  • Check the box Import an existing Wi-Fi profile item from a file, click Next

SCCM Wifi Profiles

  • On the Import Wi-fi Profile pane, click Add

SCCM Wifi Profiles

  • Browse to the location where you saved the Xml file created in the first step of this post, click Open

SCCM Wifi Profiles

  • Validate the file, click Next

SCCM Wifi Profiles

  • On the Supported Platforms pane, select All Windows 8.1 (64-bits), All Windows 8.1 (32-bits), All Windows 10 (64-bits) and All Windows 10 (32-bits), click Next

SCCM Wifi Profiles

  • On the Summary pane, review your settings and click Next

SCCM Wifi Profiles

  • Wait for the wizard to complete and click Close

SCCM Wifi Profiles

Deploy the Wifi Profiles

You are now ready to deploy the profile to your devices

  • Open the SCCM console
  • Go to Assets and Compliance / Compliance Settings / Company Resource Access / Wi-Fi Profiles
  • Right-click the profile and select Deploy

SCCM Wifi Profiles

  • Click Browse and select your collection
  • Specify the evaluation schedule, click Ok

SCCM Wifi Profiles

Monitor the deployment

Like every deployments, you can monitor the status in the SCCM Console under Monitoring / Deployments

SCCM Wifi Profiles

You may notice that the Wifi Profiles deployments are treated as they were Configuration Items.

Once successfully deployed, the computers receiving the Wifi Profile will automatically connect to the specified network.

9 Comments on “Deploy SCCM Wifi Profiles with Password to Windows 10 Devices”

  1. I have done it in my Windows 10 image through a task sequence and also used the condition where the task sequence will only run if it’s a laptop. But, some of my desktops have WiFi as well what condition should I use in my task sequence to run it when it detects of a WiFi card is existing.

    Can you help please?

    Thanks

    1. In my environment, I took the condition for laptops off the step and let it run for everyone but checked Continue On Error.

  2. I am having a nightmare with this. Wifi Profile deployed and is compliant on some machines according to SCCM, but it took hours to apply despite running client actions numerous times + reboots. Devices still don’t see the Wifi network though and it isn’t listed from netsh wlan show profiles or netsh wlan show all
    I can see an XML file referencing it on a client in the CCM\CIDownloader folder. I’m stumped and don’t want to result to deploying as a .BAT file with the command in it as an application. Any advice?

  3. Does that also work with Windows 10 Mobile and Windows 8.1 Phone? I am not able to get that to work with SCCM 1602! Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *