Windows 10: How to Permanently Set Priority & Affinity

Discus and support How to Permanently Set Priority & Affinity in Windows 10 Software and Apps to solve the problem; Iv tried everything ranging from software to shortcut files, nothing seems to work and I dont know why. I rly need to set audiodg to high prioraty and... Discussion in 'Windows 10 Software and Apps' started by drew andre, May 20, 2024.

  1. How to Permanently Set Priority & Affinity


    Iv tried everything ranging from software to shortcut files, nothing seems to work and I dont know why. I rly need to set audiodg to high prioraty and to change the affiliaty to my second core only. I cant seem to get it to work can someone please help?

    :)
     
    drew andre, May 20, 2024
    #1

  2. How to Permanently Set Priority & Affinity With Shortcut File

    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. For this example, I will be using MSPaint.exe.

    Related Article: How to Permanently Set Priority Processes Using Registry Editor.

    1. Open Task Manager and click on the Details tab then select Open file location.


    How to Permanently Set Priority & Affinity 6905e3c9-68c6-4538-aa9c-7ae9515fb976?upload=true.png


    2. Right-click on the program.exe and select Create Shortcut.


    How to Permanently Set Priority & Affinity f97b3624-e020-4860-b2c5-0f619ddb115c?upload=true.png


    3. Right-click again on the program shortcut and select Properties.


    How to Permanently Set Priority & Affinity 57e09d3b-9be2-415b-8e98-507852d75ae1?upload=true.png


    4. In the target location, enter this command line and set the priority and affinity.


    How to Permanently Set Priority & Affinity 5663a742-1c1c-4c0b-9726-faba42b30b46?upload=true.png


    Target Location:

    %ComSpec% /C Start /Normal /Affinity Hex C:\Folder Path\Program.exe

    Set Priority:

    High

    AboveNormal

    Normal

    BelowNormal

    Low

    Set Affinity:

    CPU - HEX

    0 ---- 1

    1 ---- 3

    2 ---- 7

    3 ---- F

    4 ---- 1F

    5 ---- 3F

    6 ---- 7F

    7 ---- FF

    8 ---- 1FF

    9 ---- 3FF

    10 --- 7FF

    11 --- FFF

    12 --- 1FFF

    13 --- 3FFF

    14 --- 7FFF

    15 --- FFFF

    5. Click on the Change Icon and find the icon.exe path location.


    How to Permanently Set Priority & Affinity 3edc1ee9-974f-4f22-a56c-2b82819f1ce8?upload=true.png


    6. Open Task Manager and the program.exe priority & affinity are set.


    How to Permanently Set Priority & Affinity 56fdb7c3-740f-4c36-abcd-b60797fd6ea3?upload=true.png




    P.S. If the shortcut file fails to work then try using the System Explorer method: www.tenforums.com/144736/html#post2341516

    If you found this to be helpful then please give a Yes. Thanks!
     
    Silichip-X, May 20, 2024
    #2
  3. Polo6RGTI Win User
    How to permanently set cpu affinity for programs?

    I use batch scripts to set the affinity and priority.


    How to Permanently Set Priority & Affinity 255864d1574150477t-how-permanently-set-cpu-affinity-programs-screenshot-191119003-.png


    Binary/Decimal/Hexadecimal Converter

    Code:
    You can also create a shortcut on the Desktop:
    Code:
    How to Permanently Set Priority & Affinity 255873d1574152426t-how-permanently-set-cpu-affinity-programs-screenshot-191119012-.png

    How to Permanently Set Priority & Affinity 255872d1574152426t-how-permanently-set-cpu-affinity-programs-screenshot-191119013-.png

    How to Permanently Set Priority & Affinity 255871d1574152426t-how-permanently-set-cpu-affinity-programs-screenshot-191119014-.png

    How to Permanently Set Priority & Affinity 255870d1574152426t-how-permanently-set-cpu-affinity-programs-screenshot-191119015-.png
     
    Polo6RGTI, May 20, 2024
    #3
  4. How to Permanently Set Priority & Affinity

    How to Permanently Set Priority & Affinity With Shortcut File

    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. For this example, I will be using MSPaint.exe.

    Related Article: How to Permanently Set Priority Processes Using Registry Editor.

    1. Open Task Manager and click on the Details tab then select Open file location.


    How to Permanently Set Priority & Affinity 6905e3c9-68c6-4538-aa9c-7ae9515fb976?upload=true.png


    2. Right-click on the program.exe and select Create Shortcut.


    How to Permanently Set Priority & Affinity f97b3624-e020-4860-b2c5-0f619ddb115c?upload=true.png


    3. Right-click again on the program shortcut and select Properties.


    How to Permanently Set Priority & Affinity 57e09d3b-9be2-415b-8e98-507852d75ae1?upload=true.png


    4. In the target location, enter this command line and set the priority and affinity.


    How to Permanently Set Priority & Affinity 5663a742-1c1c-4c0b-9726-faba42b30b46?upload=true.png


    Target Location:

    %ComSpec% /C Start /Normal /Affinity Hex C:\Folder Path\Program.exe

    Set Priority:

    High

    AboveNormal

    Normal

    BelowNormal

    Low

    Set Affinity:

    CPU - HEX

    0 ---- 1

    1 ---- 3

    2 ---- 7

    3 ---- F

    4 ---- 1F

    5 ---- 3F

    6 ---- 7F

    7 ---- FF

    8 ---- 1FF

    9 ---- 3FF

    10 --- 7FF

    11 --- FFF

    12 --- 1FFF

    13 --- 3FFF

    14 --- 7FFF

    15 --- FFFF

    5. Click on the Change Icon and find the icon.exe path location.


    How to Permanently Set Priority & Affinity 3edc1ee9-974f-4f22-a56c-2b82819f1ce8?upload=true.png


    6. Open Task Manager and the program.exe priority & affinity are set.


    How to Permanently Set Priority & Affinity 56fdb7c3-740f-4c36-abcd-b60797fd6ea3?upload=true.png




    If you found this to be helpful then please give a Yes. Thanks!
     
    Silichip-X, May 20, 2024
    #4
Thema:

How to Permanently Set Priority & Affinity

Loading...
  1. How to Permanently Set Priority & Affinity - Similar Threads - Permanently Set Priority

  2. How to Permanently Set Priority & Affinity

    in Windows 10 Gaming
    How to Permanently Set Priority & Affinity: Iv tried everything ranging from software to shortcut files, nothing seems to work and I dont know why. I rly need to set audiodg to high prioraty and to change the affiliaty to my second core only. I cant seem to get it to work can someone please help?...
  3. How do i permanently set affinity/priority in windows 11?

    in Windows 10 Gaming
    How do i permanently set affinity/priority in windows 11?: I need the process "audiodg.exe" that is always running the background, to only be using 1 single core. The problem is, out of nowhere completely randomly, it will reset itself and use all cores again. Is there any way at all to make sure that it is ALWAYS using a single core...
  4. How do i permanently set affinity/priority in windows 11?

    in Windows 10 Software and Apps
    How do i permanently set affinity/priority in windows 11?: I need the process "audiodg.exe" that is always running the background, to only be using 1 single core. The problem is, out of nowhere completely randomly, it will reset itself and use all cores again. Is there any way at all to make sure that it is ALWAYS using a single core...
  5. How to Permanently Set Priority & Affinity With Shortcut File

    in Windows 10 BSOD Crashes and Debugging
    How to Permanently Set Priority & Affinity With Shortcut File: 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. For...
  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 do I set affinity and priority for program permanently/automatically

    in Windows 10 Customization
    How do I set affinity and priority for program permanently/automatically: I have an app that seems to only be stable when given certain cores and a high priority, but each time I open it, I have to manually go into task manager todo this. How do I make it so that its affinity and priority are automatically set to these when I open it?...
  10. How to set priority for processes permanently.

    in Windows 10 Customization
    How to set priority for processes permanently.: I am looking to set priority for processes permanently. Tried to do it via task manager but that is only temporary. Want to assign excel and chrome a higher priority than normal. Any clues how to do it and not via third party apps....