Sign in to follow this  
Followers 0
jftuga

Changing process priority of SYSTEM owned processes

2 posts in this topic

I looked at the AutoSpeed script recently posts in Scripts & Scraps. If I want to change the priority of a process that is running as (owned by) the SYSTEM user, what is the best way of going about this in AutoIt? I would be logged in as an Administrator. When I try it now, I get a Permission Denied error.

The only way that I know how to do this it to run a Scheduled Task since those processes also run as the SYSTEM user.

Thanks,

-John

Share this post


Link to post
Share on other sites



Did you try:

ProcessSetPriority("System", 3)

That successfully changes the "System" process, which is of course run in the context of the "SYSTEM" account to the "Above Normal" priority. As an administrator, you (and AutoIt) should be able to change the priority of any process in the system.

This is tested on XP SP2.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0