5

Is there a way to set a Windows system to lock (as if Win+L had been pressed) an idle session without using a screen saver?

I'm looking for answers compatible with Windows XP and above. I'd rather not use Task Scheduler if there is a local group policy or other setting that can be used instead.

Iszi
  • 14,163

2 Answers2

15

Open your screensaver properties. Change the screensaver to "None", select "On resume, display logon screen" and then set the "Wait:" time to your desired idle time.

This does not engage the screensave, rather goes directly to the logon screen as if you just locked it using Win + L.

enter image description here

CharlieRB
  • 23,021
  • 6
  • 60
  • 107
6
  1. Go into C:\Windows
  2. Create a new shortcut
  3. Paste this in the path: %windir%\System32\rundll32.exe user32.dll,LockWorkStation.
  4. Click next and rename it, click finish.
  5. Then Control Panel
  6. Scheduled Tasks
  7. Add Scheduled Task.Give some Proper name.
  8. Next/Browse
  9. Find the new shortcut, select it, pick daily, next.
  10. Type in a password for the Scheduled
  11. Task/Confirm, Next, Finish
  12. Double click the new scheduled task you just made
  13. Schedule Tab
  14. Schedule Task
  15. Select when Idle, enter time allotment, ok.

    Reference

Kunal Shivalkar
  • 346
  • 3
  • 8