Logoff Disconnected Users

Moin Ahmed
Moin Ahmed used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
ITSysTechSenior Systems Administrator

Commented:
Could you post which operating system you are using?
Senior Systems Administrator
Commented:
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
Moin AhmedSenior System Administrator

Author

Commented:
using 2012R2 - So if I create 2 entries under Terminal services, it should work?
Should you be charging more for IT Services?

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Moin AhmedSenior System Administrator

Author

Commented:
I see this when after setup,

Please advise

Capture.PNG
Moin AhmedSenior System Administrator

Author

Commented:
for 1 hour
Moin AhmedSenior System Administrator

Author

Commented:
Still does not work, waited 1 hour
ITSysTechSenior Systems Administrator

Commented:
1. Was the computer restarted after the change?
2. Did the user disconnect and not logoff?
Please report back.
Moin AhmedSenior System Administrator

Author

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 Administrator

Commented:
You're welcome. :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial