One of our RDS Windows 2019 Host servers hangs every few days and we have to restart it during the production day.

Thomas Burns 0 Reputation points
2025-12-11T20:49:53.9666667+00:00

We have hang issues with a Windows 2019 server running as an RDSH host. It happens every few days and we are not sure of the cause. We reboot it every night but that doesn't seem to help. We took an NMI memory dump yesterday in hopes that it will point in the right direction.

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ivy Bui (WICLOUD CORPORATION) 320 Reputation points Microsoft External Staff Moderator
    2025-12-12T03:42:50.2166667+00:00

    Hello Thomas Burns, I am Ivy, thanks for contacting Microsoft Community.

    1. Common Causes of RDSH Host Hangs

    • Network Issues: Frequent session disconnections and hangs are often due to packet drops or unstable network connections. Test local RDP connections to rule out network problems.
    • Process or Service Failures: Critical processes like DWM.exe or Winlogon.exe crashing can cause login hangs or black screens. Review Event Viewer logs for clues.
    • Resource Exhaustion: High CPU, memory, or disk usage can lead to server hangs. Use Task Manager, Resource Monitor, and Performance Monitor to check for bottlenecks.
    • Licensing or Configuration Issues: Incorrect RDS licensing or misconfigured session host settings can cause instability. Use the Licensing Diagnoser to verify setup.
    • Third-Party Software Conflicts: Antivirus, session managers, or other third-party tools may interfere with RDS operations. Perform a clean boot to rule out these factors.

    2. Additional Recommendations

    • Apply Latest Updates: Some RDSH stability issues are fixed in cumulative updates.
    • Monitor Patterns: Note if hangs occur during peak load or after specific activities.
    • Check for Known Issues:
      • There’s a documented hang scenario on Windows Server 2019 caused by NisSrv.exe (Microsoft Defender Network Protection). If Defender is running, consider updating or temporarily disabling Network Protection for testing.

    Reference: KB5041578 causing Windows Server 2019 to be unresponsive | Microsoft Community Hub

    3. Memory dump file

    Please confirm if a complete memory dump is configured on the affected RDSH servers. If yes, could you upload the dump file to OneDrive and share the link with us? This will allow us to analyze the NMI dump and identify the root cause.

    The dump file is usually located at C:\Windows\Memory.dmp. If it’s very large, you can compress it before uploading.

    Thank you for your patience and support!

    Ivy Bui

    0 comments No comments

Your answer

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