How do I run a script each time I unlock my Windows 7 session?
So, if I lock my session and then log in again, I want the script to run.
Do login scripts configured in the Group Policy do this or will they only work the first time?
|
feedback
|
|
Scheduled Tasks is what you need. You can set a trigger for both workstation lock and workstation unlock. If you need to deploy it out to more machines, use SCHTASKS.EXE (provided with windows). Hope that helps | |||||
feedback
|
|
Group Policy login scripts only process when you first logon. If you only reboot once a month and just keep locking/unlocking, login scripts will run once a month for you. | |||
|
feedback
|