Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just scheduled a task in my Windows 7, and I have 2 problems with it:

  1. The process starting with Below Normal priority.
  2. Even after manually changing the priority to Normal (via Task Manager), the process's memory going to the pagefile when idle.

Both problems aren't happening when running the same process without scheduled task.

How to make the scheduled task run with Normal priority and without paging the memory?

Thanks.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

You can't change the task's priority in the GUI, but you can change it in it's XML by exporting the task. After you've exported the task open the XML in Notepad or your favorite text editor. Somewhere in the file, probably near the bottom, look for the Priority element and change its value. The default value is 7. Valid values are between 0 and 10 inclusive with 0 being the highest priority and 10 being the lowest priority. (Go figure!) After you've changed the Priority element save the file, delete the scheduled task from Task Scheduler and import the fixed up XML file.

The schema for scheduled tasks is documented at http://msdn.microsoft.com/en-us/library/aa383609(VS.85).aspx. The Priority element itself is documented at http://msdn.microsoft.com/en-us/library/aa383070(VS.85).aspx

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.