Auto-Set Process Affinity with THG Task Assignment Manager

In a previous article we talked about what process affinity is and how it can be manually changed in Windows. Basically, process affinity for a process sets the limit on number of processor cores that it can use. By changing the process affinity, you can tell Windows which cores of your CPU should be used for a particular process. This feature can be used for a number of reasons, for example, if a process is consuming too many of your system resources then you can limit it to use only half the number of CPU cores available so that your PC does not become unresponsive.

But the methods explained using the Task Manager and Process Explorer in the above mentioned article are volatile and set the affinity of a process as long as the process is running. Once the process ends, its affinity settings are also destroyed. If you want to ensure that the processes belonging to a particular application are always run with a specific process affinity setting, then you can use a free tool THG Task Assignment Manager.

Task Assignment Manager

This tool can automatically set the process affinity of a process when it detects that process running. In order to auto-set the affinity, you have to launch THG Task Assignment Manager and switch to the Application Profiles tab. Here you can select an application to the list by clicking on the Add button.

As soon as you select an application file (EXE), it will display the CPU selection window. In this window, you will see the number of cores or threads available for your CPU. You can select which of the cores should be used by the processes belonging to the selected application and click on the OK button.

Task Assignment Manager

After this whenever you launch the selected application, THG Task Assignment Manager will auto-set process affinity for it. But for this to work, you have to first run THG Task Assignment Manager and then launch the target application.

You can download THG Task Assignment Manager from