We help IT Professionals succeed at work.
Get Started

Using Task Scheduller to run Robocopy Scripts

YellowbusTeam
on
7,219 Views
Last Modified: 2012-05-11
Hi Guys,

We have a Server 2008 Standard edition server running service pack 2 (this is not R2).

We use Robocopy to backup data from the server to a NAS box over night, this is setup to run via a Windows Schedulled task. When it runs over night we get the following error (0x41306), this result is returned for all out Schedulled tasks that we have on the server.

If we try to run the Schedulled tasks by clicking run, it all apears to work... but it doesnt as there is no mapped drive appearing in windows explorer for the NAS box.

If we run the Robocopy script on its own and not through the Schedulled taks it runs fine and we dont get anyy errors (if a little slow).

Any help on this would be greatly appreciated?

Comment
Watch Question
CERTIFIED EXPERT
Top Expert 2012
Commented:
This problem has been solved!
Unlock 2 Answers and 19 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE