Resetting a desktop user password
- In the management console
, select the folder containing your desktop. - From the list of services, select Cloud Desktop.
- In the left-hand panel, select
Desktops. - Select the desktop to connect to.
- Under Desktop user, next to the user account, click
and select Reset password. - Confirm the password reset.
- Save the new password from the pop-up window that appears, then close the window.
-
Open the User desktop showcase
. -
If the desktop you want to connect to has the
Stoppedstatus, run it by clicking and then confirming the action.Wait for the desktop status to change to
Active. -
Click
and confirm the password reset. -
Save the new password from the pop-up window that appears, then close the window.
If you do not have the Yandex Cloud CLI installed yet, install and initialize it.
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.
-
See the description of the CLI command for resetting a desktop password:
yc desktops desktop reset-password --help -
Get a list of desktops in the default folder:
yc desktops desktop listResult:
+----------------------+------------------+--------+----------------------+---------------------+ | ID | NAME | STATUS | DESKTOP GROUP ID | CREATED (UTC-0) | +----------------------+------------------+--------+----------------------+---------------------+ | e3vmvhgbgac4******** | my-cloud-desktop | ACTIVE | e3v1rbln45tl******** | 2024-10-09 22:42:28 | | e3vio1bc5ppz******** | reserved-desktop | ACTIVE | e3v1rbln45tl******** | 2024-10-09 21:35:17 | +----------------------+------------------+--------+----------------------+---------------------+ -
Select the
IDof the desktop you need. -
Reset the desktop password:
yc desktops desktop reset-password \ --id <desktop_ID> \ --user-account-id <user_ID>Where:
--id: Desktop ID.--user-account-id: Desktop user ID.
Use the resetPassword REST API method for the Desktop resource or the DesktopService/ResetPassword gRPC API call.