How to make a window task run every time I enter my password/unlock the computer?

System is windows 7.


1 Answer 1


You can set triggers for tasks, as opposed to running on a schedule.

  • Start Task Scheduler from the start Menu
  • Select the Task Scheduler Library in the left nav pane
  • Select Action > Create Task... (not Create Basic Task...) from the menu bar
  • In the new Create Task window, select the Triggers tab
  • Click on the New... button
  • In the "Begin the task:" drop down, select "At log on" or "On workstation unlock"
  • Repeat and create a second trigger for the task that covers the one you didn't select before
  • configure the rest of the task normally

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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