2

Some time ago, I was looking for a possibility to change a program’s CPU priority in Windows permanently and found a solution here that involves setting certain registry keys (“PerfOptions”) and values (dword:“CpuPriorityClass”) for the program below the registry path HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options.

This works as intended for standard binaries that are executed in Windows. However, the mechanism does not work for .NET processes that are executed in the CLR.

Now my question is: is there a comparable way to permanently set the CPU priority for a .NET program in Windows that is installed as a black-box (without access to source code)?

user7515079
  • 181
  • 6

0 Answers0