Link to home
Start Free TrialLog in
Avatar of GodMother
GodMother

asked on

Automate Robocopy Scripts

Hi Team,
I have few robocopy scripts to run everyday. What is the best and effective way to automate.
I tried with Task Scheduler (Windows 2008) with making a .BAT file, but it's not running properly. Sometimes Jobs are skipping. What would be the best way to automate and monitor if fails.  Thank you
SOLUTION
Avatar of Tomislavj
Tomislavj
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Check credential used to run this jobs. I have never heard job scheduler skips jobs...
sometimes there are some problems with privileges on tasks folder. my solution is:

Start - Run - CMD - C:/windows - CACLS TASKS /E /G builtin\administrators:F

Open in new window


The steps above grant Administrators group full control permission to the C:\WINDOWS\Tasks folder.
Avatar of GodMother
GodMother

ASKER

I have granted by the above command. let me wait for the next run of task
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Experts comment helped me in finding the issue and figured out the way to resolve.