Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Backup
  • Getting started
    • All guides
    • Activating the service
      • Creating and connecting a Linux VM
      • Creating and connecting a Windows VM
      • Connecting a Linux VM
      • Connecting a Linux VM with OS Login
      • Connecting a Windows VM
      • Updating a VM connection to Cloud Backup
      • Updating or restoring a Cloud Backup agent
      • Updating a Linux VM connection with OS Login
      • Viewing VM connection settings
      • Viewing backup log
      • Deleting a VM from Cloud Backup
    • Viewing operations with resources
    • Viewing backup statistics
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • Troubleshooting
  1. Step-by-step guides
  2. VM in Cloud Backup
  3. Connecting a Windows VM

Connecting a Windows Server VM to Cloud Backup

Written by
Yandex Cloud
Updated at April 18, 2025

You can back up Compute Cloud VMs with supported Windows-based operating systems.

For the Cloud Backup agent to work correctly, the VM must meet the minimum requirements.

Warning

To connect a VM to Cloud Backup, make sure its service account, public IP, and security group are set up correctly. For more information, see Connecting Compute Cloud VMs and Yandex BareMetal servers to Cloud Backup.

If you have deleted a VM from Cloud Backup and want to reconnect it, follow the steps below.

To connect a Windows VM to Cloud Backup:

  1. Create a service account with the backup.editor role.

  2. Connect the previously created service account to the VM.

  3. Set up network access for your VM.

  4. Connect to the VM via RDP.

  5. Run Windows PowerShell.

    Note

    The PowerShell execution policies must allow scripts. If they do not, allow scripts and restart PowerShell. For more information, see the Microsoft documentation.

  6. Run the following command:

    . { iwr -useb https://storage.yandexcloud.net/backup-distributions/agent_installer.ps1 } | iex
    

    Result:

    ...
    Backup agent installation complete after 190 s!
    

After that, you can link your VM to backup policies.

See alsoSee also

  • Creating a Linux VM with a connection to Cloud Backup
  • Linking a VM to a backup policy
  • Restoring a VM or Yandex BareMetal server from a backup
  • Delete backup
  • Creating a backup policy

Was the article helpful?

Previous
Connecting a Linux VM with OS Login
Next
Updating a VM connection to Cloud Backup
© 2025 Direct Cursus Technology L.L.C.