Windows server 2008 scheduled task RRS feed

  • Question

  • Hi,

    I have a batch file (.bat file) that runs on a scheduled task every day.

    The batch file runs a sql script using sqlcomd, this part works file.

    After that the batch file deletes some files on a NAS backup drive and copies some new files to the NAS drive, however this part never runs when the .bat file is run through the scheduled task.

    If I run the .bat file manually by just typing it's name into a dos console it all runs fine.

    So it would seem like a permissions issue, but :

    - The schedules task is set to run under the Administer user account (the same account I am logged into on the machine when I run the batch file manually).

    - The "Do not store password. This task will only have access to local resources" box is NOT TICKED.

    So I have no idea what to do to give the scheduled task even more permissions...

    Friday, May 13, 2011 10:24 AM


  • Hi,


    Make sure you have installed the required updates in your Windows Server. Whether there are conflicts with other scheduled tasks. Please create a separate scheduled tasks with administrator account to see if the same issue still exists.


    If it’s still never runs, please review the event viewer to see whether any error or time out event log.

    Technology changes life……
    Monday, June 6, 2011 12:15 PM