RDP session is stuck at "Please wait for Local Session Manager" when using the RSA Authentication Agent 7.x for Windows
2 years ago
Originally Published: 2019-10-22
Article Number
000042484
Applies To
RSA Product Set: SecurID
RSA Product/Service Type: Authentication Agent for Windows
RSA Version/Condition: 7.x.x
 
Issue
  • When logging into a Microsoft Windows server via RDP using a domain user, login will succeed. 
  • If the RDP session is closed without logging out, the original user cannot login again with the same user name.
  • The connection remains stuck at "Please wait for Local Session Manager." 
  • Another admin must login and log off the original user's session.
https://social.technet.microsoft.com/Forums/getfile/1061906
Cause
Each iteration that is happening in LogonUI makes a call out to perform the UserLookup and returns the SID information, This is what it is taking time.
This kind of extensive lookup happens because of new functions introduced in Microsoft Windows 2012 Server onwards.
Resolution
To resolve this issue, RDP to this machine using a Local User and close the session without logging out.  Then RDP again with the same local user, it should work as expected.

To turn this lookup off,
  1. Add the following registry key to HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System and to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon:
  • Key: DontDisplayLastUserName
  • Type: DWORD
  • Value: 1
  1. When done, reboot the machine and test again.