Policy CSP - ADMX_wlansvc

Tip

This CSP contains ADMX-backed policies which require a special SyncML format to enable or disable. You must specify the data type in the SyncML as <Format>chr</Format>. For details, see Understanding ADMX-backed policies.

The payload of the SyncML must be XML-encoded; for this XML encoding, there are a variety of online encoders that you can use. To avoid encoding the payload, you can use CDATA if your MDM supports it. For more information, see CDATA Sections.

SetCost

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 2004 [10.0.19041.1202] and later
✅ Windows 10, version 2009 [10.0.19042.1202] and later
✅ Windows 10, version 21H1 [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later
./Device/Vendor/MSFT/Policy/Config/ADMX_wlansvc/SetCost

This policy setting configures the cost of Wireless LAN (WLAN) connections on the local machine.

  • If this policy setting is enabled, a drop-down list box presenting possible cost values will be active. Selecting one of the following values from the list will set the cost of all WLAN connections on the local machine:

  • Unrestricted: Use of this connection is unlimited and not restricted by usage charges and capacity constraints.

  • Fixed: Use of this connection isn't restricted by usage charges and capacity constraints up to a certain data limit.

  • Variable: This connection is costed on a per byte basis.

  • If this policy setting is disabled or isn't configured, the cost of Wireless LAN connections is Unrestricted by default.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name SetCost
Friendly Name Set Cost
Location Computer Configuration
Path Network > WLAN Service > WLAN Media Cost
Registry Key Name Software\Policies\Microsoft\Windows\Wireless\NetCost
ADMX File Name wlansvc.admx

SetPINEnforced

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 2004 [10.0.19041.1202] and later
✅ Windows 10, version 2009 [10.0.19042.1202] and later
✅ Windows 10, version 21H1 [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later
./Device/Vendor/MSFT/Policy/Config/ADMX_wlansvc/SetPINEnforced

This policy applies to Wireless Display connections. This policy means that the use of a PIN for pairing to Wireless Display devices is required rather than optional.

Conversely it means that Push Button is NOT allowed.

  • If this policy setting is disabled or isn't configured, by default Push Button pairing is allowed (but not necessarily preferred).

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name SetPINEnforced
Friendly Name Require PIN pairing
Location Computer Configuration
Path Network > Wireless Display
Registry Key Name SOFTWARE\Policies\Microsoft\WirelessDisplay
Registry Value Name EnforcePinBasedPairing
ADMX File Name wlansvc.admx

SetPINPreferred

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 2004 [10.0.19041.1202] and later
✅ Windows 10, version 2009 [10.0.19042.1202] and later
✅ Windows 10, version 21H1 [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later
./Device/Vendor/MSFT/Policy/Config/ADMX_wlansvc/SetPINPreferred

This policy applies to Wireless Display connections. This policy changes the preference order of the pairing methods.

When enabled, it makes the connections to prefer a PIN for pairing to Wireless Display devices over the Push Button pairing method.

  • If this policy setting is disabled or isn't configured, by default Push Button pairing is preferred (if allowed by other policies).

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name SetPINPreferred
Friendly Name Prefer PIN pairing
Location Computer Configuration
Path Network > Wireless Display
Registry Key Name SOFTWARE\Policies\Microsoft\WirelessDisplay
Registry Value Name PreferPinBasedPairing
ADMX File Name wlansvc.admx

Policy configuration service provider