tencent cloud

All product documents
Cloud Virtual Machine
Resetting Instance Password
Last updated: 2024-01-08 09:32:02
Resetting Instance Password
Last updated: 2024-01-08 09:32:02

Overview

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.
Note:
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.

Directions

Resetting the password of a single instance
Resetting the passwords of multiple instances
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.
Note:
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.


1. Log in to the CVM console.
2. On the Instances page, select the CVM instances to reset password, and click Reset Password at the top of the instance list, 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.
Note:
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.



FAQs

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.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

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