Windows 10: Disable log-off while account is locked. Solved

Page 2 of 2 FirstFirst 12
  1.    08 Aug 2016 #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 ComputerSystem Spec

  2.    09 Aug 2016 #12

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

  3.    10 Aug 2016 #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 ComputerSystem Spec

  4.    10 Aug 2016 #14

    Well done! That's an odd one.
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
locked out of win10 using MS account in User Accounts and Family Safety
hi all i have recently upgraded from Win8.1 to Win 10 and I used the MS account to login but now it does not let me login anymore, i did a pw reset for my MS account already and can login to my MS account from any device but the message showing...
I am currently on a different computer than the one where I am locked out of the Administrator account. Less than 3 weeks ago, I bought a new laptop that came with Windows 10 installed. When I finally set up the new laptop and tried out Windows...
So the other day I noticed my only account on my laptop had lost administrator privileges. I looked up how to fix this and went about doing. I booted into "safe mode with command prompt" but that realized I didnt need that, just regular safe mode. I...
Domain Account Locked Daily in Network and Sharing
I'm running Windows 10 Build 10162 and about 2-3 times a day I have to get my domain account unlocked in Active Directory. Has anyone experienced this before? I'm definitely not typing the incorrect password enough times to get locked out. I...
Solved Windows Update has locked out Admin account in User Accounts and Family Safety
The admin account on a single user machine which did not require a password to logon has been changed by an update this week to require a password which of course does not exist. The question is how can the Admin account be reset to allow access....
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 10:03.
Find Us