Auto Log Off on Thin Client


I would like to know if there's a way to auto log off a thin client - example after 4 hours of idle time or session it will auto log off the user from the thin client.

Is there a way to do this via GPO or any scripting in this matter?

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.

Alex GreenProject Systems EngineerCommented:
Well that depends on the thin client

that works pretty well, I used it previously, plus you can do a lot more remote admin on it.
According to me, You can't apply GPOs to the thin clients. You can only apply them to the terminal server (You need to apply GPO on OU containing Terminal server) which would affect all thin clients.

Check below GPO setting Terminate session when time limits are reached

goraekAuthor Commented:
Yes GPO isnt supported on thin client. We have Win7Embedded on thin client and it is joined to the domain. I'm not sure if theres a way to script registry key and enable time out and log off automatically?
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

You need to enforce your polices on terminal server as stated in earlier comment which will then enforced to thin clients hopefully
goraekAuthor Commented:
We have tried that, it doesnt automatically log off the thin client.
We need a simple solution to log off the domain joined thin client automatically after x amount if time.
goraekAuthor Commented:
Thats for TS. It doesn't help. It needd to be the thin client.  Thin client is on the domain just to be much clearer.
When you access thin client, you are actually accessing server session

So whatever GPO you wanted to deploy it must be deployed on terminal server only, it will effect on server sessions on thin client hopefully
as i understand, you want to disconnect the thinclient local user and not any kind of remote connection

psshutdown -t 4:00 -o -v 60 -m "session timeout reached"

launch this command upon login and the user will be disconnected after 4 hours
the command and doc are available here

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
goraekAuthor Commented:
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.