Windows 10: Automatic/scripting changing processor affinity on an already running application?

Discus and support Automatic/scripting changing processor affinity on an already running application? in Windows 10 Software and Apps to solve the problem; HiI am looking to see if there is a way to change the processor affinity on a running application.Maybe by using bat, python or the likes to launch the... Discussion in 'Windows 10 Software and Apps' started by KlausThomsen1, May 20, 2022.

  1. Automatic/scripting changing processor affinity on an already running application?


    HiI am looking to see if there is a way to change the processor affinity on a running application.Maybe by using bat, python or the likes to launch the parent application and subsequently change the affinity.Here is the basic problem:I have App-A, that is started manually when needed.App-A then start App-B which is needed to operate as intended.It is App-B i wish to change the affinity for, post launch.App-A should be allowed to use all the cores unchangedAny ideas?- KlausPS: I am aware it can be changed manually, and is what I am currently doingPPS: Assuming I can't use start /affinity laun

    :)
     
    KlausThomsen1, May 20, 2022
    #1
  2. Yolvi Ell Win User

    CPU / CPU Processor problems / Processor affinity

    We appreciate the information you provided. Your processor is working as expected. CPU affinity is only showing CPU (0) since 1 processor is working at the moment. It's very likely that your computer is using a balanced power plan, so we suggest changing
    your power plan to High Performance by following these steps:

    • Right-click Start.
    • Click Power Options.
    • Choose High Performance.

    In addition to that, we recommend installing the latest updates to keep your system current and secure. Go to
    Start > Settings > Update & Security > Check for updates.

    Some programs may also be automatically launching whenever you boot your computer, affecting the performance. To disable them, follow these steps:

    • Right-click your taskbar.
    • Click Task Manager.
    • Under the Startup tab, find the programs that you don't need.
    • Right-click the program and choose Disable.

    You're also using your computer for a game that was designed to run on an earlier version of Windows, so it's possible that it's slowing down your computer. In this case, use the Compatibility Troubleshooter to find and fix problems with the program using
    these steps:

    • Click Start.
    • Type Troubleshooting and press Enter.
    • Click Run programs made for previous versions of Windows.
    • Click Next.
    • Choose the program from the list and click Next.

    Let us know if you need further assistance with your computer.
     
    Yolvi Ell, May 20, 2022
    #2
  3. Application Processor Affinity Problem

    Excellent! While the problem is solved, that is a very useful article. Thank You! Funny thing is, I'm frequent visitor to SevenForums and never crossed paths with that page.
    Ruled out the hardware as no other programs are being affected in such a way.
     
    lexluthermiester, May 20, 2022
    #3
  4. er557 Win User

    Automatic/scripting changing processor affinity on an already running application?

    er557, May 20, 2022
    #4
Thema:

Automatic/scripting changing processor affinity on an already running application?

Loading...
  1. Automatic/scripting changing processor affinity on an already running application? - Similar Threads - Automatic scripting changing

  2. "Another instance of "Application" is already running error

    in Windows 10 Gaming
    "Another instance of "Application" is already running error: This error appeared just today. When I open my application it says "Another instance of "Application" is already running even it isn't running. This happens when I open the app once and close and reopen, it says that error. I am on Windows 11. When the error appears, I go to...
  3. "Another instance of "Application" is already running error

    in Windows 10 Software and Apps
    "Another instance of "Application" is already running error: This error appeared just today. When I open my application it says "Another instance of "Application" is already running even it isn't running. This happens when I open the app once and close and reopen, it says that error. I am on Windows 11. When the error appears, I go to...
  4. Automatic/scripting changing processor affinity on an already running application?

    in Windows 10 Gaming
    Automatic/scripting changing processor affinity on an already running application?: HiI am looking to see if there is a way to change the processor affinity on a running application.Maybe by using bat, python or the likes to launch the parent application and subsequently change the affinity.Here is the basic problem:I have App-A, that is started manually...
  5. Automatic/scripting changing processor affinity on an already running application?

    in Windows 10 Customization
    Automatic/scripting changing processor affinity on an already running application?: HiI am looking to see if there is a way to change the processor affinity on a running application.Maybe by using bat, python or the likes to launch the parent application and subsequently change the affinity.Here is the basic problem:I have App-A, that is started manually...
  6. start an application if not running already when logging

    in Windows 10 Software and Apps
    start an application if not running already when logging: is there a way to start an application if not running already when logging in after sleep lets say i exit Windows Explorer and put my computer to sleep instead of shutdown i want windows to start Windows Explorer when i login after computer sleep forgive my poor english as...
  7. Starting Application With Affinity

    in Windows 10 Software and Apps
    Starting Application With Affinity: Greetings Windows 10 1909 I would like to start an application setting its affinity and priority. I currently have several applications setup to run from a batch file with high priority. The batch file to run with high priority is as follows: start "" "F:\My...
  8. Starting Application With Affinity

    in Windows 10 Support
    Starting Application With Affinity: Greetings Windows 10 1909 I would like to start an application setting its affinity and priority. I currently have several applications setup to run from a batch file with high priority. The batch file to run with high priority is as follows: start "" "F:\My...
  9. What is Processor Affinity & how to set Processor Affinity on Windows 10

    in Windows 10 News
    What is Processor Affinity & how to set Processor Affinity on Windows 10: [ATTACH] [ATTACH]When a Program runs in Windows 10, it uses CPU. Most of the computers have a multicore processor. Any Program that you run uses all the CPU cores. In simple words, Windows OS decides how to use the cores for [...] This post What is Processor Affinity & how...
  10. Automatically Run Batch Script

    in Windows 10 Installation and Upgrade
    Automatically Run Batch Script: Hi everyone When the windows installation is finished, automatically run batch script. How can I do that? Thanks *Wink 122531