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?
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/

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
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

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
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
Shaun VermaakTechnical SpecialistCommented:
I also use idlelogoff.exe as per #a42481110
Nagendra Pratap SinghDesktop Applications SpecialistCommented:
Answer has screenshots
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.