jftuga Posted August 31, 2006 Posted August 31, 2006 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 Admin_Popup, show computer info or launch shellRemote Manager, facilitates connecting to RDP / VNCProc_Watch, reprioritize cpu intensive processesUDF: _ini_to_dict, transforms ini file entries into variablesUDF: monitor_resolutions, returns resolutions of multiple monitorsReport Computer Problem, for your IT help deskProfile Fixer, fixes a 'missing' AD user profile
Valik Posted August 31, 2006 Posted August 31, 2006 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now