Skip to content

Commit a73fac3

Browse files
committed
writer updates
1 parent 896b8c9 commit a73fac3

File tree

3 files changed

+52
-35
lines changed

3 files changed

+52
-35
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Troubleshoot FailedToTakeScreenshot Errors During Computer Use Actions
3+
description: Learn how to resolve FailedToTakeScreenshot errors that occur during computer use actions in Microsoft Copilot Studio.
4+
ms.date: 09/22/2025
5+
ms.reviewer: guco, v-shaywood
6+
ms.custom: sap:Actions\AI actions
7+
8+
#customer intent: As a developer, I want to resolve FailedToTakeScreenshot errors that occur during computer use actions. These errors are preventing me from using computer use actions with my Copilot agents.
9+
---
10+
11+
# FailedToTakeScreenshot error during computer use action
12+
13+
This article provides troubleshooting guidance for "FailedToTakeScreenshot" errors that occur during [computer use actions](/microsoft-copilot-studio/computer-use) for Copilot Studio agents. The computer use model requires screenshots to interact with the desktop. If capturing a screenshot fails, a "FailedToTakeScreenshot" error is given and the computer use action ends.
14+
15+
## Symptoms
16+
17+
During a computer use action a "FailedToTakeScreenshot" error occurs and the action ends in failure.
18+
19+
## Cause 1: a UAC prompt is displayed
20+
21+
If Windows displays a [User Account Control](/windows/security/application-security/application-control/user-account-control/) (UAC) prompt, the desktop is blocked by the prompt and capturing the screen fails.
22+
23+
### Solution
24+
25+
- Ensure that a UAC prompt isn't displayed when you open a new Remote Desktop session to the machine.
26+
- Verify that the [UAC level](https://support.microsoft.com/windows/user-account-control-settings-d5b2046b-dcb8-54eb-f732-059f321afe18) isn't set to **Always notify** as that can cause UAC prompts to be displayed during session startup.
27+
28+
## Cause 2: the Windows OOBE experience is displayed
29+
30+
The first time a user logs into the machine, Windows displays the [Out Of Box Experience](/windows-hardware/customize/desktop/customize-oobe-in-windows-11) (OOBE). This experience usually starts by displaying the message "Getting things ready". If the OOBE is displayed during the computer use action, capturing the screen fails.
31+
32+
### Solution
33+
34+
The OOBE is only displayed the first time a new user logs into the machine. Make sure to manually log the user into the machine at least once before using computer use actions.
35+
36+
## Cause 3: the Remote Desktop session isn't displayed
37+
38+
Capturing the screen fails if the Remote Desktop session isn't displayed. This can occur in the following cases:
39+
40+
- When using an existing Remote Desktop session in the browser (for example connecting to a Power Automate Hosted machine), screen capturing fails if the Remote Desktop tab is not focused.
41+
- When using a Remote Desktop session in the [Windows Application](/windows-app/overview), screen capturing fails if the application window is minimized.
42+
43+
### Solution
44+
45+
Before starting a compute use action, ensure that the Remote Desktop session is focused and visible on the screen.
46+
47+
## Related content
48+
49+
- [Hosted machines](/power-automate/desktop-flows/hosted-machines)
50+
- [Automate web and desktop apps with computer use](/microsoft-copilot-studio/computer-use)

support/power-platform/copilot-studio/actions/computer-user-screenshot-error-troubleshooting.md

Lines changed: 0 additions & 33 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
items:
22
- name: Connector request failures
33
href: connector-request-failure.md
4-
- name: Troubleshoot 'FailedToTakeScreenshot' error during computer use actions
5-
href: computer-user-screenshot-error-troubleshooting.md
4+
- name: FailedToTakeScreenshot errors during computer use actions
5+
href: computer-use-screenshot-error.md

0 commit comments

Comments
 (0)