Muokkaa

Jaa


Policy CSP - DataUsage

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.

SetCost3G

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1703 [10.0.15063] and later
./Device/Vendor/MSFT/Policy/Config/DataUsage/SetCost3G

This policy setting configures the cost of 3G 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 3G 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 3G connections is Fixed by default.

Note

This policy is deprecated.

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 SetCost3G
Friendly Name Set 3G Cost
Location Computer Configuration
Path Network > WWAN Service > WWAN Media Cost
Registry Key Name Software\Policies\Microsoft\Windows\WwanSvc\NetCost
ADMX File Name wwansvc.admx

SetCost4G

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 1703 [10.0.15063] and later
./Device/Vendor/MSFT/Policy/Config/DataUsage/SetCost4G

This policy setting configures the cost of 4G 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 4G 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 4G connections is Fixed 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 SetCost4G
Friendly Name Set 4G Cost
Location Computer Configuration
Path Network > WWAN Service > WWAN Media Cost
Registry Key Name Software\Policies\Microsoft\Windows\WwanSvc\NetCost
ADMX File Name wwansvc.admx

Policy configuration service provider