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.
How To Force a Process to Run on Specific Processor Cores in Windows 10
The first step is to launch to program and then we will need to locate its main process in the Task Manager. Press [Alt] + [CTRL] + [Delete] to open the Task Manager. Go to the Processes tab and then navigate to the desired program. Right-click on the entry > Go to Details to locate the main process (selected by default):Clear the All processors checkbox, choose the cores you want to assign to the selected program and then click on OK:
For unlimited offline reading, you can download this article for free in PDF format:

Cpu-pinning-in-windows-10.pdf
Tags
How To