Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Using Task Scheduler fails to run RoboCopy.

09 Jan 2014   #21
Microsoft MVP

Windows 7 Ult. x64

Good stuff Alan.

The /mt switch allows you to allocate more threads to the copying process thereby speeding up the copying process (up to a point) - /mt:4 is good enough. It should be added to every robocopy line in your script.

Yes, you can now add more lines to your script. Your example would look like this:

robocopy I:\DATA M:\Backup_DATA /e /np /mt:4 /log:backup_log.txt
robocopy D:\Gardening M:\Backup_DATA /e /np /mt:4 /log+:backup_log.txt
Note the use of the + in the 2nd line - it will add to the existing log. Also, what is in C:\system32 that you want to backup? Are those files that you created?

My System SpecsSystem Spec
09 Jan 2014   #22

Windows 7 Professional 64bit

Hi Golden.

I do not have either a System32 or Gardening files to copy, they are both fictitious but thought they were more real than saying C:\x , I didn't mean to confuse.

I will leave you in peace, (for a little while anyway) and go away and 'play' Robocopy.

Many thanks for your patience and help.

Best regards

P.S. As the title of of the thread is 'Using Task Scheduler fails to run RoboCopy' and it still does not run Robocopy, I suppose I shouldn't mark this as Solved!!
My System SpecsSystem Spec
09 Jan 2014   #23
Microsoft MVP

Windows 7 Ult. x64

Its OK, mark as solved anyway
My System SpecsSystem Spec

18 Sep 2015   #24

Windows 2008 64 bit, windows 7 32 bit, windows 2012 R2 64 bit
Robocopy bat file to delete x days not accessed files is not working


Need help.. I created a robocopy bat file which has following switch to delete any files which have not been accessed in last 10 days. I run this batch file on my Windows 7 32 bit client & it does not work.. Can someone please help me. MAXLAD is for last not accessed files. I need to schedule this bat file to run through task manager on windows 2008 server.

mkdir c:\delete c:\robocopy.exe c:\Source c:\Delete /e /XF/C:\Source\Project /MOVE /MAXLAD:10 /LOG+:c:\robocopy.log rmdir c:\delete /s /q

My System SpecsSystem Spec

 Using Task Scheduler fails to run RoboCopy.

Thread Tools

Similar help and support threads
Thread Forum
Need help creating a task scheduler task to move files over a network.
Hello everyone, I need to have a task run that will move the contents of a folder from one computer to another over my home LAN. Files get downloaded during the night on one computer and then need to be transfered to another. Usually I am doing this by hand, but then though maybe I could get...
General Discussion
robocopy script is not working through Scheduler
Dear All, My batch file of robocopy is working fine. But when I tried to run it through task scheduler, none of the files transfer to the target location. @echo off echo +-----------------------------------------+ echo Database Export Utility for server ...
General Discussion
Task Scheduler Fails when Running VB Compile EXE
Hi Everyone, I am puzzled. I created an exe with Visual Studio 2010 to automate the execution of a 2nd program. This exe requires 2 command line arguments. When I run this exe from a Short cut with the arguments defined everything works as desired.
General Discussion
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance
Task Scheduler failing to start task with merged network locations
I have two routers I usually connect to (work and home) and each have wireless access. That means there are essentially 4 network locations I have listed. I have merged each respective network location (wired and wireless) into their own singular network location - "Work" and "Home". I also...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:40.
Twitter Facebook Google+