NetworkQoSPolicy CSP

The table below shows the applicability of Windows:

Edition Windows 10 Windows 11
Home Yes Yes
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

The NetworkQoSPolicy configuration service provider creates network Quality of Service (QoS) policies. A QoS policy performs a set of actions on network traffic based on a set of matching conditions. This CSP was added in Windows 10, version 1703.

The following conditions are supported:

  • Network traffic from a specific application name
  • Network traffic from specific source or destination ports
  • Network traffic from a specific IP protocol (TCP, UDP, or both)

The following actions are supported:

  • Layer 2 tagging using a IEEE 802.1p priority value
  • Layer 3 tagging using a differentiated services code point (DSCP) value

Note

The NetworkQoSPolicy configuration service provider is officially supported for devices that are Intune managed and Azure AD joined. Currently, this CSP is not supported on the following devices:

  • Azure AD Hybrid joined devices.
  • Devices that use both GPO and CSP at the same time.

The minimum operating system requirement for this CSP is Windows 10, version 1703. This CSP is not supported in Microsoft Surface Hub prior to Windows 10, version 1703.

The following example shows the NetworkQoSPolicy configuration service provider in tree format.

./Device/Vendor/MSFT
NetworkQoSPolicy
----Version
----Name
--------IPProtocolMatchCondition
--------AppPathNameMatchCondition
--------SourcePortMatchCondition
--------DestinationPortMatchCondition
--------PriorityValue8021Action
--------DSCPAction

NetworkQoSPolicy

The root node for the NetworkQoSPolicy configuration service provider.

Version

Specifies the version information.

The data type is int.

The only supported operation is Get.

Name

Node for the QoS policy name.

Name/IPProtocolMatchCondition

Specifies the IP protocol used to match the network traffic.

Valid values are:

  • 0 (default) - Both TCP and UDP
  • 1 - TCP
  • 2 - UDP

The data type is int.

The supported operations are Add, Get, Delete, and Replace.

Name/AppPathNameMatchCondition

Specifies the name of an application to be used to match the network traffic, such as `application.exe` or `%ProgramFiles%\application.exe`.

The data type is char.

The supported operations are Add, Get, Delete, and Replace.

Name/SourcePortMatchCondition

Specifies a single port or a range of ports to be used to match the network traffic source.

Valid values are:

  • A range of source ports: [first port number]-[last port number]
  • A single source port: [port number]

The data type is char.

The supported operations are Add, Get, Delete, and Replace.

Name/DestinationPortMatchCondition

Specifies a single source port or a range of ports to be used to match the network traffic destination.

Valid values are:

  • A range of destination ports: [first port number]-[last port number]
  • A single destination port: [port number]

The data type is char.

The supported operations are Add, Get, Delete, and Replace.

Name/PriorityValue8021Action

Specifies the IEEE 802.1p priority value to apply to matching network traffic.

Valid values are 0-7.

The data type is int.

The supported operations are Add, Get, Delete, and Replace.

Name/DSCPAction

The Differentiated Services Code Point (DSCP) value to apply to matching network traffic.

Valid values are 0-63.

The data type is int.

The supported operations are Add, Get, Delete, and Replace.

Read more about the XML DDF structure to create this policy by following the links below: