Automate Robocopy Scripts

Posted on 2012-09-17
Last Modified: 2012-10-30
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
Question by:GodMother
    LVL 6

    Assisted Solution

    have you check event viewer why these scheduled jobs skipping sometimes?
    LVL 19

    Expert Comment

    by:Miguel Angel Perez Muñoz
    Check credential used to run this jobs. I have never heard job scheduler skips jobs...
    LVL 6

    Expert Comment

    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.

    Author Comment

    I have granted by the above command. let me wait for the next run of task

    Accepted Solution

    Server was busy during the time so not getting enough resources to handle the job and it says exceeded quota. By segregating the jobs in different times, Now all the Jobs are running. no skip. Thank you.

    Author Closing Comment

    Experts comment helped me in finding the issue and figured out the way to resolve.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
    Have you ever had a hard drive that you can't boot into, but need to change the registry? Here is the solution! This article guides you through accessing and editing a registry of a non-primary drive. To read registry information on a non-prim…
    This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
    Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now