Windows decides which program gets the processor next using priorities, and it normally does a good job on its own. Sometimes, though, it's useful to step in: pushing a long video export into the background so your PC stays responsive, or giving a stubborn app a little more CPU time. Windows 11 has three built-in ways to do this without installing anything: Task Manager, the start command and PowerShell. This guide is based on Microsoft's documentation as of 29 November 2026.
How priority works in Windows
Microsoft's documentation explains that every thread has a scheduling priority from 0 (lowest) to 31 (highest). Windows hands out time slices in round-robin fashion to the highest-priority threads that are ready to run, and if a higher-priority thread becomes ready, the lower-priority one is stopped so the more important thread can run. A thread's priority comes from two things: the priority class of its process and the thread's level within that class.
For everyday use, the part you can change is the process priority class. Windows has six:
Priority class | What Microsoft says it's for |
|---|
Idle (Low in Task Manager) | Threads that run only when the system is idle; Microsoft's example is a screen saver |
Below normal | Above Idle but below Normal |
Normal | No special scheduling needs; the default for a process |
Above normal | Above Normal but below High |
High | Time-critical tasks that must be executed immediately |
Realtime | The highest possible priority, which pre-empts even operating system processes |
By default a process runs at Normal. Microsoft notes that if the program that launches another one is Idle or Below normal, the new process inherits that class.
Why you should almost never use Realtime (or overuse High)
Microsoft is blunt about this. It says you should almost never use the Realtime class, because it interrupts system threads that manage mouse input, keyboard input and background disk flushing, and that a real-time process running for more than a very brief interval can stop disk caches from flushing or make the mouse unresponsive. High also needs care: Microsoft warns that a High-priority application can use nearly all available CPU time, and that if several threads are set to High at the same time, they lose their effectiveness.
In practice, lowering the priority of a background job is usually safer than raising the priority of the thing you're using. Setting a big render, compression job or file sync to Below normal lets it soak up spare CPU time while your browser, game or editor stays at Normal and gets served first.
Method 1: Task Manager
Press Ctrl + Shift + Esc to open Task Manager.
Go to the Details tab.
Right-click the program's process and choose Set priority, then pick a level such as Below normal or Above normal.
To limit which processor cores it can use, right-click it again, choose Set affinity and tick only the CPUs you want it to run on.
Some programs run several processes with the same name (browsers are a common example), so you may need to change each one. Changes made here apply only to the running process: the next time the program starts, it gets the default Normal priority again (unless whatever launches it runs at Idle or Below normal). If you're new to Task Manager, our Task Manager guide walks through the other tabs.
Method 2: the start command
The start command in Command Prompt can launch a program at a chosen priority, which is handy in a shortcut or batch file so the setting applies every time. Microsoft lists the switches /low, /belownormal, /normal, /abovenormal, /high and /realtime. For example:
start "" /belownormal "C:\Program Files\HandBrake\HandBrake.exe"
The empty quotes matter: start treats the first quoted text as the title of the window, so without them a quoted program path would be read as a title instead.
The same command can set CPU affinity with /affinity, followed by a hexadecimal mask in which each bit is a processor. Microsoft's .NET documentation shows how the mask works on an eight-processor system: 1 is processor 1, 3 is processors 1 and 2, 7 is processors 1 to 3, and 9 is processors 1 and 4. So this would start a program on the first two logical processors only:
start "" /affinity 3 "C:\Path\To\Program.exe"
Logical processors include Hyper-Threading or SMT threads, so on most modern CPUs two of them share one physical core. Run start /? to see the full help in Command Prompt.
Method 3: PowerShell
PowerShell can change a process that's already running. Process objects have a PriorityClass property that you can both read and set, with the values Idle, BelowNormal, Normal, AboveNormal, High and RealTime. For example, to drop every running instance of a program called encoder to Below normal:
Get-Process encoder | ForEach-Object { $_.PriorityClass = 'BelowNormal' }
There's also a ProcessorAffinity property that takes the same bitmask as start /affinity. Microsoft notes that setting it to zero lets the operating system's scheduler choose for itself. Changing a process that runs as administrator may need PowerShell opened with Run as administrator too. If you're not sure which shell to use, our Command Prompt vs PowerShell comparison explains the differences.
Is CPU affinity worth changing?
Microsoft's documentation explains that threads can migrate from processor to processor, reloading the processor cache each time, and that under heavy load pinning a thread to a processor can improve performance by reducing those reloads. That's the theory. In our view, on a desktop PC Windows' own scheduler usually does a better job than a hand-picked set of cores, and restricting a demanding program to fewer cores will normally slow it down. Affinity is most useful the other way round: keeping a background job off some of your cores so they stay free for the work in front of you.
Making it stick
Task Manager settings disappear when the program closes. If you want a priority every time, you have three options:
Put a start command with the priority switch in a shortcut or batch file and launch the program from that.
Run a PowerShell or start command at log-on with Task Scheduler.
Use a dedicated tool. Our Process Lasso guide covers an app that reapplies priority and affinity rules automatically each time a program starts.
When priority won't help
Priority only decides who goes first when the CPU is busy. If your PC is slow because the processor is maxed out by something that shouldn't be running, fix that first with our guide to high CPU usage in Windows 11, and use Process Explorer or Task Manager to find the culprit. Microsoft also notes that for background work such as file or network I/O, adjusting CPU priority isn't sufficient, because even an idle-priority process can interfere with responsiveness when it uses the disk and memory. And if the slowdown is caused by a drive, memory or the graphics card, CPU priority won't change it.