Alex Rivera | Logout

How can I trigger a command/script when a Windows workstation is locked or unlocked?

Asked 2009-12-02T04:33:11.230
30

I have a workstation running Windows 7 Pro at work. My problem is I keep on forgetting to clock in/clock out (using the intranet timesheet system). Is there a way to run a script or command to automatically open the timesheet page each time I lock/unlock my station?

Edit
Report

1 Answer

37

Yes, windows 7 task scheduler allows a dizzying array of new ways to schedule tasks:

One is on log on, and another is on event which could be a security event for locking the workstation.

Administrative Tools --> Task Scheduler
    - Create Task 
    --> Triggers Tab 
    --> New Button 
    --> Begin Task drop down box... 

etc.
answered 2009-12-02T04:39:23.437

Your Answer