How to make a computer log off after timout

PurpaFur

Posts: 96   +13
I would like to use group policy to force windows to log off if the computer is not used for a certain ammount of time. I already know how to make a Windows Script file (.ps1) and use the command "logoff" to log off. However this is immediate, and I want it to only happen once the computer has been idle for long enough. If you could keep your answer simple, and just tell me the script to use if that is how it is done, that would be great. Otherwise, tell me how to do whatever else it requires.
 
Back