All Products
Document Center

When you remotely log on to the Windows Server 2008 R2 system, the system prompts an unknown username or password error.

Last Updated: Dec 29, 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

The system has set a password policy to change passwords periodically. An unknown username or an incorrect password is returned during remote logon, and the password cannot be changed.


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. Log on to the system through the management terminal.
  2. Click start > Run. Enter gpedit.msc and open the local policy editor.
  3. Click computer management > Manage templates > Windows components > Remote Desktop Services > Remote desktop session host > Security, verify that the option to require network-level authentication to authenticate users with remote connections is disabled.
  4. In the command prompt window, type gpupdate/force to refresh the group policy for the group policy to take effect. If the policy does not take effect, restart the system.

Application scope

  • ECS