Schedules Task Result Code 0x3

Discussion in 'Windows Server' started by Neil, Aug 24, 2005.

  1. Neil

    Neil Guest


    I'm running w2k3 SE and i've noticed that one of my scheduled tasks is
    reporting a result code 0x3.

    I just ran the task manually and all appeared normal.

    I've searched google and the microsoft knowledge base I can't find any
    reference to 0x3.

    Can anyone shed any light on this please?



    PS - its a robocopy backup routine between 2 folders that are on the same
    Neil, Aug 24, 2005
    1. Advertisements

  2. Neil

    Neil Guest

    I just tried the task again with a /k switch on cmd.exe so i can see the
    result of the robocopy command.

    All was well, but this time, it returned a different exit code (c000013a)???


    Neil, Aug 24, 2005
    1. Advertisements

  3. The exit code is usually generated by the last used
    command in the scheduled task, in this case by
    robocopy.exe. You can easily confirm this by
    adding some extra lines to your scheduled batch file:

    c:\tools\robocopy.exe .. .. ..
    echo Errorlevel of robocopy=%ErrorLevel%
    echo Username=%UserName%

    Your task is now to find out why robocopy fails. Perhaps
    %UserName% has insufficient access rights to the resource
    that you're trying to access with robocopy.
    Pegasus \(MVP\), Aug 24, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.