Windows 10: How do I set affinity to 4 cores in a shortcut?

Discus and support How do I set affinity to 4 cores in a shortcut? in Windows 10 Software and Apps to solve the problem; I doing some retro-gaming with Fallout 4. It weas crashing to desktop every few minutes. What finally fixed my issue was going into the task manager... Discussion in 'Windows 10 Software and Apps' started by Robmoo, Mar 17, 2024.

  1. Robmoo Win User

    How do I set affinity to 4 cores in a shortcut?


    I doing some retro-gaming with Fallout 4. It weas crashing to desktop every few minutes. What finally fixed my issue was going into the task manager and restricting the program to 2 cores. I've read that it will use 4 fine. I came across an article regarding setting affinity in a shortcut, but it didn't address setting affinity to multiple cores but not all cores. I'm running a 14900k and Fallout 4 doesn't seem to like seeing 32 cores.

    :)
     
    Robmoo, Mar 17, 2024
    #1

  2. Default affinity for applications set to only use first 4 cpu cores.

    Having the same issue on my laptop. Everything in win11 has affinity set to 4 cores, which I think in my case is 2 physical and 2 HT cores. I have a 6c/12t cpu so not ideal at all.

    There is definitely a difference to how win10 and win11 handle default affinity. I never had these issues on win10

    The launch shortcut solution sounds like a dodgy bodge rather than a proper solution. I don't want to have to create a custom shortcut for every game and app I install.
     
    dragzi2375, Mar 17, 2024
    #2
  3. Kosechi Win User
    Default affinity for applications set to only use first 4 cpu cores.

    The title basically says it all. Recently for some reason most processes are launched with a default affinity (set in task manager) to only use the first 4 processor cores/threads. I have an 8 core 16 thread cpu, so this is utilizing only 1/4 of the CPU and I have noticed a significant decrease in performance. I understand I can manually change the affinity, but doing that for every program each time i reboot my PC is not a solution, so please do not suggest it. I want to figure out why this happened, and fix it.
     
    Kosechi, Mar 17, 2024
    #3
  4. Davie_C Win User

    How do I set affinity to 4 cores in a shortcut?

    How to set 8 core cpu in affinity settings

    Here is how to set your affinity settings using 8 core cpu splitting them into two 4 cpu cores

    cmd.exe /c start "WoWSLauncher" /affinity F "C:\Games\World_of_Warships\WoWSLauncher.exe"

    As you can see I added "F" next to /affinity that will let you use just 4 cores 0,1,2,3

    I can do it easy in task manager but got to keep doing it everytime i want to play the game.

    So if you want to use 0 1 2 3 cores just for the game you would add "F" in your line like so..

    for cores 4,5,6,7 Do this....

    Add F0 next to /affinity like so

    cmd.exe /c start "obs32" /affinity F0 "C:\Program Files (x86)\obs-studio\bin\32bit\obs32.exe"

    cmd.exe /c start "obs64" /affinity F0 "C:\Program Files (x86)\obs-studio\bin\64bit\obs64.exe"

    Depends on if using 32 or 64bit of the os.

    If doing it for obs it will not work as it can't find locale\eng-US.ini and failed to load locale but file is there.

    So thats how you would set your affinity settings splitting 8 cores into two 4 cores

    Am using windows 10.

    You want to use 0,1,2,3 for the game and 4,5,6,7 for obs.

    Only thing is that it does not save the settings of affinity after you exit the game it will return back to 8 cores when you start the game again.

    So if anyone knows how to Save the settings then please post here as i have hunted on the net for awhile now.
     
    Davie_C, Mar 17, 2024
    #4
Thema:

How do I set affinity to 4 cores in a shortcut?

Loading...
  1. How do I set affinity to 4 cores in a shortcut? - Similar Threads - set affinity cores

  2. How do I set affinity to 4 cores in a shortcut?

    in Windows 10 Gaming
    How do I set affinity to 4 cores in a shortcut?: I doing some retro-gaming with Fallout 4. It weas crashing to desktop every few minutes. What finally fixed my issue was going into the task manager and restricting the program to 2 cores. I've read that it will use 4 fine. I came across an article regarding setting affinity...
  3. Default affinity for applications set to only use first 4 cpu cores.

    in Windows 10 Gaming
    Default affinity for applications set to only use first 4 cpu cores.: The title basically says it all. Recently for some reason most processes are launched with a default affinity set in task manager to only use the first 4 processor cores/threads. I have an 8 core 16 thread cpu, so this is utilizing only 1/4 of the CPU and I have noticed a...
  4. Default affinity for applications set to only use first 4 cpu cores.

    in Windows 10 Software and Apps
    Default affinity for applications set to only use first 4 cpu cores.: The title basically says it all. Recently for some reason most processes are launched with a default affinity set in task manager to only use the first 4 processor cores/threads. I have an 8 core 16 thread cpu, so this is utilizing only 1/4 of the CPU and I have noticed a...
  5. Default affinity for applications set to only use first 4 cpu cores.

    in Windows 10 BSOD Crashes and Debugging
    Default affinity for applications set to only use first 4 cpu cores.: The title basically says it all. Recently for some reason most processes are launched with a default affinity set in task manager to only use the first 4 processor cores/threads. I have an 8 core 16 thread cpu, so this is utilizing only 1/4 of the CPU and I have noticed a...
  6. How to Permanently Set Priority & Affinity Into Shortcut Program

    in Windows 10 Software and Apps
    How to Permanently Set Priority & Affinity Into Shortcut Program: You can set the priority and affinity of a program you want to run into a shortcut file, it does have some drawbacks. The most notable is that you have to be able to launch the process manually. If you can’t or the process is spawned by another program, it won’t work.1. Open...
  7. How to Permanently Set Priority & Affinity Into Shortcut Program

    in Windows 10 BSOD Crashes and Debugging
    How to Permanently Set Priority & Affinity Into Shortcut Program: You can set the priority and affinity of a program you want to run into a shortcut file, it does have some drawbacks. The most notable is that you have to be able to launch the process manually. If you can’t or the process is spawned by another program, it won’t work.1. Open...
  8. How to Permanently Set Priority & Affinity Into Shortcut Program

    in Windows 10 Gaming
    How to Permanently Set Priority & Affinity Into Shortcut Program: You can set the priority and affinity of a program you want to run into a shortcut file, it does have some drawbacks. The most notable is that you have to be able to launch the process manually. If you can’t or the process is spawned by another program, it won’t work.1. Open...
  9. How to set the affinity of an app to single core ?

    in Windows 10 Ask Insider
    How to set the affinity of an app to single core ?: Hi everyone, Recently I had this weird issue where my output sound is disgusting when the affinity of "audiodg.exe" is set to more than one core. I'd like to know if there is a solution to set the affinity of an app to single core without specifying which core ? Thanks...
  10. Unable to set core affinity

    in Windows 10 Support
    Unable to set core affinity: I've been having a serious problem with the Steam Client Webhelper recently, where I'm in a group voice chat and all of a sudden it's using serious processor time. Just yesterday I was playing in the BFV beta when I noticed sudden system lag, with the fps dropping down from...