Networking

QoS Packet Scheduler in Windows: What It Is and What It Does

The QoS Packet Scheduler is the Windows networking component that lets the operating system apply Quality of Service rules to the traffic your PC sends. Out of the box it has no rules to apply: Microsoft documents that QoS policy is not enabled by default, so on a typical home PC it does nothing visible until someone creates a policy.

This page covers what Windows QoS policy can actually do, how to see and create a policy, and why it rarely fixes a slow connection.

What does the QoS Packet Scheduler do?

Microsoft describes Policy-based QoS as a bandwidth management tool that works by application, user and computer. Traffic management happens below the application layer, so programs do not need changes to benefit. A policy has two parts, according to the New-NetQosPolicy reference: match conditions (which traffic) and actions (what to do with it).

There are two actions you will meet on a PC:

  • DSCP marking. The policy writes a Differentiated Services Code Point value, 0 to 63, into the header of matching outbound packets. Microsoft's example is DSCP 46 for a VoIP application so that routers can place the packets in a low-latency queue. Routers decide what to do with the mark.
  • Throttling. The policy caps the outbound rate of matching traffic. Microsoft gives the example of an IT department limiting a file server's download rate to manage WAN costs.

Matches can be made on the sending application and path, source and destination IPv4 or IPv6 addresses, TCP or UDP, port numbers and ranges, and (through Group Policy) users or computers.

Is it on by default, and does it limit my bandwidth?

No policies exist by default, and Microsoft's FAQ says QoS Policy "is not enabled by default". Without a policy, this feature is not throttling or prioritising your traffic.

You will see claims online that Windows reserves 20% of your bandwidth through this component and that changing a setting frees it. I did not find that in the Microsoft documentation listed below, so I am not repeating it as fact. Do not edit registry values for that purpose on the strength of a forum post.

How to see QoS policies on your PC

Open PowerShell and run:

Get-NetQosPolicy

If nothing is configured, the command prints nothing. Policies set by an employer through Group Policy appear with an owner of Group Policy. In the Group Policy Management Editor, the location is Computer Configuration, Policies, Windows Settings, Policy-based QoS (and the same path under User Configuration).

How to create a QoS policy in PowerShell

Run PowerShell as administrator. This is Microsoft's own example, which throttles ftp.exe and stores the policy in ActiveStore so it disappears on restart:

New-NetQosPolicy -Name "FTP" -AppPathNameMatchCondition "ftp.exe" -ThrottleRateActionBitsPerSecond 1MB -PolicyStore ActiveStore

Example output, from the Microsoft documentation:

Name           : FTP
Owner          : PowerShell / WMI
NetworkProfile : All
Precedence     : 127
AppPathName    : ftp.exe
ThrottleRate   : 1.049 MBits/sec

The rate is in bits per second, and PowerShell's 1MB is 1,048,576, hence 1.049 megabits per second in the output. That is roughly 131 kilobytes per second, so pick the number with the bit-versus-byte difference in mind.

To tag traffic instead of limiting it, use -DSCPAction. This example, also from the documentation, marks traffic sent to one subnet with DSCP 40 on domain-joined connections only:

New-NetQosPolicy -Name "Backup" -IPDstPrefixMatchCondition "10.1.1.176/28" -NetworkProfile Domain -DSCPAction 40

Useful parameters:

ParameterWhat it does
-AppPathNameMatchConditionMatches by the name an application runs under, such as application.exe
-IPDstPortMatchConditionMatches one destination port
-DSCPActionSets the DSCP value, 0 to 63
-ThrottleRateActionBitsPerSecondMaximum rate in bits per second
-NetworkProfileDomain, Public, Private or All (applies on any connection type if omitted)
-Precedence0 to 255; 255 is highest, default 127
-PolicyStoreWhere the policy lives; ActiveStore does not persist after restart

To delete a policy, use Remove-NetQosPolicy, the companion cmdlet listed in Microsoft's reference. A policy created in ActiveStore also goes away at the next restart.

Which policy wins when several match?

Microsoft's FAQ says the more specific policy takes precedence: a policy for host 192.168.4.12 beats one for 192.168.0.0/16. If a computer-level and a user-level policy are equally specific, the user-level one is applied. The -Precedence value is the other control: a higher value wins a conflict.

Why a QoS policy rarely fixes lag at home

  • It only touches outbound traffic. Microsoft states that policies must be applied on the sending computer to affect its outbound traffic. Downloads are controlled by the sender, not by your PC.
  • DSCP marks are requests. The mark does something only if the devices along the path honour it. Home routers and ISPs often do not, so a marked packet may be treated like any other.
  • Throttling helps in a narrow way. Capping a big upload on your PC can leave room on the line for a game or call. A router-level fix, described in the router QoS guides, handles every device at once.

If you want to turn it off

First run Get-NetQosPolicy. If it lists nothing, there is no policy to remove and the scheduler is not shaping your traffic. If a policy was set by Group Policy on a work PC, you cannot remove it locally; ask your administrator. For policies you created yourself, remove them with Remove-NetQosPolicy and re-test.

Frequently asked questions

Does the QoS Packet Scheduler make my internet faster?
No. Windows QoS policy can mark outbound packets with a priority value or cap an application's outbound rate. Neither adds bandwidth. A cap makes the capped application slower, and a priority mark only helps if a router or switch on the path acts on it.
Is Windows QoS policy turned on by default?
No. Microsoft's QoS Policy FAQ says QoS Policy is not enabled by default and that you must create policies manually. In the Group Policy location Computer Configuration, Policies, Windows Settings, Policy-based QoS, no policies are configured by default.
Does a Windows QoS policy affect downloads?
Not directly. Microsoft's FAQ states that policies must be applied on the sending computer to affect its outbound traffic, and that both computers need a policy to affect traffic in both directions. A policy on your PC shapes what your PC sends.
Does a QoS policy survive a reboot?
It depends on where it is stored. Per the New-NetQosPolicy documentation, a policy stored in ActiveStore does not persist after restart. A policy created without -PolicyStore is added to the local computer and stays.

Sources