none
RDP disconnected problem RRS feed

  • Question

  • WE have a Windows 2012 R2 server as Remote Desktop Server. Once for a while, no one except administrator (blin in this case) can login. The Task Manager Status shows all users are Disconnected. the User doesn't show the username.

    If I run qwinsta.exe, it shows all users except administrator (blin in our case) are disconnected or down.

    I can't force these disconnected users sign off or end process in Task Manager. We do have Timeout policy setup.

    The only way to fix is restart the server. What could be the problem?


    Bob Lin, MCSE & CNE Networking, Internet, Routing, VPN Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com

    Thursday, June 20, 2019 2:50 PM

All replies

  • Hi,

     

    If possible, it is recommended to patch the RDS system fully with Update & Hotfix, it would be helpful for resolving known issues and improving the performance.

     

    Available Updates for Remote Desktop Services in Windows Server 2012 R2:

    https://support.microsoft.com/en-us/help/2933664/available-updates-for-remote-desktop-services-in-windows-server-2012-r

     

    Windows 8.1 and Windows Server 2012 R2 update history:

    https://support.microsoft.com/en-us/help/4009470/windows-8-1-windows-server-2012-r2-update-history

     

    I want to confirm with you if there is any change before problem occurs, such as configuration change, new installation and etc. operation? If so, please try to undo the change and check the result.

     

    As you had mentioned that, system re-boot is helpful, once problem happens, please open Task Manager – Performance tab, check system resources usage and make sure there is enough available resources. Also, open Process tab, make sure there is no crashing process or abnormal resource usage.

     

    If problem persists, please check event viewer and try to find relate event, RDS relate event location as below:

    Event Viewer -> Applications and Services Logs -> Microsoft -> Windows -> TerminalServices and RemoteDesktopServices

     

    Best Regards,

    Jenny Yan


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, June 21, 2019 2:47 AM
  • Hi,

    Just checking in to see if the information provided was helpful.

    Please let us know if you would like further assistance.

     

    Thanks,

    Jenny


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Sunday, June 23, 2019 7:15 AM
  • Hi,

    I am checking to see how things are going there on this post.

     

    You can click “Mark as answer” if any of above reply is helpful. It would make this reply to the top and easier to be found for other people who has the similar problem.

     

    Best Regards,

    Jenny


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, June 25, 2019 5:50 AM
  • The server is patch the RDS system fully with Update & Hotfix.

    The related event ID is 20499:

    Remote Desktop Services has taken too long to load the user configuration from server. But other RD servers don't have this issue.

    The similar case can be found here:

    SOLVED] RDS 2016 - (4) Disconnected - cant log it off - Microsoft ...
    community.spiceworks.com
    https://community.spiceworks.com/.../2058276-rds-2016-4-disconnected- cant-log-it-off
    Solution: We also have this annoying thing happening to our servers. I still don't  know what is causing this issue, but it seems related to using User Profile.


    Bob Lin, MCSE & CNE Networking, Internet, Routing, VPN Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com



    Tuesday, June 25, 2019 4:47 PM
  • Hi,

    Have you tried to redirected the user profile folder to verify your assumption?

    Per searching, there was someone eliminated the Event ID 20499 by redirecting the folder.

    Thanks,
    Jenny


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, June 26, 2019 5:29 AM
  • As I mentioned, "other RD servers don't have this issue". In other words, the same user uses the same profile and redirection to login other windows 2012 R2 server doesn't have this problem. 

    Bob Lin, MCSE & CNE Networking, Internet, Routing, VPN Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com

    Wednesday, June 26, 2019 2:52 PM
  • Hi,

     

    Thanks for double confirming the details. Have you tried the steps provided in similar case to figure out the hang process from PID?

     

    As for warning of EventID 20499, I did further research and found it did not indicate any logon performance issue and can be ignored if no more impacts. More traces or logs shall be collected to analyze the issue when event logs did not record something useful. It is suggested to contact Microsoft Customer Support and Services where more in-depth investigation can be done so that you would get a more satisfying explanation and solution to this issue.

     

    You may find phone number for your region accordingly from the link below:

    Global Customer Service phone numbers

    https://support.microsoft.com/en-us/help/4051701/global-customer-service-phone-numbers

    Thanks,

    Jenny


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, June 27, 2019 12:44 PM