Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Compute Cloud
  • Yandex Container Solution
    • Resource relationships
      • Overview
      • Platforms
      • vCPU performance levels
      • Hardware generations
      • Preemptible VMs
      • VM network interfaces
      • Software accelerated network
      • Live migration
      • Placement groups
      • Statuses
      • VM maintenance policies
      • Serial console
      • Resetting Windows VM passwords
    • Graphics processing units (GPUs)
    • GPU VM maintenance
    • Images
    • Dedicated host
    • Reserved instance pools
    • Encryption
    • Backups
    • Quotas and limits
  • Access management
  • Pricing policy
  • Terraform reference
  • Metrics Monitoring
  • Audit Trails events
  • Release notes
  1. Concepts
  2. Virtual machines
  3. Resetting Windows VM passwords

Password reset agent on Windows Server VMs

Written by
Yandex Cloud
Updated at July 20, 2026
View in Markdown

To reset passwords on Windows Server VMs, Yandex Cloud provides a special software called an agent, which operates as a Windows Server service. An agent generates a new password for the VM user and securely provides it to the Yandex Cloud user who requested a password reset. See below for details.

The password reset agent and agent update software are part of standard Windows Server images. If you are using a custom image, follow this guide to install the password reset agent and its update software.

Note

Currently, you cannot reset a password on a Linux VM using Yandex Cloud tools.

The following items are required to reset passwords using an agent:

  • The compute.admin service role, the editor primitive role, or any other role that inherits all permissions of these two. To learn more about roles, see Access management in Compute Cloud.

  • VM with the RUNNING status.

Agent runtime logs, including status messages generated every minute, are available on serial port 4 (COM4).

How an agent resets a passwordHow an agent resets a password

When a Yandex Cloud user requests a password reset:

  1. On the user side (in a browser, if the reset is requested in the management console or through PowerShell), the RSA algorithm is used to generate a public-private key pair. A request containing the public key and the VM username, for which the password is to be reset, is sent to the agent over an HTTPS connection.

  2. The agent on the VM performs the following:

    • Obtains and verifies user request.
    • Generates a new password.
    • Creates a new user with administrator access, if a user with the specified name does not exist.
    • Assigns the generated password to the VM user.
    • Encrypts the password with the public key received in the request.
    • Sends the password to the Yandex Cloud user over an HTTPS connection.
  3. On the user side, the received password is decrypted with the private key and displayed in the management console or PowerShell.

Useful linksUseful links

  • Resetting a VM user password
  • Testing the agent
  • Installing the agent
  • Deleting the agent

Was the article helpful?

Previous
Serial console
Next
Overview
© 2026 Direct Cursus Technology L.L.C.