Does the Windows Task Scheduler have a way to run a command a set time after the user logs on?

I prefer it to run the first time anybody logs on, whether manually or if the computer is set to logon a particular user automatically.

  • ok... the answer is yes. I typed over 15... entering 10. restarted the PC and waited. after 15+minutes had passed I opened and checked the task's history and sure enough 10 minutes after logon it was activated. – user305422 Mar 6 '14 at 0:12

In Windows-7

  1. In task scheduler you can create a task.
  2. On Triggers tab you click 'New' and from the 'Begin the task' drop down menu choose 'At log on'.
  3. Below on the form tick 'Delay task for' check box and choose the delay value.

This should do the job.

  • I was looking for something on Windows XP which I should have mentioned, I guess I may have to implement a batch file with a delay in it. – vfclists Jan 11 '12 at 1:33

If you want to use a script, you can add a logon script per user or you can add a startup script that would run for all at startup. This link is for Windows XP Local User Account Logon Scripts If you indicate your Windows version, more detail can be provided.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.