Disable log-off while account is locked.

Page 2 of 2 FirstFirst 12

  1. Posts : 7
    Windows 10
    Thread Starter
       #11

    What I meant was that there are no restarts/shutdowns, but only automatic logoffs 2 hours after disconnecting from the remote desktop (on the computer, which I was connected to). That's all what happens.

    Tried everything You proposed, but nothing helped. I'm still getting signed out. All I found is something in policies called "Force logoff when logon hours expire", but it also didn't help. Same with disabling scheduled tasks/going into safe mode.
      My Computer


  2. Posts : 42,964
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #12

    Sorry, no new ideas. I'll have to leave this to someone else.
      My Computers


  3. Posts : 7
    Windows 10
    Thread Starter
       #13

    Yay! Found it in registry!
    In:
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
    there is "MaxDisconnectionTime", which was set to 7200000 (2 hours in ms). After changing it to 0 and restarting the computer it fixed my problem. The computer doesn't log me off anymore.
      My Computer


  4. Posts : 42,964
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #14

    Well done! That's an odd one.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:09.
Find Us




Windows 10 Forums