Task Scheduler

  • Thread starter news.microsoft.com
  • Start date
N

news.microsoft.com

I have a system running Vista Business. This system is set to autologon.
On XP, I had some applications that would start from an AutoIT script in the
startup group.
On Vista, most of these apps need to run with Administrator priviledges.
This cannot be changed.
You can't do this from the strtup group in Vista, but after a bit og
Googling, I discovered that the new
Task Scheduler has a trigger which is the PC startup. This has an option to
run with admin priviledges.
This all work OK except that all the apps start up with Below Normal task
priorities.
This is not satisfactory. I didn't set this, and I can't see anywhere it can
be set in the scheduler gui.
Anyone know why this happens and how I can stop it?
 
G

Guest

What I did to adjust the priortities was to export the task from Task
Scheduler. Then edit the .xml file with notepad and change the value under
priority to what you want. 7 (below normal) is the default for the task
scheduler, 6, 5 ,or 4 are levels of normal (see link below). Then save as a
different name and then import to Task scheduler. You will then need to
delete the original task. There may be a better way but this works.

http://msdn2.microsoft.com/en-us/library/aa383512.aspx

Paul
 
N

news.microsoft.com

Thanks for the reply.

I found another way. AutoIt has the capability to change the priority of
tasks, so in the script the first thing it does is to set it's own priority
back to normal. Then all the subsequent tasks started by it are at normal
priority.
Task priority should be in the gui, I reckon.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top