However, "smart" isn't always "right." If you need manual control, you have to trick Windows into reapplying the affinity every time the program launches. This is the cleanest "native" way. You will create a batch file that launches your program, waits a moment, and then forces the affinity.
Open Notepad and paste this template:
Have a legacy app that hates multi-core CPUs? Let us know in the comments below! windows 11 set cpu affinity permanently
We’ve all been there. You launch a demanding game or a legacy piece of software, open Task Manager, right-click the process, and click "Set Affinity." You carefully uncheck "CPU 0" to balance the load, click OK, and smile. However, "smart" isn't always "right