Hi,

Using set priority option in task manager I've changed priority of my
service to RealTime. Now when I try to return to Normal I receive "Access
denied" message. I tried to uninstal service, build new version, delete
registry entries and when I start that new version the priority of service
is again RealTime. How to return to Normal priority? Is there any place
where windows writes process priorities? I even tried to put in different
folder, rename it...
Service is developed in C# 2.0, runs on Win XP SP2
Any help is appriciated!
Tnx,
Ivan

Re: Process priority problem! by Ara

Ara
Fri Apr 14 08:07:26 CDT 2006

I am not sure about your problem (no, windows doesn't keep old values for
processes neither an instance of process has something to do with another
instance of the same program), but to be able to adjust the priority of a
service (which is most possibly is run by System account), you need to have
appropriate rights. The easiest way is to try running task manager with
system account.
- close its current instance
- cmd
- time
- at <what time returned>+1 /INTERACTIVE taskmgr
use this powerful taskmgr at your risk:)

__
Thanks,
Ara


"ivan" <ivan@art.com> wrote in message news:e1nm45$lam$1@ss405.t-com.hr...
> Hi,
>
> Using set priority option in task manager I've changed priority of my
> service to RealTime. Now when I try to return to Normal I receive "Access
> denied" message. I tried to uninstal service, build new version, delete
> registry entries and when I start that new version the priority of service
> is again RealTime. How to return to Normal priority? Is there any place
> where windows writes process priorities? I even tried to put in different
> folder, rename it...
> Service is developed in C# 2.0, runs on Win XP SP2
> Any help is appriciated!
> Tnx,
> Ivan
>
>