Windows Vista Forums

Re: SCHTask.exe returns "Failed to start" from SVR 2008
  1. #1


    Pegasus [MVP] Guest

    Re: SCHTask.exe returns "Failed to start" from SVR 2008



    "Luke" <Luke@newsgroup> wrote in message
    news:327605C0-F8EA-4BD1-9A43-B2E7E5C9B747@newsgroup

    > Hi,
    > We have a number of 2003 servers which run lots of scheduled tasks around
    > the clock. We also have some 2008 servers which do the same.
    >
    > We use SCHTask.exe from the 2008 servers, to query the scheduled tasks on
    > the 2003 servers, and then look through the output of this query for
    > errors,
    > which is then used elsewhere to alert us that a scheduled task has failed
    > on
    > a given machine, and what the task is called.
    >
    > The problem we are having is that if a scheduled task runs sucessfully on
    > a
    > 2003 server, but has a NON ZERO return code, when SCHTask is run from a
    > 2008
    > server and queries that 2003 server, the output contains FAILED TO START
    > for
    > that tasks status.
    >
    > Examining the task on the 2003 server from the task scheduler shows that
    > the
    > task completed successfully.. and checking the tasks logs also indicate
    > that
    > everything was fine.
    >
    > This APPEARS to be a bug when SCHTASK is run from 2008 server against a
    > 2003
    > server which has non zero return code tasks that have run.
    >
    > Has anyone else had this problem? Its annoying because it keeps reporting
    > false job failures from our monitoring system.
    >
    > Thanks!!
    A non-zero return code usually indicates a problem with the command(s)
    you're trying to run. What are they?




      My System SpecsSystem Spec

  2. #2


    Luke Guest

    Re: SCHTask.exe returns "Failed to start" from SVR 2008

    >

    > A non-zero return code usually indicates a problem with the command(s)
    > you're trying to run. What are they?
    >
    Its a batch file which calls a script.. but its all custom stuff.. but like
    I say, from 2003 server it says everything is OK.. just 2008 comes up with
    the problem.



      My System SpecsSystem Spec

Re: SCHTask.exe returns "Failed to start" from SVR 2008 problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: SBS 2008 "Migration Wizard" Says SBS 2003 "Isn't SBS" So Stops Chigle Vista Forums 0 23 Jul 2009
"ViewEntireForest": "Active Directory operation failed on . Thesupplied credential for Personne PowerShell 1 05 Jan 2009
"Dependency service or group failed to start" and unable to start Diagnostic Policy Service manually racingracing Vista General 0 04 Jan 2009
Boot msg: "Group policy client service failed to start" Sabian Smith Vista General 1 23 Jul 2008
Client Returns 0xC004F38 "Count is insufficient" sc Vista installation & setup 0 06 Jun 2007