Posted on 12/03/2005 2:58:56 PM PST by Washi
Note to thread police: I am posting this in Chat.
I am trying to find a way to modify the priority of a program/process that I have running as a Windows service on Windows 2000 Server.
I have tried the right-click from the task manager method with no luck (access denied.)
I need the priority setting to be static so I don't have to reset it every time I reboot.
Some of the most knowledgable IT people I know are on FR, so that is why I am asking here.
The Unix side does this with "nice" and "renice". Windows may have something like it.
Did you log on as administrator on that machine?
Do you have to stop the process before you can change its properties?
(MS Windows 2000 online help isn't much help...)
I had thought that stopping the process first would result in it not being available as a listed process in Task Manager, but was surprised to see that it was still in there.
I still get the "access denied" message however.
(MS Windows 2000 online help isn't much help...)
I hear that. I don't want to spend $295 on a support call to Microsoft either.
Did the system start the task or is the task running under your account?
You can only modify the priority tasks running under your account.
The task starts as a windows service. With "automatic" startup type and "localsystem" ownership. These settings need to remain as they are for reasons of overall system functionality.
I would think that being logged on as administrator would give me the access, but it does not.
If you schedule the task manager to run by using the at command, it will then run under the local system account. As for permanently changing the process priority, that would be done at the code level of the application or service.
Try the PViewer tool from the Windows 2000 Resource kit:
http://www.dynawell.com/support/ResKit/win2k.asp
I'll try that. Thanks.
Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.