Resetting a desktop user password
- In the management console
, select the folder containing your desktop. - Go to 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 yet, install and initialize it.
The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.
-
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.