Logoff Disconnected Users


Is there a way I can configure a registry to logoff disconnected users after 1hour.

I know how to configure it via GPO, but more interested in doing via registry.

Thank you in advance.
Moin AhmedSenior System AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

ITSysTechSenior Systems AdministratorCommented:
Could you post which operating system you are using?
ITSysTechSenior Systems AdministratorCommented:
On a GPO enabled computer could you look under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services and tell me if you see MaxDisconnectionTime=128238540 and MaxIdleTime=1282031640 (with different numbers of course). If you do then you can export the key and import it on other computers.

This is for Windows 2008 R2 but should work on other OS versions (this is set for one hour).

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
Moin AhmedSenior System AdministratorAuthor Commented:
using 2012R2 - So if I create 2 entries under Terminal services, it should work?
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.

Moin AhmedSenior System AdministratorAuthor Commented:
I see this when after setup,

Please advise

Moin AhmedSenior System AdministratorAuthor Commented:
for 1 hour
Moin AhmedSenior System AdministratorAuthor Commented:
Still does not work, waited 1 hour
ITSysTechSenior Systems AdministratorCommented:
1. Was the computer restarted after the change?
2. Did the user disconnect and not logoff?
Please report back.
Moin AhmedSenior System AdministratorAuthor Commented:
I restarted the computer after the change. I havent heard back for any issues, hopefully it is working. Thanks for the help
ITSysTechSenior Systems AdministratorCommented:
You're welcome. :)
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.