Script to automatically logoff a user after a period of inactivity

Is it possible to create a script that would automatically logoff a user on a Windows workstation after an “X” amount of time with no user activity?

1 Like