Best practices for Windows Server VMs

Windows

You can apply several best practices to optimize Compute Engine instancesthat run Microsoft Windows Server. This article describes how you can utilizeother products available on Google Cloud and to ensure your Windows instancesare performing optimally in terms of performance, security, redundancy andavailability. For further information on configuration and setup of Windowsinstances, seeWindows Workloads. ForMicrosoft SQL instances, refer toBest Practices for SQL Server.

General Compute Engine best practices

Security

Backup & Recovery

  • Routinely review and verify your backup and recovery strategy.
  • Enable regularPersistent Disk Snapshotsfor a quick recovery from a previous backup if there is a VM failure.
    • Only enableVSSsnapshots on data volumes and where the application is VSS compatible. Avoidcreating VSS snapshotson the operating system disk because the VSS service marks this disk asread-only.

Patch Management

  • Confirm your Windows operating system is updated to the latest version and allsystem and quality updates (also referred to as "cumulative updates" or"cumulative quality updates") are installed.
  • Make use of automatic Windows Update on your instance. Microsoft releasespatches every second Tuesday of each month at minimum. You should have astrategy for applying these updates to help safeguard the system from known bugsand/or vulnerabilities. If automatic restarts are not an option, considercreating patch jobs by using VM Manager, which canschedule updates and restart your instances at an appropriate time.

Logging and Monitoring

Google related drivers, agents & features

  • When you use Microsoft software, you are responsible for understanding andcomplying with any licensing agreements that you might have with Microsoft.To understand the requirements and options for licensing, refer to theMicrosoft Licensesdocumentation.
  • Keep the guest environment updated in line with your Windows Update strategy.Regularlyupdating the guest environmentof your Windows instance will ensure you are running the latest and most stableversion of all necessary Google Cloud agents and drivers.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.