tencent cloud


Resetting Instance Password

Last updated: 2022-03-30 15:29:25


    If you forget your CVM instance login password, you can reset it on the console. This document describes how to reset your instance login password on 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 instance management page, proceed according to the actually used view mode:
      • List view: in the row of the target instance, select More > Password/Key > Reset Password on the right as shown below:
      • Tab view: on the page of the target instance, click Reset Password as shown below:
    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.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support