Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article provides a solution to the issue in which the remote desktop connection stays in the connecting to status.
Original KB number: 2915774
Assume a scenario in which you use a remote desktop connection for operating system Windows 7 or later versions. In this scenario, Remote desktop connection is stuck for several seconds when it displays the following texts:
Remote Desktop Connection
Connecting to:
Securing remote connection...
Remote desktop connection uses the highest possible security level encryption method between the source and destination.
Authentication is performed by using self-signed certificates (default behavior), or a certificate issued by a certification authority installed on the Remote Desktop Session Host server (RD Session Host).
If you use a self-signed certificate, the system tries to retrieve the trusted certification authority list from the Internet to check the publish and revocation status of the certificate. Therefore, the Securing remote connection screen may appear for a while.
To work around this behavior, use either of the following methods:
If you're using a self-signed certificate, import the certificate to the source. To do this, follow these steps on the destination:
- Sign in as an administrator in the destination, select Start, enter mmc in the Search programs and files box and run Microsoft Management Console.
- On the File menu, select the Add/Remove Snap-in option.
- From the list of Available snap-ins, select Certificates and then select the Add button.
- On the Certificate Snap-in screen, select the Computer account check box and then select Next.
- On the Select Computer screen, select Local Computer and then select the Finish button.
- Go back to the Add/Remove Snap-In dialog box and then select the OK button.
- In the left pane of the console window, expand Console Route > Certificates (Local Computer) > Remote Desktop > Certificates.
- Double-click the Certificate in the middle pane to open it.
- On the Detail tab, select the Copy to File... button.
- The Certificate Export Wizard will open. Leave the default settings and then save the file in any folder.
- Copy the exported file to the source computer.
Then follow these steps on the source:
Sign in as an administrator in the source, select Start, enter mmc in the Search programs and files box, and run the mmc.exe.
Select the File menu and then select the Add/Remove Snap-in option.
From the list of Available snap-ins, select Certificates and then select the Add button.
On the Certificate Snap-in screen, select the Computer account check box and then select Next.
On the Select Computer screen, select Local Computer and then select the Finish button.
Go back to the Add/Remove Snap-In dialog box and then select the OK button.
In the left pane of the console window, expand Certificates (Local Computer) > Trusted Root Certification Authorities > Certificates. Right-click to select All Tasks, and then select Import... from the menu.
The Certificate Import Wizard will open. Follow the instructions in the wizard to start the import.
In the Certificate file to import window, specify the file that was copied from the destination computer.
In the Certificate store window, verify that:
- Place all certificates in the following store is selected
- Certificate Store lists Trusted Root Certification Authorities.
Note
By default, the self-signed certificate expires in six months. If it has expired, the certificate will be recreated. You must import the recreated certificate to the source again.
Deploy a Group Policy to the client to turn off Automatic Root Certificates Update. To create a Group Policy, follow these steps on a Windows Server computer that is used for Group Policy management in the same Active Directory domain as the RD Session Host and client:
Open the Group Policy Management Console (GPMC) by using the following steps:
Press the Windows key+R to open the Run box.
Type Gpmc.msc in the Run box, and then select OK.
Note
GPMC is installed by default on domain controllers and on any Windows Server or client that has the Remote Server Administration Tools installed.
Create a new Group Policy Object (GPO) or select an existing GPO to change.
Right-click the selected GPO, select Edit, and browse to the following Group Policy:
Computer Configuration > Administrative Templates > System > Internet Communication Management > Internet Communication settings
In the details pane, double-click Turn off Automatic Root Certificates Update, and then select Enabled.
Warning
Turning off Automatic Root Certificates Update means you need to update any client or server when a new root certificate update is rolled out.