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
    • 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
    • All guides
      • Testing the agent
      • Installing the agent
      • Resetting the admin password
      • Deleting the agent
    • Enabling a software-accelerated network
    • Viewing operations on service resources
    • Viewing metrics in Monitoring
    • NVIDIA driver update guide
  • Yandex Container Solution
  • Access management
  • Pricing policy
  • Terraform reference
  • Metrics Monitoring
  • Audit Trails events
  • Release notes

In this article:

  • Checking that the agent is installed
  • Checking for agent updates
  • Getting agent logs
  1. Step-by-step guides
  2. Managing the password reset agent
  3. Testing the agent

Checking password reset agent operation on a Windows Server VM

Written by
Yandex Cloud
Updated at June 18, 2026
View in Markdown
  • Checking that the agent is installed
  • Checking for agent updates
  • Getting agent logs

Checking that the agent is installedChecking that the agent is installed

  1. Connect to the VM via RDP.

  2. Make sure the agent is installed and running as the yc-guest-agent service:

    PowerShell
    Get-Service "yc-guest-agent"
    
    • If installed and running, the agent will be listed as Running:

      Status   Name               DisplayName
      ------   ----               -----------
      Running  yc-guest-agent     yc-guest-agent
      
    • If installed but not running, the agent will be listed as Stopped. To run the agent, use this command:

      Start-Service "yc-guest-agent"
      

      After that, check if the agent is now running.

    • If the agent is not installed, it will not appear in the list. Use this guide to install it.

Checking for agent updatesChecking for agent updates

  1. Connect to the VM via RDP.

  2. Make sure the agent updater is configured and running properly:

    PowerShell
    1. Make sure the agent update job is running:

      Get-ScheduledTask "yc-guest-agent-updater" -OutVariable Task
      

      Result:

      TaskPath           TaskName                          State
      --------           --------                          -----
      \                  yc-guest-agent-updater            Ready
      

      The yc-guest-agent-updater job must have the Ready status.

    2. Get information about the most recent job run.

      $Task | Get-ScheduledTaskInfo
      

      Result:

      LastRunTime        : 3/15/2023 2:39:39 PM
      LastTaskResult     : 2147946720
      NextRunTime        : 3/20/2023 6:36:36 AM 12:10:10 AM
      NumberOfMissedRuns : 0
      TaskName           : yc-guest-agent-updater
      TaskPath           : \
      PSComputerName     :
      

      If the most recent update was successful, you will see 0 in the LastTaskResult field.

Getting agent logsGetting agent logs

You can get password reset agent logs on serial port 4 (COM4) or directly from the agent in PowerShell.

To get logs:

Management console
CLI
PowerShell
API
  1. Select the folder the VM belongs to.
  2. Navigate to Compute Cloud.
  3. Click the line with the VM in question.
  4. Go to the Serial port tab.
  5. Select COM4 as your port.
  6. To use the CTRL + F shortcut to search, enable Raw mode in the top-right corner.

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.

Run the following command:

yc compute instance get-serial-port-output <VM_name> --port 4 > output.txt

The logs will be saved to a file named output.txt.

  1. Stop the agent:

    Stop-Service "yc-guest-agent"
    
  2. Restart the agent with the required logging level as specified in the --log-level parameter. Here is an example:

    & "C:\Program Files\Yandex.Cloud\Guest Agent\guest-agent.exe" start --log-level debug
    

To get the serial port output, use the getSerialPortOutput REST API method for the Instance resource or the InstanceService/GetSerialPortOutput gRPC API call. Set port to 4.

Was the article helpful?

Previous
Recovering access to a VM
Next
Installing the agent
© 2026 Direct Cursus Technology L.L.C.