Remote Desktop Services facilitate the management and configuration of Windows Elastic Compute Service (ECS) instances. If you do not enable Remote Desktop Services on a Windows ECS instance, you cannot connect to the instance by using Remote Desktop. This topic describes how to enable Remote Desktop Services on a Windows ECS instance.
Procedure
In the following example, Windows Server 2012 is used. The operations may vary based on the operating system version. For more information, see the official documentation for the corresponding operating system version.
Connect to the Windows ECS instance by using Virtual Network Computing (VNC).
For more information, see Connect to an instance by using VNC.
Open the Run dialog box, enter
cmd, and then click OK to open the Command Prompt window.Run the following command to check whether port 3389 is being listened on.
If port 3389 is not being listened on, perform the following steps to enable Remote Desktop Services and enable the port.
netstat -aon | findstr "3389"Run the following command to switch to PowerShell:
powershellRun the following commands to enable Remote Desktop Services:
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server" -Name fDenyTSConnections -Value 0 -Force Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" -Name UserAuthentication -Value 1 -Force netsh.exe advfirewall firewall add rule name="Open RDP Port 3389" dir=in action=allow protocol=TCP localport=3389A command output similar to the following one is displayed.

Verify that you can connect to the Windows ECS instance by using Remote Desktop from an on-premises client.
For more information, see Connect to a Windows instance by using a username and password.