Help Center/ Elastic Cloud Server/ User Guide/ Instances/ Logging In to a Windows ECS/ Logging In to a Windows ECS Using an RDP File
Updated on 2025-08-28 GMT+08:00

Logging In to a Windows ECS Using an RDP File

Scenarios

Remote Desktop Protocol (RDP) is a multi-channel remote login protocol provided by Microsoft. This section describes how to use an RDP file to remotely log in to a Windows ECS.

Each RDP file downloaded from the management console can be used to log in to only one ECS, and the file is named in the format of "ECS name-EIP".

Prerequisites

  • Access to port 3389 is allowed in the inbound direction of the security group that the ECS belongs to. For details, see Configuring Security Group Rules.
  • The network connection between the login tool and the target ECS is normal. For example, the default port 3389 is not blocked by the firewall.
  • RDP has been enabled on the target ECS. By default, RDP has been enabled on the ECSs created using a public image. For instructions about how to enable RDP, see Enabling RDP.

Login from Windows

If the local computer runs Windows, you can use the RDP file to log in to the target Windows ECS.

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click . Under Compute, click ECS.
  4. In the Operation column of the target ECS, click Remote Login.
    Figure 1 Remote Login
  5. In the Logging In to a Windows ECS dialog box, select RDP-based Login and click Download RDP File to download the RDP file to the local computer.
    Figure 2 Download RDP File
  6. Double-click the downloaded RDP file to remotely access the Windows ECS.
    Figure 3 Logging in to a Windows ECS using an RDP file

    If the window shown in the following figure is displayed, the login is successful.

    Figure 4 Successful login