Scheduled task stops working
Hello, I'm running into a problem with Task Scheduler on Windows Server 2008 SP2. I configured a task to start a batch file daily. It runs as the correct user, has highest privileges enabled, and is set to run whether the user is logged in or not. For several days, it will run successfully. Eventually, though, I start seeing the error "The system cannot find the file specified. (0x800700002)" The permissions on the batch file in question have not changed, and the group that the user belongs to has full read/write/modify rights. I can run the batch file manually when logged in as the user. I can fix the error for a while if I delete the scheduled task and recreate it (with precisely the same configuration). Has anyone encountered this error before? Any advice would be appreciated; Google results are a bit swamped for this particular error since this is a situation where the file really *does* exist. Thank you!
September 28th, 2011 6:56pm

did u changed the password of the username which has put when ur configuring task?Darshana Jayathilake
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2011 7:07pm

Is the bat file located on a network location? If so, specify an UNC path (\\server\share\...) Is the checkbox "run with highest privileges" on? Check your stopping conditions so that the batch file is terminated before it is started again ? MCP/MCSA/MCTS/MCITP
September 28th, 2011 9:00pm

has the user have a local administrator rights thanks virajPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
September 29th, 2011 10:05am

Thank you all for the suggestions. In order of posting: The password has not changed, and the correct password is stored. The bat file is on a local drive. Highest privileges is checked. The process is set to terminate after 2 hours, so it should not be attempting to start while it's still running. (It runs every 24 hours.) The user is a member of the local admins group. Any other ideas would be appreciated--thank you all!
September 30th, 2011 2:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics