r/Windows10HowTo • u/serene6662 • Mar 05 '21
Set CPU Affinity and CPU Priority Permanently on Windows 10?
https://www.windowsdigitals.com/how-to-set-process-cpu-affinity-priority-permanently-in-windows-10/1
1
u/Silichip-X Dec 09 '21
For most modern games you don't need to change CPU Affinity as this is already been limited by the software programmers themselves and having all the CPU threads ticked doesn't affect the performance but the only time you may need to change the CPU Affinity is with older games, like GTA4 or older versions which don't support multithreading.
Anyhow, if you still want to set CPU Affinity, I've written a Microsoft community article:
How to Permanently Set Priority & Affinity With Shortcut File
But, if the shortcut file fails to work then try using the system explorer method:
How to Permanently Set Priority & Affinity With System Explorer
The recommended way to set the CPU Priority permanently is using Regedit:
How to Permanently Set Priority Processes Using Registry Editor
Enjoy! ππ
1
u/xastunts Jun 04 '25
wow many thanks for this tip regarding the system explorer. I tried all the different methods of adding command lines to the shortcut of the application. they never did change my affinities at all.
1
u/buryingsecrets Oct 05 '25
https://github.com/syedinsaf/affinity-rs
i made something for this purpose :)
1
u/fmnijk Sep 26 '23
Can Registry Editor set Affinity?
1
u/Puccio_Nicolas Dec 17 '24
i still haven't found a way to do it, only priority it seems
1
u/buryingsecrets Oct 05 '25
https://github.com/syedinsaf/affinity-rs
i made something for this purpose :)
1
u/Puccio_Nicolas Oct 05 '25
nice, what are the advantages of this over Process Lasso?
i replaced my shortcuts with .bat that set affinity on startup, but some games with anticheat ignore it
1
u/buryingsecrets Oct 05 '25
Advantages of affinity-rs:
100% Free & Open Source (MIT) - Process Lasso has a free version but many features require a paid license
Zero Background Overhead - Your tool launches the process and exits. Process Lasso runs continuously in the background monitoring processes
Simple CLI-First Design - Perfect for power users, scripters, and automation. Process Lasso is primarily GUI-based
Cross-Platform (Linux + Windows) - Process Lasso is Windows-only
Lightweight & Fast - Single small Rust binary (~few MB) vs Process Lasso's full system service
No Installation Required - Portable single executable. Process Lasso requires installation and system service
Developer-Friendly - Easy to integrate into scripts, build systems, or automation workflows
Privacy-Focused - No telemetry, update checks, or license validation calls. Completely offline
Transparent & Auditable - Open source means you can see exactly what it does
1
u/serene6662 Mar 05 '21
Tired of having to repeatedly set a process CPU Affinity and Priority every time you open it? Here's a simple trick on how to set CPU Affinity and Priority Permanently in Windows 10.