If your computer runs a Windows operating system, you can use the Windows built-in Remote Desktop Connection (mstsc.exe) utility to connect to an Elastic Compute Service (ECS) instance that runs a Windows operating system. This topic describes how to use mstsc.exe on your Windows computer to upload a file to a Windows instance.
- A Windows instance is created and in the Running state.
- Internet access is enabled for the Windows instance.
- An inbound rule is added to the security group of the Windows instance to allow traffic on port 3389. For more information, see Add a security group rule.
- Use one of the following methods to start Remote Desktop Connection (mstsc.exe) on your Windows computer.
In this example, a Windows 10 computer is used.
- Click the icon, enter mstsc in the search box, and then press the Enter key.
- Press the Windows logo key+R to open the Run dialog box. Enter mstsc and press the Enter key.
- In the Remote Desktop Connection dialog box, perform the following operations to connect to the Windows instance:
- Click Show Options.
- On the General tab, configure the following parameters:
Note If you do not want to re-enter your username and password the next time you connect to the instance, you can select Allow me to save credentials.
- Computer: Enter the public IP address or EIP of the Windows instance.
- User name: Enter a username. The default username is Administrator.
- On the Local Resources tab, make sure that Clipboard in the Local devices and resources section is selected and click More.
- Double-click Drives, select the disk on which the file that you want to upload is stored, and then click OK.
- (Optional) If you have specific requirements for the size of the Remote Desktop Connection dialog box, click the Display tab to resize the dialog box. By default, Full Screen is selected.
- Click Connect to connect to the Windows instance.
After you are connected to the Windows instance, you can perform operations on the instance.
- Upload a file to a Windows instance
Note You can also press Ctrl+C and Ctrl+V to copy files between your Windows computer and the Windows instance.
- On the desktop of the Windows instance, press the Windows log key+E to open File Explorer.
- In the left-side navigation pane, click This PC to view the disk information of the Windows instance.
- On your Windows computer, double-click the driver letter of the disk on which the file that you want to upload is stored to access the disk. Then, copy the file to the Windows instance.