All Products
Search
Document Center

:When you remotely log on to an ECS instance in Windows 2008, the system prompts "to log on to this remote computer, you must be granted the permission to log on through terminal services"

Last Updated:Dec 31, 2020

Disclaimer: This article may contain information about third-party products. Such information is for reference only. Alibaba Cloud does not make any guarantee, express or implied, with respect to the performance and reliability of third-party products, as well as potential impacts of operations on the products.

Problem description

When you remotely log on to an ECS instance that runs Windows 2008, the following error message is displayed:

Cause

A policy that does not allow members of the administrator Group to log on is set in the local security policy.

Solution

Alibaba Cloud reminds you that:

  • Before you perform operations that may cause risks, such as modifying instance configurations or data, we recommend that you check the disaster recovery and fault tolerance capabilities of the instances to ensure data security.
  • If you modify the configurations and data of instances including but not limited to ECS and RDS instances, we recommend that you create snapshots or enable RDS log backup.
  • If you have authorized or submitted security information such as the logon account and password in the Alibaba Cloud Management console, we recommend that you modify such information in a timely manner.
  1. Remote connectionlog on to the Windows instance.
  2. Select start, click run, enter secpol.msc in the text box, and click OK.
  3. Go to the local security policy page and select local security policy. > User permission allocation, double-click deny logon through Remote Desktop Services.
  4. In the dialog box that appears, select the administrators group, click delete, and then click confirm to save the configuration.
  5. Select start, click run, enter cmd in the open box, and click OK.
  6. Open the command line and run the following command to update the policy.
    gpupdate /force
  7. Reconnect to the instance.

Application scope

  • ECS