I use a network of computers and i would like to enforce a gpo which locks the screen after a predetermined idle time How can i log out when i'm not finding this setting on a program?

Thank you

Best Answer

Actually i found (and tested) in windows server 2012 r2, under.

Computer Configuration>Policies>Windows Settings>Security Settings>Local
Policies>Security Options>

And open item Interactive logon: Machine inactivity limit


Interactive logon: Machine inactivity limit.

Windows notices inactivity of a logon session, and if the amount of inactive time exceeds the inactivity limit, then the screen saver will run, locking the session.

Default: not enforced.

enter image description here