How to fix automatic window sign out

Christopher Lilles 0 Reputation points
2024-08-14T03:25:11.48+00:00

I noticed just after a recent update that it automatically signs out on Windows (Windows 10, 11 & Server 2016). This is causing so much inconvenience to all POS computers. I already checked the Screen-timeout and power savings settings, etc. but still sign out after a few minutes of inactive.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,064 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,799 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,575 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,703 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,746 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. S.Sengupta 22,181 Reputation points MVP
    2024-08-14T23:47:50.6966667+00:00

    In Start Search type Gpedit.msc and hit the Enter Key:

    1. Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.
    2. Look for policies like "Interactive logon: Machine inactivity limit" and "Interactive logon: Require domain controller authentication to unlock workstation." Ensure these settings aren't configured to sign out users after a short period of inactivity.
    3. Navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits.
    4. Check if "Set time limit for active but idle Remote Desktop Services sessions" is enabled and set to a short time limit.

  2. S.Sengupta 22,181 Reputation points MVP
    2024-08-14T23:50:03.4333333+00:00

    In Start Search type Gpedit.msc and hit the Enter key.

    Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.

    Look for policies like "Interactive logon: Machine inactivity limit" and "Interactive logon: Require domain controller authentication to unlock workstation." Ensure these settings aren't configured to sign out users after a short period of inactivity.

    Navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits.

    Check if "Set time limit for active but idle Remote Desktop Services sessions" is enabled and set to a short time limit.

    0 comments No comments

  3. S.Sengupta 22,181 Reputation points MVP
    2024-08-14T23:57:48.48+00:00
    0 comments No comments

  4. Yanhong Liu 14,025 Reputation points Microsoft Vendor
    2024-08-15T03:02:17.79+00:00

    Hi,

    Some users have encountered a similar issue, which could be an already existing bug. One user suggested that removing some extra information left in the registry would solve the problem.

    Note: This action involves editing the Windows registry. Be careful and back up your registry before making changes.

    1. Please log in to your computer as an administrator, press "Win + R", type "regedit", and press Enter.
    2. Navigate to:

    HKLM/Software/Microsoft/Windows NT/CurrentVersion/Winlogon

    3.Look at the UserInit key. Make sure it doesn't have anything extra in it. It should only contain C:Windows\system3\userinit.exe.

    1. If it contains extra information, delete it and try logging in again.

    Here's a thread with a similar issue: https://answers.microsoft.com/en-us/windows/forum/all/user-account-immediately-logged-off-after-entering/36d98832-5313-4b14-a63a-e919dcd201d2

    I hope the information above is helpful.

    Best Regards,

    Yanhong Liu

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


  5. Ivo Costa 0 Reputation points
    2025-02-12T12:53:10.9033333+00:00

    Hello,

    I had the same problem when RDP updated, I found this solution and it solved the problem.

    I also hope to help.

    How to Disable UDP for RDP

    If your network is unstable, disabling UDP can help improve the stability of the Remote Desktop connection.

    Steps to do this:

    1. On the client computer (the one you're connecting from), open the Registry Editor (Win + Rregedit → Enter).
    2. Navigate to:
        HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client
      
    3. Right-click on Client, select New > DWORD (32-bit) Value, and name it: fClientDisableUDP
    4. Set the value to 1 (to disable UDP).
    5. Restart your computer and try again.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.