A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://cloud.google.com/compute/docs/instances/capturing-vm-screenshots below:

Capturing VM screenshots | Compute Engine Documentation

Capturing VM screenshots

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

Linux Windows

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:

Windows Server 2016 Datacenter performing updates

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

Windows Server 2016 loading system services

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

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:

Sysprep process of Windows Server 2019 Core

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

Blue screen error from Windows Server 2016 Datacenter

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

What's next

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 2025-08-07 UTC.

[[["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 2025-08-07 UTC."],[[["This page provides instructions on how to use the VM screenshot tool to capture screenshots from virtual machine (VM) instances, which can be helpful for troubleshooting inaccessible VMs or failed RDP connections."],["The VM screenshot tool captures the local console session through a remote desktop client, potentially exposing sensitive information, so users should configure their remote desktop client (like Chrome Remote Desktop or Microsoft RDP) to avoid using the local console session."],["To take a screenshot, the VM must be in the `RUNNING` state, the maximum capture rate is 20 screenshots per second, and only one screenshot can be captured at a time, with the process requiring specific permissions."],["Users can capture a screenshot through the Google Cloud console, using the `gcloud compute instances get-screenshot` command, or by making a `instances.getScreenshot` request through the Compute Engine API."],["Before sharing screenshots, users are encouraged to check them for sensitive data, and are also provided with links to more information regarding diagnostics and troubleshooting."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4