I have a scheduled task that is very IO intensive (deleting hundreds of thousands of files). For disk space reasons, this job has to be performed reasonably quickly. On win2k8, scheduled tasks always have a low IO priority. Raising the priority of the process did not change the IO priority. Is there any way to get a scheduled task to have a normal IO priority?
views:
359answers:
1
+3
A:
- Create the task
- Right click on the task and "export" it
- Edit the task.xml file that you just exported
- You will find a line similar to
<Priority
>7</Priority
> - Change the value to a normal priority (between 4-6). A table of the potential values are here
- In the task scheduler, delete the task you initially created
- In the task scheduler, in the actions area, import the task from the XML file
Jason Mathison
2010-03-12 21:41:42