For security reasons, I would like my PC to lock after I walk away from it.
I have a problem where on of Windows 7 PC’s doesn’t start the screensaver (which I have set to require me to log back in).
Yeah I can hit windows+L to lock my PC, but I forget sometimes (like when I go home for the weekend).
So I setup a schedule task to run the following command:
The task runs every day after 5:30 PM, so my PC will always end up locked.