Re: Scheduled tasks won't run unless logged in

From: Brian Komar (bkomar_at_nospam.identit.ca)
Date: 10/19/04


Date: Tue, 19 Oct 2004 12:27:27 -0400

In article <edw8YMftEHA.1404@TK2MSFTNGP11.phx.gbl>,
nojunk_allowed@nospam.com says...
> the console or even via a Terminal session as
> Administrator, all the tasks run, but if I log off all the users, the
> windows .exe type of commands run fine, but the batch file commands do not
> run. As examples, my AV protection runs a program that checks for updates 4
> times a day and my AV is always up to date, however I have a batch file that
> calls a few "Net Stop" commands, then NTBackup.exe , and finally the "Net
> Start" commands and this batch file and other batch files like it never run
> unless I am logged in as the Administrator (or logged in with the console
> locked)
>
> Is there a reason why command line batch files are not running on my Windows
> 2003 Server unless I am logged in?
>
Modify the permissions of CMD.exe in the windir\system32 folder to
assign the BATCH group the Read and the Read & Execute permissions. The
scheduled task is failing because it needs to spawn a command prompt.

Brian



Relevant Pages

  • Re: Scheduled tasks wont run unless logged in
    ... >> windows .exe type of commands run fine, but the batch file commands do ... >> times a day and my AV is always up to date, however I have a batch file ... >> unless I am logged in as the Administrator (or logged in with the console ...
    (microsoft.public.win2000.security)
  • Scheduled tasks wont run unless logged in
    ... All use the same Administrator logon to run. ... batch file tasks are the ones with the problem. ... windows .exe type of commands run fine, but the batch file commands do not ... Is there a reason why command line batch files are not running on my Windows ...
    (microsoft.public.win2000.security)
  • Re: Internet Explorer and index.dats
    ... I use a batch file that runs at boot. ... > So if my user account is reflected in the administrators account, ... >> the internal "Administrator" account. ... >> since if you delete the Temporary Internet Files via the Windows ...
    (microsoft.public.windowsxp.customize)
  • Re: please help.--3rd post. 2nd one lost in cyberspace--at least i cannot see it.
    ... i have downloaded and installed oracle. ... profile can run sql plus. ... if she boots and logs into her profile, she cannot run sql as the batch file ... > First, logged in as yourself or Administrator, go to Start-All ...
    (microsoft.public.windowsxp.general)
  • got it!
    ... set up a batch file in the winnt folder so i could run a series of commands ... You also have to lower the version of the policy, ... >> (you can use the scheduler to schedule remotely): ...
    (microsoft.public.win2000.security)