HighTechTalks DotNet Forums  

Process priority problem!

Dotnet Framework microsoft.public.dotnet.framework


Discuss Process priority problem! in the Dotnet Framework forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
ivan
 
Posts: n/a

Default Process priority problem! - 04-14-2006 , 03:22 AM






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



Reply With Quote
  #2  
Old   
Ara Avanesyan
 
Posts: n/a

Default Re: Process priority problem! - 04-14-2006 , 08:07 AM






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 (AT) art (DOT) com> wrote

Quote:
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





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.