I have my own application which is running as service.
I set its priority as IDLE using this statement.
I am using <u>apache</u> as one of the <u>service</u> used by my application.
I want to set apache's priority as IDLE_PRIORITY_CLASS.
How to do this? I can't run this through the batch file or using start command. I am starting these services when Installing my application.
In some the thread, somebody told that Micro$oft doen't support to change the priority of a service.
But using www.sysinternels.com
's Process Explorer, It can be set the priority for services also.
So, it is possible to change the prority of a service programatically.
How to do this?
Any type of Ideas will be appreciated.