Saturday, May 27, 2023

Remote Desktop Connection Stuck In Please Wait State

Resolve the Please Wait state in RDP

I found this solution in the Q&A section of Microsoft Learn. Credit goes to the original author.

This process will involve creatating an .rdp file, and editing it in notepad and adding a flag which will prompt the user to enter their password.

  • Get the ipaddress of the machine that is stuck in the Please Wait state.
    ping [server] -4
    -4 flag ensures that IPv4 address is used.
  • Open Remote Desktop Connection application.
    Start -> Remote Desktop Connection or Start -> mstsc
  • Enter the IP address of the machine noted in the above step.
  • Click on the Show Options button.
  • Click on Save As and save the configuration to a file.
  • Navigate to the directory where the rdp configuration file is saved. Right click on the file, and open the configuration file with Notepad.
  • Add the following to the bottom of the file and save it. This option will turn off the Network Level Authentication therefore the user will be prompted to enter the password up on connecting to the server.
  • Once the file is saved, double click on it, so launch Remote Desktop Connection and click on Connect. Click Yes on the next dialog box to connect despite certificate errors.
  • This should show a Windows login page, and up on logging in, will get past the Please Wait screen.

Reset Session

Another way to resolve this issue is resetting the session. It is important to note that doing this will log off the user, therefore any running processes will be terminated.

  1. Open Powershell in Administrator mode on another computer
  2. Run the following query -
  3. "query user /server:[server_name]"
  4. Take note of the sessionname
  5. Run the following query -
  6. "reset session [session_name] /server:[server_name]"

This should reset the session and allow logging into the server via remote desktop.

In addition to this, I was having an issue when using Remote Desktop Connection Manager the session would get stuck in a Please Wait state. I was not having this issue when using native Windows RDP.

I found a potential solution on this following page -
RDP to Windows 10 hangs at Please wait screen

Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections

At that level Enable the following setting
- Restrict Remote Desktop Services User to a Single Remote Desktop Services Session

No comments:

Post a Comment

Had to include word verification to prevent spam.