Windows – How to get a scheduled task to run for a user regardless of which computer the user is logged onto

scheduled-taskwindows

I've got a scheduled task that needs to run for a user at a specific time. However, the user sometimes logs onto one machine, the next day onto another, then next week onto yet another. At some pint during the day, the user might have to log onto another machine.

How do I get the scheduled task to run regardless of which computer the user is using?

I could of course create the task on all computers, but that seems a bit overkill. Running a script on log on (or a group policy) to create the task doesn't seem a good method either. Any ideas? Basically I want the scheduled task to be defined on the user instead of on the computer. If in the end I need to choose between the two options above, which is best?

Best Answer

Scheduled tasks will run at their scheduled time regardless of whether the user is logged on interactively or not (unless you've got the 'run only if logged on' option set).

Does the task have to be run on the machine that the user is logged into? If so, why? There may be a better solution than a scheduled task.