Windows WiFi Example Template
You can manage WiFi configuration on enrolled Windows devices through a policy. Read this section to learn how to create a custom Windows WiFi policy using a template from WebUI.
About this task
- From the WebUI select
- The WebUI MCM dashboard appears. Click Create Policy.
- From the list of available policy options, select Custom from Template.
- On the General Settings page, do the following:
- Enter Policy Name and Description.
- For Operating System, select Windows.
- From the Assign Policy to Site drop-down, select a site to assign the policy.
- In the Templated Policy section, under
Select a Policy from Template drop-down,
select Windows WiFi Example Template and edit the
necessary parameters.
<Add> <CmdID>3cd19f03-8d96-4684-bdec-9e0eede9a193</CmdID> <Item> <Target> <LocURI>./Vendor/MSFT/WiFi/Profile/{{SSID_NAME}}/WlanXml</LocURI> </Target> <Data> <![CDATA[<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1"> <name>{{SSID_NAME}}</name> <SSIDConfig> <SSID> <hex>{{SSID_HEXCODE}}</hex> <name>{{SSID_NAME}}</name> </SSID> <nonBroadcast>false</nonBroadcast> </SSIDConfig> <connectionType>ESS</connectionType> <connectionMode>auto</connectionMode> <autoSwitch>false</autoSwitch> <MSM> <security> <authEncryption> <authentication>WPA2PSK</authentication> <encryption>AES</encryption> <useOneX>false</useOneX> <FIPSMode xmlns="http://www.microsoft.com/networking/WLAN/profile/v2">false </FIPSMode> </authEncryption> <sharedKey> <keyType>passPhrase</keyType> <protected>false</protected> <keyMaterial>{{WIFI_PASSWORD}}</keyMaterial> </sharedKey> <PMKCacheMode>disabled</PMKCacheMode> </security> </MSM> </WLANProfile>]]> </Data> </Item> </Add>
- Replace all occurrences of
{{SSID_NAME}}
in the template with your WiFi SSID. - Convert WiFi SSID string to hex value and replace
{{SSID_HEXCODE}}
in the template with the hex value of WiFi SSID. - Replace
{{WIFI_PASSWORD}}
in the template with the actual WiFi shared secret.
Note: The above settings enable you to create a basic WiFi policy. For a complete list of customizable parameters, read Microsoft documentation. - Replace all occurrences of
- Click Save to save the Custom WiFi policy.
- Add the saved policy to a policy group for Windows and deploy to MDM Server.