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
Stopped
status, 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 yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
settings.
-
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 list
Result:
+----------------------+------------------+--------+----------------------+---------------------+ | 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
ID
of 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.