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
Let’s look at how to make CPU affinity in Windows 11. Why doesn't Windows save affinity permanently? First, a quick reality check: Microsoft doesn't offer a "Save Affinity" button in Task Manager for a reason. Modern CPUs use heterogeneous architectures (P-cores vs. E-cores). Windows 11 is actually smarter than previous versions at automatically parking threads and moving workloads to the correct cores to save power or boost performance. Open Notepad and paste this template: Have a
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. Why doesn't Windows save affinity permanently
Then you restart the application, and poof —your settings are gone.
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.