Hi Pankaj Vashisht,
Has this solution fixed your problem, or would you like me to keep assisting? If it’s solved, kindly click “Accept Answer” to helps others in the community as well 😊
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
After a clean reboot, RDP works normally for some hours. Over time (usually 12–24 hours) and several connect/disconnect cycles, Remote Desktop connections for the main user begin to intermittently hang on the "Please wait" screen. Eventually the failure becomes persistent: every RDP attempt gets stuck at "Please wait" indefinitely.
quser / query userqwinsta shows only:
services – Disconnectedconsole – Active rdp-tcp – ListenFor each failing attempt:
This indicates the network connection and authentication succeed.
Around the same time:
There are no Error-level or Warning-level entries in TerminalServices‑LocalSessionManager when the RDP client is stuck on "Please wait".
quserHi Pankaj Vashisht,
Has this solution fixed your problem, or would you like me to keep assisting? If it’s solved, kindly click “Accept Answer” to helps others in the community as well 😊
Hello,
As a workaround, I would recommend disabling the FastReconnect of RDP on the Host via the following reg key and see if the issue persists:
HKLM\System\CurrentControlSet\Control\Terminal Server\bAllowFastReconnect
DWORD
0
Let me know.
Cheers,
Hi Pankaj Vashisht,
Based on your observations, the RDP pipeline is completing authentication (Event IDs 261 and 1149) but failing to attach to the existing console session, which explains why no new session appears in quser. This behavior has been reported in certain Windows 11 builds where long-running workloads and repeated connect/disconnect cycles cause the Local Session Manager (LSM) to stall. The presence of multiple Python processes is not the direct cause, but the high process count can increase session state complexity.
As a workaround, you can try enabling Network Level Authentication (NLA) and ensuring the latest cumulative updates are installed, since Microsoft has addressed several RDP session handling issues in recent patches. Another option is to configure Group Policy > Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections > Restrict Remote Desktop Services users to a single Remote Desktop Services session. Enabling this forces reconnections to bind to the existing console session rather than attempting to spawn a new one.
If the hang persists, you can attempt to reset the RDP service stack without rebooting by running:
powershell
net stop termservice
net start termservice
This will disconnect active sessions but may allow reconnection without terminating your workloads. For production scenarios, I recommends applying the latest Windows 11 23H2 or 25H2 cumulative updates, as these contain fixes for session reconnection stalls.
If this guidance helps clarify the issue and provides a path forward, please hit “Accept Answer” so I know your issue is resolved 😊.
Jason.
The issue you are experiencing with RDP sessions intermittently hanging at "Please wait" could be related to several factors, particularly given the usage pattern of long-running Python workloads and the behavior observed over time. Here are some insights and potential troubleshooting steps:
These steps should help you investigate the issue further and potentially mitigate the impact of the RDP session hangs.
References: