Re: Win2K Task Scheduler says running but it's not

From: David Frankenbach (sendnospam_at_nospam.com)
Date: 09/16/05


Date: Fri, 16 Sep 2005 11:59:05 -0500

Dave,

The task log shows no errors on the job. All of the network resources are
available. Like I said the task starts, except it's now stating as a process
and not an application, and that appears to be what is preventing the exe
from actually working.

The Run As user is already set as Log on as batch job.

df

"Dave Patrick" <DSPatrick@nOsPAM.gmail.com> wrote in message
news:OMrV5dtuFHA.1032@TK2MSFTNGP12.phx.gbl...
> Scheduled Tasks|Advanced|View Log may provide some details. If the job
> connects to another machine you may need to add the user/ group 'logon as
> batch job' rights (server side). Control Panel|Admin Tools|Local Security
> Policy\Local Policies\User Rights Assignments
> "Log on as a batch job"
>
> Remember that if it involves network resources to make sure the user
> account
> has permissions to the resources and also use UNC paths as mapped drives
> won't exist when no one is logged on.
>
> This article may help.
>
> Result Codes in Scheduled Tasks Indicate an Error Occurred in the Task
> http://support.microsoft.com/default.aspx?scid=kb;en-us;Q267031
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "David Frankenbach" wrote:
> | Ever since we applied the latest round of Windows Updates to a Win2K
> machine
> | the task scheduled on the box will fire off at the scheduled time and
> the
> | status displays as Running, but the program is in fact NOT running. The
> exe
> | had been running flawlessly once a week for the last 5 years. I know
> it's
> | not really running because the first thing it does is create a log file
> and
> | begins writing progress information into it. It shows up as a _process_
> in
> | taskman, but not as an _application_.
> |
> | If I double click the exe from windows explorer it runs fine.
> |
> | We've been through a couple of reboots, stopping/restarting the
> scheduler,
> | deleting the task and setting it back up again, verified that the Run As
> | credentials are correct, nothing has worked. We've even tried setting up
> a
> | new task that just launches Notepad.exe or Calc.exe and they exhibit the
> | same behavior.
> |
> | Is there a hotfix for the now quite broken scheduler? Some obtuse
> | configuration that needs to be changed? A registry hack?
> |
> | df
> |
> |
>
>



Relevant Pages

  • Re: cannot create task schedule
    ... Control Panel|Admin Tools|Local Security Policy\Local Policies\User Rights Assignments ... Remember that if it involves network resources to make sure the user account has permissions to the resources and also use UNC paths as mapped drives won't natively exist when no one is logged on. ... task scheduler service is started though ...
    (microsoft.public.windows.server.general)
  • Re: Task Scheduler Problems Server 2003 Enterprise
    ... network resources, make sure the user account has permissions to the ... | No matter what permissions I give the task scheduler ... | domain or local accounts,) my tasks won't run when I'm ...
    (microsoft.public.windows.server.general)
  • Re: Schedule job not running
    ... Result codes are returned from the application and are not specific to Task Scheduler. ... Control Panel|Admin Tools|Local Security Policy\Local Policies\User Rights Assignments ... Remember that if it involves network resources to make sure the user account has permissions to the resources and also use UNC paths as mapped drives won't natively exist when no one is logged on. ...
    (microsoft.public.windows.server.general)
  • Re: VB.Net Console app needs timer
    ... There is no windows service template for Express, ... it hide itself and use the scheduler as Mark indicates. ... build and took the exe to my target machine. ... I took this to my target machine and ran setup. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Setting up a Timer in an ActiveX DLL
    ... Just a normal EXE Seon ... Check out the Windows Task Scheduler: ... >> your DLL would be executing on multiple threads within IIS. ...
    (microsoft.public.vb.com)