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 a new password from the pop-up window and close it.
-
Open the user desktop showcase
. -
If the desktop you want to connect to has the
Stopped
status, run it by clicking and confirm the action.Wait for the desktop status to change to
Active
. -
Click
and confirm the password reset. -
Save a new password from the pop-up window and close it.
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 through the --folder-name
or --folder-id
parameter.
-
View the description of the CLI command to reset 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
: ID of the user the desktop is created for.
Use the resetPassword REST API method for the Desktop resource or the DesktopService/ResetPassword gRPC API call.