Resetting Instance Password

Last updated: 2021-10-27 11:05:02


    If you forgot your CVM instance login password, you can reset it in the console.


    • When the instance is shut down, you can directly reset the login password.
    • If the instance is still running, resetting the login password will force shut down it. To avoid affecting your business, please plan ahead and reset passwords during off-peak hours.


    1. Log in to the CVM console.
    2. On the Instances page, locate the target CVM instance, and click More > Password/Key > Reset Password in the Operation column, as shown in the following figure:
    3. Select Username and enter the username of the selected instance. Enter the New password, re-enter the new password in the Confirm Password field, and click Next.
      >!The Username defaults to System default, and the default system username is used, such as Administrator for Windows, ubuntu for Ubuntu, and root for other Linux distributions. You can select Specified user name and enter the username.
    4. Reset the password according to the instance status:
      • To reset the password of Running instances, select Agree to a forced shutdown and click Reset Password, as shown in the following figure:
      • To reset the password of Shutdown instances, click Reset Password, as shown in the following figure.


    If you fail to reset the password for Windows CVM instances, refer to Failed to Reset the CVM Password or the CVM Password Is Invalid for troubleshooting.