Log off

Dear
What is the way to apply automatic log off from Server after 5 minutes by using Active directory

Regards
usama khalilAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
is this a total logon time of 5 minutes? 5 minutes of inactivity? local logon or remote desktop RDS logon?
0
Nagendra Pratap SinghDesktop Applications SpecialistCommented:
You can use GPO. Do you want to log them off after few mins of inactivity? Like Airport kiosks?

Try this guide.

https://4sysops.com/archives/automatically-log-off-idle-users-in-windows/
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hello ThereSystem AdministratorCommented:
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
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Hello ThereSystem AdministratorCommented:
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
0
Sekar ChinnakannuStaff EngineerCommented:
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
0
Shaun VermaakTechnical Specialist/DeveloperCommented:
I also use idlelogoff.exe as per #a42481110
0
Nagendra Pratap SinghDesktop Applications SpecialistCommented:
Answer has screenshots
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.