Select the product you need help with
Remote Desktop disconnected or can’t connect to remote computer or Remote Desktop server (Terminal Server) that is running Windows Server 2003Article ID: 2477023 - View products that this article applies to. SUMMARYIntroduction: This article attempts to guide you through understanding the most common settings that affect establishing a Terminal Services session in an enterprise environment. Terminal Server A Terminal Server is the server that hosts Windows-based programs or the full Windows desktop for Terminal Services clients. Users can connect to Terminal Server to run programs, to save files, and to use network resources on that server. Users can access a Terminal Server from within a corporate network or from the Internet. Remote Connections for Administrative Purposes Terminal Services supports two concurrent remote connections to the computer. You do not need Terminal Services client access licenses (TS CALs) for these connections. To allow more than two administrative connections or multiple user connections you must install the Terminal Services role and have appropriate TS CALs. Troubleshooting Establishing a Terminal Services Session 1. You may be limited in the number of users who can connect simultaneously to a Terminal Services session Limited number of RDP connections can be due to misconfigured Group Policy or RDP-Tcp properties in Terminal Services Configuration. By default, the connection is configured to allow an unlimited number of sessions to connect to the server. When you try to make a Remote Desktop Connection (RDC) you get the following error: Remote Desktop Disconnected. This computer can't connect to the remote computer. Try connecting again. If the problem continues, contact the owner of the remote computer or your network administrator. To verify Remote Desktop is enabled:
To verify Terminal Services "Limit number of connections" Policy:
To verify Terminal Services RDP-Tcp properties: Setting via Terminal Services Configuration
To verify Terminal ServicesLogon rights: Configure the
()
Remote Desktop Users Group
()
The Remote Desktop Users group on a Terminal Server is used to give users and groups permission to remotely connect to a Terminal Server. You can add users and groups to the Remote Desktop Users group in the following ways:
Membership in the local Administrators group, or equivalent, on the Terminal Server that you plan to configure, is the minimum required to complete this procedure.
()
To add users and groups to the Remote Desktop Users group by using the Remote tab
If you don’t select “Allow users to connect remotely to this computer” on the Remote tab, no users will be able to connect remotely to this computer, even if they are members of the Remote Desktop Users group. To add users and groups to the Remote Desktop Users group by using Local Users and Groups snap-in:
Notes:
2. You may have a Port assignment conflict This problem could indicate that another application on the Terminal Server is using the same TCP port as the Remote Desktop Protocol (RDP). The default port assigned to RDP is 3389. To resolve this issue, determine which application is using the same port as RDP. If the port assignment for that application cannot be changed, change the port assigned to RDP by editing the registry. After editing the registry, you must restart the Terminal Services service. After you restart the Terminal Services service, you should confirm that the RDP port has been correctly changed. Terminal Server Listener Availability The listener component runs on the Terminal Server and is responsible for listening for and accepting new Remote Desktop Protocol (RDP) client connections, thereby allowing users to establish new remote sessions on the Terminal Server. There is a listener for each Terminal Services connection that exists on the Terminal Server. Connections can be created and configured by using the Terminal Services Configuration tool. To perform these tasks, refer to the following sections. Determine which application is using the same port as RDP You can run the netstat tool to determine if port 3389 (or the assigned RDP port) is being used by another application on the Terminal Server. To use netstat:
You should determine if this application can use a different port. If you cannot change the application’s port, you will have to change the port assigned to RDP. Important: Microsoft does not recommend changing the port assigned to RDP. If you have to change the port assigned to RDP, you must edit the registry. To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority. To change the port assigned to RDP: Caution: Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.
Note: RDP-TCP is the default connection name. To change the port for a specific connection on the Terminal Server, select the connection under the WinStations key.
Confirm that the RDP port has changed To confirm that the RDP port assignment has been changed, use the netstat tool. To use netstat:
To verify that the listener on the Terminal Server is working properly, use any of the following methods. Note: RDP-TCP is the default connection name and 3389 is the default RDP port. Use the connection name and port number specific to your Terminal Server configuration. Method one Use an RDP client, such as Remote Desktop Connection, to establish a remote connection to the Terminal Server. Method two To use the qwinsta tool to view the listener status on the Terminal Server:
To use the netstat tool to view the listener status on the Terminal Server:
To use the telnet tool to connect to the RDP port on the Terminal Server:
If telnet is not successful, you will receive this error: Connecting To servername...Could not open connection to the host, on port 3389: Connect failed The qwinsta, netstat, and telnet tools are also included in Windows XP. You can also download and use other troubleshooting tools, such as Portqry. 3. You may have an incorrectly configured Authentication and Encryption setting Configuring authentication and encryption using Terminal Services Configuration
Note
You cannot completely disconnect a Terminal Server connection After a Terminal Server client loses the connection to a Terminal Server, the session on the Terminal Server may not transition to a disconnected state, instead, it may remain active even though the client is physically disconnected from the Terminal Server. If the client logs back in to the same Terminal Server, a new session may be established, and the original session may still remain active. To work around this issue, follow these steps:
RDP Services is currently busy Please refer to article link 948496 at the end of this document for more information about Scalable Networking Pack (SNP) features in Windows 2003 The following issues may occur when in Windows Server 2003 SNP feature is turned on: Symptoms: When you try to connect to the server by using a VPN connection, you receive the following error message: Error 800: Unable to establish connection.
4. You may have a Certificate Corruption Terminal Services clients may be repeatedly denied access to the Terminal Server. If you are using a Terminal Services client to log on to the Terminal Server, you may receive one of the following error messages: Error message 1 Because of a security error, the client could not connect to the Terminal server. After making sure that you are logged on to the network, try connecting to the server again. Error message 2 Remote desktop disconnected. Because of a security error, the client could not connect to the remote computer. Verify that you are logged onto the network and then try connecting again. Additionally, the following event ID messages may be logged in Event Viewer on the Remote Desktop server: Event message 1 Event ID: 50 Event ID: 1088 Event message 3 Event ID: 1004 Event message 4 Event ID: 1010 Event message 5 Event ID: 28 Additionally, the following event ID messages may be logged in Event Viewer on the Terminal Server: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/)
How to back up and restore the registry in WindowsTo resolve this issue, back up and then remove the X509 Certificate registry keys, restart the computer, and then reactivate the Terminal Services Licensing server. To do this, follow these steps. NOTE: Perform the following procedure on each of the Terminal Servers.
MORE INFORMATIONFor additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base: http://support.microsoft.com/kb/830581
(http://support.microsoft.com/kb/830581)
How to limit the number of connections on a Terminal Server that runs Windows Server 2003http://support.microsoft.com/kb/224395/EN-US/
(http://support.microsoft.com/kb/224395/EN-US/)
Terminal Services Client Error Message: You Do Not Have Access to Logon to This Sessionhttp://technet.microsoft.com/en-us/library/cc780927(WS.10).aspx
(http://technet.microsoft.com/en-us/library/cc780927(WS.10).aspx)
Troubleshooting General Remote Desktop Error Messageshttp://support.microsoft.com/kb/329896
(http://support.microsoft.com/kb/329896)
Because of a security error, the client could not connect to the Terminal Serverhttp://support.microsoft.com/kb/278433
(http://support.microsoft.com/kb/278433)
Accessing Terminal Services Using New User Rights Optionshttp://support.microsoft.com/kb/258021
(http://support.microsoft.com/kb/258021)
Event ID 52 When You Start Terminal Serviceshttp://support.microsoft.com/?id=948496
(http://support.microsoft.com/?id=948496)
An update to turn off default SNP features is available for Windows Server 2003-based and Small Business Server 2003-based computers.http://support.microsoft.com/kb/922044
(http://support.microsoft.com/kb/922044)
A Windows Server 2003 Service Pack 1-based Terminal Server cannot accept new incoming Terminal Service connectionshttp://support.microsoft.com/kb/895433
(http://support.microsoft.com/kb/895433)
How to configure a Windows Server 2003 Terminal Server to use TLS for server authenticationhttp://support.microsoft.com/kb/895433
(http://support.microsoft.com/kb/895433)
How to configure a Windows Server 2003 Terminal Server to use TLS for server authenticationhttp://support.microsoft.com/kb/939087
(http://support.microsoft.com/kb/939087)
You experience problems when you upgrade a Windows 2000-based server that has Terminal Server enabled to Windows Server 2003If this article does not help you resolve the problem or if you experience symptoms that differ from those that are described in this article, search the Microsoft Knowledge Base for more information. To search the Microsoft Knowledge Base, visit the following Microsoft Web site: http://support.microsoft.com/
(http://support.microsoft.com/)
Then, type the text of the error message that you receive, or type a description of the problem in the Search Support (KB) box. Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use
(http://go.microsoft.com/fwlink/?LinkId=151500)
for other considerations.PropertiesArticle ID: 2477023 - Last Review: March 30, 2011 - Revision: 3.0 APPLIES TO
|


Back to the top








