Windows server client connect

Содержание
  1. How to connect clients to Terminal Services in Windows Server 2003
  2. More information
  3. Open Remote Desktop Connection
  4. Create a Terminal Services connection
  5. Save connection settings
  6. Open a saved connection
  7. Copy files between the local computer and the remote computer
  8. Log off and end the session
  9. Because of a security error, the client could not connect to the Terminal server
  10. Symptoms
  11. Cause
  12. Resolution
  13. Set up the Remote Desktop web client for your users
  14. What you’ll need to set up the web client
  15. How to publish the Remote Desktop web client
  16. How to update the Remote Desktop web client
  17. How to uninstall the Remote Desktop web client
  18. How to install the Remote Desktop web client without an internet connection
  19. From a device with internet access
  20. From the RD Web Access server
  21. Connecting to RD Broker without RD Gateway in Windows Server 2019
  22. Setting up the RD Broker server
  23. Follow these steps if there is no certificate bound to the RD Broker server
  24. Follow these steps if there is a certificate previously bound to the RD Broker server
  25. Setting up the RD Session Host
  26. General Observations
  27. How to pre-configure settings for Remote Desktop web client users
  28. Suppress telemetry
  29. Remote resource launch method
  30. Reset RDWebClientDeploymentSetting configurations to default
  31. Troubleshooting
  32. What to do if the user’s browser shows a security warning when they try to access the web client
  33. What to do if the user can’t connect to a resource with the web client even though they can see the items under All Resources
  34. Diagnose issues with the console log
  35. Get help with the web client

How to connect clients to Terminal Services in Windows Server 2003

This step-by-step article describes how to connect a Windows Server 2003-based terminal services client to a terminal server by using Remote Desktop Connection.

Original product version: В Windows Server 2003
Original KB number: В 814585

More information

Open Remote Desktop Connection

To open Remote Desktop Connection, select Start > All Programs > Accessories > Communications, and then select Remote Desktop Connection.

Create a Terminal Services connection

To create a Terminal Services connection, follow these steps:

Open Remote Desktop Connection.

In the Computer box, type the computer name or the IP address of a terminal server or a computer that has Remote Desktop enabled.

To connect to the console session of the remote computer, type computername or IP address/console.

Select Connect.

In the logon dialog box, type your user name, password, and domain (if necessary), and then select OK.

Save connection settings

You can save a connection as a Remote Desktop protocol (.rdp) file. An .rdp file contains all the information for a connection to a terminal server, including the Options settings that were configured when the file was saved. You can customize any number of .rdp files, including files for connecting to the same server with different settings. For example, you can save a file that connects to MyServer in full screen mode and another file that connects to the same computer in 800Г—600 screen size.

To save your connection settings, follow these steps:

  1. Open Remote Desktop Connection, and then select Options.
  2. Specify the connection settings that you want for this connection.
  3. On the General tab, select Save As.
  4. In the File name box, type a file name for the saved connection file, and then select Save.

To edit an .rdp file to change the connections settings it contains, select Start > My Documents, right-click the file, and then select Edit.

Open a saved connection

To open a saved connection, follow these steps:

Open Remote Desktop Connection, and then select Open.

Double-click the .rdp file for the connection that you want to open.

Copy files between the local computer and the remote computer

Open Remote Desktop Connection.

Type the computer name or the IP address of a terminal server or a computer that has Remote Desktop enabled.

Select the Local Resources tab, select the Disk Drives check box, and then select Connect.

Select Start on the task bar of the remote computer, and then select My Computer. Or double-click the My Computer icon on the desktop of the remote computer.

The drives on the remote server appear with the drives on your local computer. Your local drives appear as driveletter on tsclient, where tsclient is the name assigned to your (local) computer.

Locate the file that you want to copy, right-click the file, and then select Copy.

Locate the folder where you want to paste the file, and then select Paste.

Log off and end the session

To log off and end a session, follow these steps:

In the Remote Desktop Connection window, select Start, and then select Shut Down.

In the Shut Down Windows dialog box, select log off , and then select OK.

Because of a security error, the client could not connect to the Terminal server

This article provides a solution to an issue where Terminal Services clients are repeatedly denied access to the terminal server after upgrade Windows.

Original product version: В Windows Server 2012 R2
Original KB number: В 329896

Symptoms

After you upgrade a Microsoft Windows NT domain to Windows 2000 or Windows Server 2003, Windows 2000 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:

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.

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 terminal server:

Event ID: 50
Event Source: TermDD
Event Description: The RDP protocol component X.224 detected an error in the protocol stream and has disconnected the client.

Event ID: 1008
Event Source: TermService
Event Description: The terminal services licensing grace period has expired and the service has not registered with a license server. A terminal services license server is required for continuous operation. A terminal server can operate without a license server for 90 days after initial start up.

Event ID: 1004
Event Source: TermService
Event Description: The terminal server cannot issue a client license.

Event ID: 1010
Event Source: TermService
Event Description: The terminal services could not locate a license server. Confirm that all license servers on the network are registered in WINS\DNS, accepting network requests, and the Terminal Services Licensing Service is running.

Event ID: 28
Event Source: TermServLicensing
Event Description: Terminal Services Licensing can only be run on Domain Controllers or Server in a Workgroup. For more information, see Terminal Server Licensing help topic.

Cause

This issue may occur if a certificate on the terminal server is corrupted.

Читайте также:  Не находит ssd при установке windows

Resolution

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 How to back up and restore the registry in Windows

To 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.

Perform the following procedure on each of the terminal servers.

Make sure that the terminal server registry has been successfully backed up.

Start Registry Editor.

Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters

On the Registry menu, click Export Registry File.

Type exported-parameters in the File name box, and then click Save.

If you have to restore this registry subkey in the future, double-click the Exported-parameters.reg file that you saved in this step.

Under the Parameters registry subkey, right-click each of the following values, click Delete, and then click Yes to confirm the deletion:

  • Certificate
  • X509 Certificate
  • X509 Certificate ID

Quit Registry Editor, and then restart the server.

Reactivate the Terminal Services Licensing server by using the Telephone connection method in the Licensing Wizard.

If you activate the Terminal Services Licensing server using the Telephone option, the licensing server uses a different form of certificate.

Set up the Remote Desktop web client for your users

The Remote Desktop web client lets users access your organization’s Remote Desktop infrastructure through a compatible web browser. They’ll be able to interact with remote apps or desktops like they would with a local PC no matter where they are. Once you set up your Remote Desktop web client, all your users need to get started is the URL where they can access the client, their credentials, and a supported web browser.

The web client does support using Azure AD Application Proxy but does not support Web Application Proxy at all. See Using RDS with application proxy services for details.

What you’ll need to set up the web client

Before getting started, keep the following things in mind:

  • Make sure your Remote Desktop deployment has an RD Gateway, an RD Connection Broker, and RD Web Access running on Windows Server 2016 or 2019.
  • Make sure your deployment is configured for per-user client access licenses (CALs) instead of per-device, otherwise all licenses will be consumed.
  • Install the Windows 10 KB4025334 update on the RD Gateway. Later cumulative updates may already contains this KB.
  • Make sure public trusted certificates are configured for the RD Gateway and RD Web Access roles.
  • Make sure that any computers your users will connect to are running one of the following OS versions:
    • Windows 10
    • Windows Server 2008R2 or later

Your users will see better performance connecting to Windows Server 2016 (or later) and Windows 10 (version 1611 or later).

If you used the web client during the preview period and installed a version prior to 1.0.0, you must first uninstall the old client before moving to the new version. If you receive an error that says «The web client was installed using an older version of RDWebClientManagement and must first be removed before deploying the new version,» follow these steps:

  1. Open an elevated PowerShell prompt.
  2. Run Uninstall-Module RDWebClientManagement to uninstall the new module.
  3. Close and reopen the elevated PowerShell prompt.
  4. Run Install-Module RDWebClientManagement -RequiredVersion
      to install the old module.
    1. Run Uninstall-RDWebClient to uninstall the old web client.
    2. Run Uninstall-Module RDWebClientManagement to uninstall the old module.
    3. Close and reopen the elevated PowerShell prompt.
    4. Proceed with the normal installation steps as follows.

    How to publish the Remote Desktop web client

    To install the web client for the first time, follow these steps:

    On the RD Connection Broker server, obtain the certificate used for Remote Desktop connections and export it as a .cer file. Copy the .cer file from the RD Connection Broker to the server running the RD Web role.

    On the RD Web Access server, open an elevated PowerShell prompt.

    On Windows Server 2016, update the PowerShellGet module since the inbox version doesn’t support installing the web client management module. To update PowerShellGet, run the following cmdlet:

    You’ll need to restart PowerShell before the update can take effect, otherwise the module may not work.

    Install the Remote Desktop web client management PowerShell module from the PowerShell gallery with this cmdlet:

    After that, run the following cmdlet to download the latest version of the Remote Desktop web client:

    Next, run this cmdlet with the bracketed value replaced with the path of the .cer file that you copied from the RD Broker:

    Finally, run this cmdlet to publish the Remote Desktop web client:

    Make sure you can access the web client at the web client URL with your server name, formatted as https://server_FQDN/RDWeb/webclient/index.html . It’s important to use the server name that matches the RD Web Access public certificate in the URL (typically the server FQDN).

    When running the Publish-RDWebClientPackage cmdlet, you may see a warning that says per-device CALs are not supported, even if your deployment is configured for per-user CALs. If your deployment uses per-user CALs, you can ignore this warning. We display it to make sure you’re aware of the configuration limitation.

    When you’re ready for users to access the web client, just send them the web client URL you created.

    To see a list of all supported cmdlets for the RDWebClientManagement module, run the following cmdlet in PowerShell:

    How to update the Remote Desktop web client

    When a new version of the Remote Desktop web client is available, follow these steps to update the deployment with the new client:

    Open an elevated PowerShell prompt on the RD Web Access server and run the following cmdlet to download the latest available version of the web client:

    Optionally, you can publish the client for testing before official release by running this cmdlet:

    The client should appear on the test URL that corresponds to your web client URL (for example, https://server_FQDN/RDWeb/webclient-test/index.html).

    Publish the client for users by running the following cmdlet:

    This will replace the client for all users when they relaunch the web page.

    How to uninstall the Remote Desktop web client

    To remove all traces of the web client, follow these steps:

    On the RD Web Access server, open an elevated PowerShell prompt.

    Unpublish the Test and Production clients, uninstall all local packages and remove the web client settings:

    Uninstall the Remote Desktop web client management PowerShell module:

    How to install the Remote Desktop web client without an internet connection

    Follow these steps to deploy the web client to an RD Web Access server that doesn’t have an internet connection.

    Installing without an internet connection is available in version 1.0.1 and above of the RDWebClientManagement PowerShell module.

    You still need an admin PC with internet access to download the necessary files before transferring them to the offline server.

    The end-user PC needs an internet connection for now. This will be addressed in a future release of the client to provide a complete offline scenario.

    From a device with internet access

    Open a PowerShell prompt.

    Import the Remote Desktop web client management PowerShell module from the PowerShell gallery:

    Download the latest version of the Remote Desktop web client for installation on a different device:

    Download the latest version of the RDWebClientManagement PowerShell module:

    Copy the content of «C:\WebClient» to the RD Web Access server.

    From the RD Web Access server

    Follow the instructions under How to publish the Remote Desktop web client, replacing steps 4 and 5 with the following.

    You have two options to retrieve the latest web client management PowerShell module:

    • Import the Remote Desktop web client management PowerShell module:
    • Copy the downloaded RDWebClientManagement folder to one of the local PowerShell module folders listed under $env:psmodulePath, or add the path to the folder with the downloaded files to the $env:psmodulePath.

    Deploy the latest version of the Remote Desktop web client from the local folder (replace with the appropriate zip file):

    Connecting to RD Broker without RD Gateway in Windows Server 2019

    This section describes how to enable a web client connection to an RD Broker without an RD Gateway in Windows Server 2019.

    Setting up the RD Broker server

    Follow these steps if there is no certificate bound to the RD Broker server

    Open Server Manager > Remote Desktop Services.

    In Deployment Overview section, select the Tasks dropdown menu.

    Select Edit Deployment Properties, a new window titled Deployment Properties will open.

    In the Deployment Properties window, select Certificates in the left menu.

    In the list of Certificate Levels, select RD Connection Broker — Enable Single Sign On. You have two options: (1) create a new certificate or (2) an existing certificate.

    Follow these steps if there is a certificate previously bound to the RD Broker server

    Open the certificate bound to the Broker and copy the Thumbprint value.

    To bind this certificate to the secure port 3392, open an elevated PowerShell window and run the following command, replacing » « with the value copied from the previous step:

    To check if the certificate has been bound correctly, run the following command:

    In the list of SSL Certificate bindings, ensure that the correct certificate is bound to port 3392.

    Open the Windows Registry (regedit), go to HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp and locate the key WebSocketURI. Next, set the value to https://+:3392/rdp/ .

    Setting up the RD Session Host

    Follow these steps if the RD Session Host server is different from the RD Broker server:

    Create a certificate for the RD Session Host machine, open it and copy the Thumbprint value.

    To bind this certificate to the secure port 3392, open an elevated PowerShell window and run the following command, replacing » « with the value copied from the previous step:

    To check if the certificate has been bound correctly, run the following command:

    In the list of SSL Certificate bindings, ensure that the correct certificate is bound to port 3392.

    Open the Windows Registry (regedit) and navigate to HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp and locate the key WebSocketURI. The value must be set to https://+:3392/rdp/ .

    General Observations

    Ensure that both the RD Session Host and RD Broker server are running Windows Server 2019.

    Ensure that public trusted certificates are configured for both the RD Session Host and RD Broker server.

    If both the RD Session Host and the RD Broker server share the same machine, set the RD Broker server certificate only. If the RD Session Host and RD Broker server use different machines, both must be configured with unique certificates.

    The Subject Alternative Name (SAN) for each certificate must be set to the machine’s Fully Qualified Domain Name (FQDN). The Common Name (CN) must match the SAN for each certificate.

    How to pre-configure settings for Remote Desktop web client users

    This section will tell you how to use PowerShell to configure settings for your Remote Desktop web client deployment. These PowerShell cmdlets control a user’s ability to change settings based on your organization’s security concerns or intended workflow. The following settings are all located in the Settings side panel of the web client.

    Suppress telemetry

    By default, users may choose to enable or disable collection of telemetry data that is sent to Microsoft. For information about the telemetry data Microsoft collects, please refer to our Privacy Statement via the link in the About side panel.

    As an administrator, you can choose to suppress telemetry collection for your deployment using the following PowerShell cmdlet:

    By default, the user may select to enable or disable telemetry. A boolean value $false will match the default client behavior. A boolean value $true disables telemetry and restricts the user from enabling telemetry.

    Remote resource launch method

    This setting currently only works with the RDS web client, not the Windows Virtual Desktop web client.

    By default, users may choose to launch remote resources (1) in the browser or (2) by downloading an .rdp file to handle with another client installed on their machine. As an administrator, you can choose to restrict the remote resource launch method for your deployment with the following PowerShell command:

    By default, the user may select either launch method. A boolean value $true will force the user to launch resources in the browser. A boolean value $false will force the user to launch resources by downloading an .rdp file to handle with a locally installed RDP client.

    Reset RDWebClientDeploymentSetting configurations to default

    To reset a deployment-level web client setting to the default configuration, run the following PowerShell cmdlet and use the -name parameter to specify the setting you want to reset:

    Troubleshooting

    If a user reports any of the following issues when opening the web client for the first time, the following sections will tell you what to do to fix them.

    What to do if the user’s browser shows a security warning when they try to access the web client

    The RD Web Access role might not be using a trusted certificate. Make sure the RD Web Access role is configured with a publicly trusted certificate.

    If that doesn’t work, your server name in the web client URL might not match the name provided by the RD Web certificate. Make sure your URL uses the FQDN of the server hosting the RD Web role.

    What to do if the user can’t connect to a resource with the web client even though they can see the items under All Resources

    If the user reports that they can’t connect with the web client even though they can see the resources listed, check the following things:

    • Is the RD Gateway role properly configured to use a trusted public certificate?
    • Does the RD Gateway server have the required updates installed? Make sure that your server has the KB4025334 update installed.

    If the user gets an «unexpected server authentication certificate was received» error message when they try to connect, then the message will show the certificate’s thumbprint. Search the RD Broker server’s certificate manager using that thumbprint to find the right certificate. Verify that the certificate is configured to be used for the RD Broker role in the Remote Desktop deployment properties page. After making sure the certificate hasn’t expired, copy the certificate in .cer file format to the RD Web Access server and run the following command on the RD Web Access server with the bracketed value replaced by the certificate’s file path:

    Diagnose issues with the console log

    If you can’t solve the issue based on the troubleshooting instructions in this article, you can try to diagnose the source of the problem yourself by watching the console log in the browser. The web client provides a method for recording the browser console log activity while using the web client to help diagnose issues.

    • Select the ellipsis in the upper-right corner and navigate to the About page in the dropdown menu.
    • Under Capture support information select the Start recording button.
    • Perform the operation(s) in the web client that produced the issue you are trying to diagnose.
    • Navigate to the About page and select Stop recording.
    • Your browser will automatically download a .txt file titled RD Console Logs.txt. This file will contain the full console log activity generated while reproducing the target issue.

    The console may also be accessed directly through your browser. The console is generally located under the developer tools. For example, you can access the log in Microsoft Edge by pressing the F12 key, or by selecting the ellipsis, then navigating to More tools > Developer Tools.

    Get help with the web client

    If you’ve encountered an issue that can’t be solved by the information in this article, you can report it on Tech Community. You can also request or vote for new features at our suggestion box.

    Читайте также:  Windows box mac os
Оцените статью