You cannot connect to Windows Elastic Compute Service (ECS) instance by using tools such as Workbench. After you log on to the instance by using Virtual Network Computing (VNC), the Remote Desktop option is set to Don't allow remote connections to this computer.
Problem description
The Remote Desktop option is set to Don't allow remote connections to this computer, as shown in the following figure.

Check whether the issue occurs
Press
Win+R, entersysdm.cpl, and then press theEnterkey to go to the System Properties dialog box.
On the Remote tab, check the Remote Desktop options. Don't allow remote connections to this computer is selected as shown in the following figure.

Procedure
The procedure involves modifying Windows system configurations. Before proceeding, create snapshots for the instance to roll back to the previous instance status if configuration errors occur.
Step 1: Change the value of the Remote Desktop option in the System Properties dialog box
Press Win+R, enter sysdm.cpl, and then press the Enter key to go to the System Properties dialog box. On the Remote tab, change the Remote Desktop option to Allow remote connections to this computer, click Apply, and then click OK.

What if the Remote Desktop option is grayed out (not editable)?
Step 2: Modify the registry file
Modify the fDenyTSConnections option in the registry file to resolve the issue.
Press
Win+R, enterregedit, and then press theEnterkey to go to the Registry Editor window.
Navigate to the
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Serverpath, and find and double-click fDenyTSConnections.
In the fDenyTSConnections dialog box, set Value data to 0.
A value of 0 for this configuration item represents allowing remote connections.

Restart the instance.
Step 3: Check whether the issue is resolved
Press
Win+R, entersysdm.cpl, and then press theEnterkey. The System Properties dialog box appears.On the Remote tab, check whether the Remote Desktop option is set to Allow remote connections to this computer.
Log on to the instance again by using a remote connection tool.

