Windows Server - Error when Attempting to Remotely Connect to the Console Session of a Server Running Windows Server 2003

Windows Server - Error when Attempting to Remotely Connect to the Console Session of a Server Running Windows Server 2003


Article Summary: This article provides information on a condition that may prevent Remote Desktop connections to the local console session of a server running Windows Server 2003.

You may find that you are unable to remotely connect to the console session of a server running Windows Server 2003 using the mstsc /admin command. When you attempt to do so, you receive the following error:

Error connecting to existing session for <username> (ID 0). The operation completed successfully.

The connection may succeed on the first attempt after a reboot but fail on subsequent attempts.

There is more than one possible reason for this error. It can be caused by non-Windows services interfering with the connection attempt. To rule this out, use the following procedure:
  1. Type msconfig at a command prompt to open the System Configuration utility.
  2. In the Services tab, check the Hide all Microsoft services box and click the Disable all button.
  3. Click OK to close the System Configuration utility, then reboot the server.
  4. When the server reboots, use mstsc /admin to attempt to connect to the console session again.
  5. If the connection succeeds, it may be a good idea to attempt another connection to make sure you can connect consistently.
  6. If you are able to connect consistently, re-enable the disabled services one by one until the problem returns. The last service enabled is the one causing the problem. Contact the appropriate software vendor for further assistance.

The problem can also be caused by existing remote sessions that are failing to close properly. In order to force all existing sessions to close, you can reset the server's RDP listener. To do so, perform the following steps:
  1. Open Terminal Services Manager from the Administrative Tools menu.
  2. Expand the server in the left pane.
  3. Right-click the RDP-Tcp listener object beneath the server and select Reset.

    Note: The next step will abruptly disconnect any users currently connected to the server via RDP. All legitimate RDP sessions should be logged off prior to completing this step.
  4. Click OK to confirm.

    The listener will be reset, and all existing sessions will close. You should now be able to connect with no errors.
 


Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.

Article ID: SLN249309

Last Date Modified: 08/21/2013 12:00 AM


Rate this article

Accurate
Useful
Easy to understand
Was this article helpful?
Yes No
Send us feedback
Comments cannot contain these special characters: <>()\
Sorry, our feedback system is currently down. Please try again later.

Thank you for your feedback.