Cancellation of the schedule

While some may not think of this as programming, it certainly is. The Scheduler task is a program. It starts the process that I wrote. Claiming that this is a common problem doesn't help much.

I have created my own backup routines, both on my Windows XP home machine and several in the office, where I use the task scheduler to run a backup file that xcopy all files with a newer date than the backup disk To the backup disk ...

Trying to set this up for a friend, I can't get the task scheduler to work, even with the login password set.

He recently got rid of all his Norton antivirus. Is connection possible?

I also have my own Windows 2000 machine that I uninstalled Norton from a long time ago and the task scheduler doesn't work there either. It's not that important because there is not much volatility data on this machine.

0


source to share


3 answers


Maybe a dumb question - and his login is the administrator on the box? I would set up a "service account" and give it admin rights and run the task under that account. There might be residual issues with the antivirus or firewall - depending on what it is currently using, it might explicitly allow that program to run.



Make sure no login is required for any account, but of course the machine must be turned on.

+1


source


Is the Task Scheduler service running? is it set to "Automatic" start?

to check, open the control panel, go to "Administration", then "Services". Find "Task Scheduler" in the list and make sure it works.



EDIT: Also, if the task he configured to run as a different user, make sure the "RunAs" (Win2k) or "Secondary Login" (on XP / Vista) service is running.

+1


source


I would start with:

  • Replace the script task with a simpler task that depends on privileges as much as possible, etc. - just to make sure it's running. A simple dummy task might be to create a directory in a temporary folder.
  • Checking if the task scheduler will start a process if the "run as" user is logged in
  • Providing access to files / scripts / programs is available to the SYSTEM user

... and then from there from there.

0


source







All Articles