usama khalil
asked on
Log off
Dear
What is the way to apply automatic log off from Server after 5 minutes by using Active directory
Regards
What is the way to apply automatic log off from Server after 5 minutes by using Active directory
Regards
is this a total logon time of 5 minutes? 5 minutes of inactivity? local logon or remote desktop RDS logon?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Create a new task in Task Scheduler.
Conditions tab -> Start the task if the computer is idle for: 5 mins
Actions tab -> run shutdown -l -t 0 command
Triggers tab -> Begin this task: On idle
Conditions tab -> Start the task if the computer is idle for: 5 mins
Actions tab -> run shutdown -l -t 0 command
Triggers tab -> Begin this task: On idle
Or just use GPO to lock the computer after 5 minutes of inactivity.
User Configuration -> Policies -. Administrative Templates -> Control panel -> Personalization -> Screen Saver Timeout -> Enable + set it to 300 sec
User Configuration -> Policies -. Administrative Templates -> Control panel -> Personalization -> Screen Saver Timeout -> Enable + set it to 300 sec
GPO it the right option set automatic log off after 5 mins.
Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Local Policies -> Security Options -> Network security: Force logoff when logon hours expire
Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Local Policies -> Security Options -> Network security: Force logoff when logon hours expire
I also use idlelogoff.exe as per #a42481110
Answer has screenshots