Logoff Disconnected Users

Hi,

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.
LVL 1
Moin AhmedSenior System AdministratorAsked:
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.

ITSysTechSenior Systems AdministratorCommented:
Could you post which operating system you are using?
0
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).
Logoff-Disconnected-Users.reg
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
Moin AhmedSenior System AdministratorAuthor Commented:
using 2012R2 - So if I create 2 entries under Terminal services, it should work?
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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

Please advise

Capture.PNG
0
Moin AhmedSenior System AdministratorAuthor Commented:
for 1 hour
0
Moin AhmedSenior System AdministratorAuthor Commented:
Still does not work, waited 1 hour
0
ITSysTechSenior Systems AdministratorCommented:
1. Was the computer restarted after the change?
2. Did the user disconnect and not logoff?
Please report back.
0
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
0
ITSysTechSenior Systems AdministratorCommented:
You're welcome. :)
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.