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 have a backup script that uses robocopy to copy files from my computer to an external USB drive.

I added the script to Windows 7 Task Scheduler. It works, but it takes around 4 hours to copy everything.

If I run the script manually it takes around 45 to 50 minutes.

I enabled the "Run with highest privileges" option.

Any ideas why it's so slow when running from the task scheduler? Thanks

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Try this - http://learningpcs.blogspot.in/2012/06/powershell-v2-set-process-priority-on.html

share|improve this answer
    
Welcome to Super User! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Sathya Jun 26 '12 at 10:08
1  
Thanks!, this was a step in the correct direction. What I did was export the task to XML. modify the Priority to 4 (normal) and then import the new task. More info here:bdbits.wordpress.com/2010/04/29/… –  Alex Angelico Jul 17 '12 at 20:43
    
Yes! Export to XML, delete the task, open the XML with notepad, change priority to 4, and Import the task. Worked wonders for me. –  Brent Jan 20 at 22:39

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.