Resolve RDP identity error from macOS to Windows

Updated at:
Copy as MD

This topic describes how to resolve the "Remote Desktop cannot verify the identity of the remote computer." error that occurs when you connect to a Windows instance from macOS.

Symptoms

When you use Remote Desktop on macOS to connect to a Windows ECS instance, the following error appears: "Remote Desktop cannot verify the identity of the remote computer."

Cause

This error occurs because a Group Policy on the Windows ECS instance does not use a security layer compatible with the Remote Desktop client on macOS.

Solution

  1. Connect to the Windows instance by using VNC.

    For more information, see Connect to an instance by using VNC.

  2. Right-click the win2012开始图标 icon, click Run, enter gpedit.msc, and click OK to open the Local Group Policy Editor.

  3. In the left-side navigation pane of the Local Group Policy Editor window, navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security.

  4. In the Security directory, double-click Require use of specific security layer for remote (RDP) connections.

  5. In the dialog box that opens, select Enabled, set Security Layer to RDP, and then click OK.

  6. To apply the changes, update the group policy.

    1. Right-click the Dingtalk_20210510142550.jpg icon, click Run, enter cmd, and then click OK to open Command Prompt.

    2. Run the gpupdate command to update the group policy.

      Wait for a message that confirms the policy update is complete.

  7. Connect to the instance again and verify that the issue is resolved.