Assigning process to a specific processor group

Karsa Lo 1 Reputation point
2021-11-30T07:20:49.92+00:00

I have server with two physical processors. I want to set a current process to a specific group as if I do it manually from task manager.
Note that it is not affinity but processor group.
I have referred to this document:
https://learn.microsoft.com/en-us/windows/win32/procthread/processor-groups?redirectedfrom=MSDN
But there is still no way to solve my problem.
I wonder if it can be modified through the registry or command line without C + + or C#

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,759 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,216 Reputation points
    2021-12-02T10:06:12.907+00:00

    Hi there,

    This can be done in Azure but not sure about the servers you are talking about. Maybe the below articles might help you out in this.

    You cannot specify a NUMA node when you create a process by using the "start" command in Windows Server 2008 R2 or in Windows 7
    https://support.microsoft.com/en-us/topic/you-cannot-specify-a-numa-node-when-you-create-a-process-by-using-the-start-command-in-windows-server-2008-r2-or-in-windows-7-59fc2cb8-ab6b-0a74-dc18-49139176c31b

    About process customization and inherited processes
    https://learn.microsoft.com/en-us/azure/devops/organizations/settings/work/inheritance-process-model?view=azure-devops&tabs=agile-process

    Create and manage inherited processes
    https://learn.microsoft.com/en-us/azure/devops/organizations/settings/work/manage-process?view=azure-devops

    ------------------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments