So I have an issue that constantly occurs and the only way to fix it is changing the cpu affinity to "cpu 2" and the priorty to high. Its a little annoying to have to go into task manager every time and change it manually when i want to use the program and then itll swhich them back randomly. So I was trying to figure out how to make a batch file i could run instead.
I pretty sure this would be how to change the priority: wmic process where name="ProcessName" CALL setpriority ProcessIDLevel
But I have no clue how to change the affinity, so im hoping someone here might know?
The process is audiodg.exe and its a windows process that runs at start up so if would have to be able to change it while the process is running which im not sure is even possible to be honest.
Thanks!
I pretty sure this would be how to change the priority: wmic process where name="ProcessName" CALL setpriority ProcessIDLevel
But I have no clue how to change the affinity, so im hoping someone here might know?
The process is audiodg.exe and its a windows process that runs at start up so if would have to be able to change it while the process is running which im not sure is even possible to be honest.
Thanks!