Task Scheduler result 0x4 RRS feed

  • Question

  • Hi, I have a scheduled task that does something like the following:

            xcopy d:\folder\filename \\server\share\folder\ /y

    If I run this scheduled task with my domain admin ID in the job, it runs fine.  If I put in a service account we use, it fails with 0x4.  The service account is also a domain admin.  I have specifically given the account rights on the source and destination folders.  I have also give the service account the "logon as batch file" right on both servers.  What am I missing?  The source server (also where the task runs) is 2008 R2 and the destination is 2003.


    Tuesday, August 14, 2012 1:38 AM


  • Thank you both for your help.  I figured out what was wrong: the share permissions.  They allowed my ID but not the service account.

    Thanks again,

    • Marked as answer by BobR2 Tuesday, August 14, 2012 2:51 AM
    Tuesday, August 14, 2012 2:50 AM

All replies