Windows 7 remote desktop disconnect other user




















If the port assignment for that application cannot be changed, change the port assigned to RDP by changing the registry. After you change the registry, you must restart the Remote Desktop Services service.

After you restart the Remote Desktop Services service, you should verify that the RDP port has been changed correctly. The listener component runs on the Remote Desktop 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 Remote Desktop server. There is a listener for each Remote Desktop Services connection that exists on the Remote Desktop server. Connections can be created and configured by using the Remote Desktop Services Configuration tool.

You can run the netstat tool to determine whether port or the assigned RDP port is being used by another application on the Remote Desktop server:. To determine which application is using port or the assigned RDP port , use the tasklist command-line tool along with the PID information from the netstat tool:. You should determine whether this application can use a different port.

If you cannot change the application's port, you must change the port that is assigned to RDP. If you have to change the port assigned to RDP, you must change the registry. To do this, you must be a member of the local Administrators group, or you must have been granted the appropriate permissions. On the Remote Desktop server, open Registry Editor.

If the User Account Control dialog box appears, verify that the action it displays is what you want, and then click Continue. To change the port for a specific connection on the Remote Desktop server, select the connection under the WinStations key:. On the Remote Desktop server, open the Services snap-in. To do this, click Start , point to Administrative Tools , and then click Services.

Look for an entry for the port number that you assigned to RDP. The port should appear in the list and have a status of Listening. For more information, see Change the listening port for Remote Desktop on your computer. To verify that the listener on the Remote Desktop server is working correctly, use any of the following methods.

Use the connection name and port number specific to your Remote Desktop server configuration. Connecting To servername Could not open connection to the host, on port Connect failed. You can also download and use other troubleshooting tools, such as Portqry. In the Properties dialog box for the connection, on the General tab, in Security layer , select a security method.

In Encryption level , click the level that you want. To help troubleshoot this problem, enable CAPI2 event logs on both the client and server computers. This command is shown in the following screenshot. To resolve this problem, back up and then remove the X Certificate registry keys, restart the computer, and then reactivate the Remote Desktop Services Licensing server.

To do this, follow these steps. If you have to restore this registry subkey in the future, double-click the Exported-parameters. Right-click each of the following values, click Delete , and then click Yes to verify the deletion:.

If this article does not help you resolve the problem, or if you experience symptoms that differ from those that are described in this article, visit the Microsoft Support for more information. To search your issue, in the Search support for help box, type the text of the error message that you received, or type a description of the problem. Skip to main content. Method 2. Enter password when prompted.

Tip: No notification message will be displayed when a session is successfully terminated. Method 3. Alternatively, from Windows Explorer, map to a network drive to share a folder on the target server, and log in accordingly.

A list of active and connecting Remote Desktop or Terminal Services sessions will be displayed. The host server and session ID that you specify in this cmdlet uniquely identify a session within a deployment.

This command disconnects the user connected to session 2 on the host server sessionhost. Specifies the name of the server that hosts the session. Provides the unique ID for the session.

Skip to main content. This browser is no longer supported. Download Microsoft Edge More info.



0コメント

  • 1000 / 1000