• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

Simple scheduled task "Could not Start" in Windows 200 Terminal

I have a simple bat file which deletes a txt file in current directory(of bat file) and copies the txt file from another drive in same comp to current directory.
The bat file is supposed to run as scheduled task every morning ... but the Status is "COuld not Start"....last ran in April 2004.I ran the bat file manually,it did the job alright.

Oh...Oh...wait..none of the scheduled tasks have strated(they are 7 of them,but 3 of them have been disabled.

Thanks,
PG
0
PradeepPG
Asked:
PradeepPG
1 Solution
 
TannerManCommented:
In the scheduled task properties are you running it as the user account/password that that works when your logged on the sever?
Is the physical BAT file located in a folder that the user account/password that works when logged on the server has full control (or at leaste execute permissions)?
In start>programs>admin tools>local security settings
-expand local Policies in left window pane
-double click User rights Assignments in left window pane
-in the RIGHT window pane find "log on as a batch job"
-double click it
-verify (or add) the user account exists as having the rights to do this.

Normally the cannot start error is tied to the user context it is trying to run under either does not have access to the BAT, or does not have the rights to even run batch jobs.

Hope it helps
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now