What the video covers
Adjusting processor affinity for a running application using Windows 11 Task Manager. This affects the current process only and does not permanently change system-wide settings.
Watch the video on YouTubeStep-by-step instructions
- Open Task Manager
Press Ctrl+Shift+Esc to open Task Manager. - Show process details
Switch to the Details tab to see individual running processes. - Select the target process
Right-click the program or process you want to control in the Details list. - Open affinity settings
Choose Set affinity from the context menu to open the CPU core selection dialog. - Choose cores
Check the CPU cores you want the process to use and uncheck the others, then click OK to apply. - Verify the change
Watch the process’s CPU usage in Task Manager to confirm activity is confined to the selected cores.
Watch the video
Play tutorial
Why it matters
Some applications benefit from being restricted to specific CPU cores — for compatibility, to avoid contention with other processes, or to stabilize performance during testing.
Check your result
After applying affinity, the selected app will run only on the checked CPU cores. You can monitor its CPU usage in Task Manager to confirm activity is limited to those cores.
Troubleshooting
If Set affinity is disabled or not available, you might need administrative rights or the process may be protected by the system. Affinity changes apply to the current process and typically reset when the program restarts; use a startup script or launcher if you need a persistent setting. If performance gets worse, restore the original affinity (or set it back to use all cores).