Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

System is windows 7.

share|improve this question
    
What version of Windows? –  ernie Jul 3 '13 at 16:51
    
windows 7. i've up the IP –  FernandoSBS Jul 3 '13 at 16:53
    
Use the Task Manager and selct the task to happen on the event that handles when a user logs into the account. Here is one such tutorial sevenforums.com/tutorials/… –  Ramhound Jul 3 '13 at 16:56
    
Possible duplicate of How to execute a script on sleep, hibernate, resume, and shutdown. chunkyb2002's answer tells you about the different Task Scheduler triggers available. –  Karan Jul 3 '13 at 17:47

1 Answer 1

up vote 1 down vote accepted

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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