Skip to content

Commit 896b8c9

Browse files
committed
Cua: Add screenshot error TSG
1 parent 1d65d7f commit 896b8c9

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Troubleshoot 'FailedToTakeScreenshot' error during computer use actions (preview)
3+
description: Understand and resolve 'FailedToTakeScreenshot' errors that occur during computer use runs.
4+
ms.date: 09/22/2025
5+
ms.topic: troubleshooting
6+
ms.author: guco
7+
ms.custom:
8+
- guidance
9+
---
10+
11+
# Why does the 'FailedToTakeScreenshot' error occur?
12+
13+
To interact with the Windows desktop, the computer use model requires screenshots. When capturing the screen isn't possible, this error is surfaced and the computer use session ends in failure.
14+
15+
Screen capture usually fails when the Windows desktop isn't displayed. The following are frequent reasons this may happen.
16+
17+
## A UAC prompt is displayed
18+
19+
When Windows displays a [User Account Control](https://learn.microsoft.com/windows/security/application-security/application-control/user-account-control/) (UAC) prompt, the desktop is dimmed and screen capturing will fail.
20+
21+
When opening a new Remote Desktop session to the machine, make sure that not UAC prompt is displayed. Setting the UAC level to "Always notify" can cause UAC prompts to be displayed during session startup.
22+
23+
## The Windows OOBE experience is displayed
24+
25+
When opening a Windows session for the first time with a specific user account on a machine, Windows will display the [Out Of Box Experience](https://learn.microsoft.com/windows-hardware/customize/desktop/customize-oobe-in-windows-11) (OOBE), typically displaying the "Getting things ready" message.
26+
27+
This experience can last for a few minutes and is only displayed the first time a particular user logs into a machine. Always make sure to log into your machines at least once before using them for computer use actions.
28+
29+
## Remote desktop window or tab isn't displayed
30+
31+
When using the computer use tool on an already open Remote Desktop session in the browser (for instance to a Power Automate Hosted machine), screen capturing will fail if the Remote Desktop tab is not focused in the browser.
32+
33+
When connecting to a machine using the Windows Application, minimizing the Windows Application window will also cause screen capture to fail.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
items:
22
- name: Connector request failures
3-
href: connector-request-failure.md
3+
href: connector-request-failure.md
4+
- name: Troubleshoot 'FailedToTakeScreenshot' error during computer use actions
5+
href: computer-user-screenshot-error-troubleshooting.md

0 commit comments

Comments
 (0)