Error code 4 for Task Scheduler

From: ctdak (ctdak_at_discussions.microsoft.com)
Date: 01/22/05


Date: Fri, 21 Jan 2005 16:19:04 -0800

I am getting an error code 4 upon a scheduled task trying to run. The task
is running an MS-DOS batch file with an XCOPY command in it to transfer some
files. The batch file runs fine when run manually, so I think it has
something to do with running after hours when not logged in. Does anyone
know exactly what this error code indicates? I don't want to pay $200 for
the MS Driver Dev Kit which supposedly explains these codes.
Thanks.



Relevant Pages

  • Re: Compiling m-file to C
    ... It starts compiling from m- ... operable program or batch file. ... (error code = 1). ... Error executing mcc, return status = 1. ...
    (comp.soft-sys.matlab)
  • Re: Changing "Failed" Error Code
    ... A two line batch file: ... updated", but, SMS interprets this as a Failure in the Log. ... Is it possible to intercept this, so that the Error Code of 44 is not ...
    (microsoft.public.sms.admin)
  • Re: Error code 4 for Task Scheduler
    ... > I am getting an error code 4 upon a scheduled task trying to run. ... > is running an MS-DOS batch file with an XCOPY command in it to transfer ... The batch file runs fine when run manually, ...
    (microsoft.public.win2000.general)
  • Re: Error code 4 for Task Scheduler
    ... If it involves network resources, make sure the user account has permissions ... |I am getting an error code 4 upon a scheduled task trying to run. ... The batch file runs fine when run manually, ...
    (microsoft.public.win2000.general)
  • Re: remote machine execution
    ... ECHO will always works, BUT if u ever pass parameters to batch file, it will ... cmd.exe exited on host with error code 0. ... That's four working variants. ...
    (microsoft.public.windows.server.scripting)

Loading