PRB: Can't Increase Process PriorityLast reviewed: December 16, 1996Article ID: Q110853 |
The information in this article applies to:
SYMPTOMSAn attempt to increase process priority to the real-time priority REALTIME_PRIORITY_CLASS may not set the PriorityClass to the expected level.
CAUSEOnly accounts with the "Increase Scheduling Priority" permission can increase the priority to real-time. Only Administrators and "Power Users" have this permission by default.
RESOLUTIONEither run the program from an Administrator or Power User account, or grant the Increase Scheduling Priority permission to any user group that must run the program.
STATUSThis behavior is by design.
MORE INFORMATIONThe Increase Scheduling Priority permission can be granted by an administrator to a user or group through the User Manager. To do this:
that have this right.Note that the call to SetPriorityClass() may return success even though the priority was not set to REALTIME_PRIORITY_CLASS, because if you don t have the Increase Scheduling Priority permission, a request for REALTIME_PRIORITY_CLASS is interpreted as a request for the highest priority class allowed in the current account. If it is important to know the actual priority class that was set, use the GetPriorityClass() function.
|
KBCategory: kbprg kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |