[ Web Proxy ]
URL:
Viewing: https://cloud.google.com/compute/docs/troubleshooting/capturing-vm-screenshots [Back]  [Original]

Capturing VM screenshots  |  Compute Engine  |  Google Cloud Documentation Skip to main content
Google Cloud Documentation [Google Cloud Documentation]
Send feedback

Capturing VM screenshots Stay organized with collections Save and categorize content based on your preferences.

This page describes how to capture a screenshot from a virtual machine (VM) instance by using the VM screenshot tool.

Capturing a screenshot from a VM can help you troubleshoot a VM that is not otherwise accessible. For example, a VM might not be accessible if it is booting or has a disk image that is corrupted.

Windows-based operating systems

VM screenshots can help to troubleshoot failed RDP connections to Windows VMs, by identifying if the instance has started successfully. For information about troubleshooting RDP connections, see Troubleshooting RDP.

Privacy considerations with remote desktop clients

The VM screenshot tool uses the display adapter of the VM to capture a screenshot of the local console session through a remote desktop client. Capturing a screenshot through the local console session might capture sensitive information from the user's desktop or browser.

If you are concerned about exposing sensitive information as part of a screenshot, configure your respective remote desktop client in the following way so that it does not use the local console session:

Before sharing screenshots with Google Support, make sure to review them for sensitive information.

Before you begin

Limitations

Capturing a screenshot from a VM

Use the following procedures to capture a screenshot from a VM.

Permissions required for this task

To perform this task, you must have the following permissions:

Console

  1. In the Google Cloud console, go to the VM instances page.

    Go to VM instances

  2. From the VM instances page, click the name of the VM instance to capture a screenshot from.

  3. On the VM instance details page, click the Screenshot tab.

  4. Click Refresh to generate a screenshot from the VM. If you have not enabled a virtual display, the Google Cloud console does not show a screenshot.

gcloud

Capture a screenshot from a VM by using the gcloud compute instances get-screenshot command:

gcloud compute instances get-screenshot VM_NAME \
  --destination=JPEG_FILENAME \
  --zone=ZONE

Replace the following:

REST

With the Compute Engine API, capture a screenshot from a VM by using the instances.getScreenshot request:

GET https://compute.googleapis.com/compute/v1/projects/PROJECT/zo
nes/ZONE/instances/VM_NAME/screenshot

Replace the following:

Example VM screenshots

The Compute Engine UEFI loading the boot manager

The following screenshot shows a Windows Server VM that is unavailable while the boot manager is loading:

The UEFI loading the boot manager [The UEFI loading the boot manager]

uefi.png [uefi.png]

Windows Server 2016 Datacenter performing updates

The following screenshot shows a Windows Server 2016 VM that is unavailable while completing updates:

Windows Server 2016 Datacenter performing updates. [Windows Server 2016 Datacenter performing updates.]

updating.png [updating.png]

Windows Server 2016 loading system services

The following screenshot shows a Windows Server 2016 VM that is unavailable while loading system services:

Windows Server 2016 loading system services. [Windows Server 2016 loading system services.]

services.png [services.png]

Login screen for Windows Server 2016 Datacenter

The following screenshot shows a Windows Server 2016 VM that has completed startup and is ready to login:

Login screen for Windows Server 2016 Datacenter. [Login screen for Windows Server 2016 Datacenter.]

login.png [login.png]

Sysprep process of Windows Server 2019 Core

The following screenshot shows the sysprep process of a Windows Server 2019 Core VM instance:

Sysprep process for Windows Server 2019 Core. [Sysprep process for Windows Server 2019 Core.]

windows-ss-1.png [windows-ss-1.png]

Blue screen error from Windows Server 2016 Datacenter

The following screenshot shows a blue screen error from a Windows Server 2016 Datacenter VM instance:

Blue screen from Windows Server 2016 Datacenter. [Blue screen from Windows Server 2016 Datacenter.]

bsod.png [bsod.png]

What's next

Send feedback

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

Last updated 2026-08-11 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-11 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page