Logging In to a Windows ECS Using MSTSC¶
Scenarios¶
This section describes how to use the remote login tool MSTSC to log in to a Windows ECS from a local computer.
Prerequisites¶
The target ECS is running.
You have obtained the password for logging in to the Windows ECS. For details, see Obtaining the Password for Logging In to a Windows ECS.
You have bound an EIP to the ECS. For details, see Binding an EIP.
Access to port 3389 is allowed in the inbound direction of the security group which 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.
Remote Desktop Protocol (RDP) needs to be enabled on the target ECS. For ECSs created using public images, RDP has been enabled by default. For instructions about how to enable RDP, see Enabling RDP.
Logging In to a Windows ECS Using MSTSC¶
If your local server runs Windows, you can use the remote desktop connection tool MSTSC delivered with the Windows OS to log in to a Windows ECS.
Click the start menu on the local server.
In the Search programs and files text box, enter mstsc.
In the Remote Desktop Connection dialog box, click Show Options.
Enter the EIP and username (Administrator by default) of the target ECS.
Note
If you do not want to enter the username and password in follow-up logins, select Allow me to save credentials.
(Optional) To use local server resources in a remote session, configure parameters on the Local Resources tab.
To copy data from the local server to your ECS, select Clipboard.
To copy files from the local server to your ECS, click More and select your desired disks.
(Optional) Click the Display tab and then adjust the size of the remote desktop.
Click Connect and enter the login password as prompted to log in to the ECS.
To ensure system security, change the login password after you log in to the ECS for the first time.
(Optional) Copy local files to the Windows ECS using clipboard. If the file size is greater than 2 GB, an error will occur.
To resolve this issue, see troubleshooting cases.
Enabling RDP¶
For your first login, use VNC to log in and enable RDP for your ECS. Then, use MSTSC to log in.
Note
By default, RDP has been enabled on the ECSs created using a public image.
Log in to the Windows ECS using VNC.
For details, see Remotely Logging In to a Windows ECS (Using VNC).
Click Start in the task bar and choose Control Panel > System and Security > System > Remote settings.
The System Properties dialog box is displayed.
Click the Remote tab and select Allow remote connections to this computer.
Click OK.