CPU Pinning in Windows 10

Ask a question
Windows 10 gives you the ability to choose the number of CPU cores you want to assign to a program through a procedure known as CPU pinning. You can, for example, make a program run on 2 cores instead of using the whole CPU (all the cores). CPU pinning comes in handy when you have to deal with programs with unnecessarily high CPU usages.

Warning: The modification of this parameter can cause the program to behave abnormally or crash. You may also experience a drop in performance for CPU intensive tasks (rendering, data compression, video or audio encoding, and calculations). Do it at your own risk.

Force a Process to Run on Specific Processor Cores

Do a [Alt] + [CTRL] + [Delete] to open the Task Manager. Go to the Processes tab and select the desired program. Do a right-click and select Go to details to locate the program's main process:

Right-click on the program_name.exe > Set Affinity:

N.B. If the Set Affinity is grayed out, then it means that your won't be able to change the CPU affinity for the selected program.

Clear the All processors checkbox and choose the cores you want to assign to the selected program:

Click on OK to apply your new settings.
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team