Unable to grab Screenshot using PrtScn (VK_SNAPSHOT) when running privileged window #17902

Open
opened 2026-01-31 05:57:55 +00:00 by claunia · 0 comments
Owner

Originally created by @asaf400 on GitHub (Jul 11, 2022).

Windows Terminal version

1.14.186

Windows build number

10.0.22000.0

Other Software

Fedora WSL bash & cmd.exe & PowerShell

Steps to reproduce

With Greenshot installed, a popular print screen saving & sharing app, like ShareX,
When pressing the PrtScn button on the keyboard with the Windows Terminal window in focus nothing happens,
The expected behavior is for Greenshot to prompt for rectangle box selection, to capture part of the screen..

This behavior is consistent with any terminal app (bash, cmd, powershell)
However, the Alt+PrtScn button, which captures the focused window only, does work,
I mean the Greenshot hook works, and it captures just the terminal window..

I have isolated this issue to be UAC related, UAC is enabled on my machine, but the Windows terminal is running as Privileged (as admin), while Greenshot starts with normal Privileges,
This issue goes away when launching Greenshot as Admin..

I'm creating this issue for reference for others who like me might search issues for something like this..

Expected Behavior

No response

Actual Behavior

Described

Originally created by @asaf400 on GitHub (Jul 11, 2022). ### Windows Terminal version 1.14.186 ### Windows build number 10.0.22000.0 ### Other Software Fedora WSL bash & cmd.exe & PowerShell ### Steps to reproduce With Greenshot installed, a popular print screen saving & sharing app, like ShareX, When pressing the PrtScn button on the keyboard with the Windows Terminal window in focus nothing happens, The expected behavior is for Greenshot to prompt for rectangle box selection, to capture part of the screen.. This behavior is consistent with any terminal app (bash, cmd, powershell) However, the Alt+PrtScn button, which captures the focused window only, does work, I mean the Greenshot hook works, and it captures just the terminal window.. I have isolated this issue to be UAC related, UAC is enabled on my machine, but the Windows terminal is running as Privileged (as admin), while Greenshot starts with normal Privileges, This issue goes away when launching Greenshot as Admin.. I'm creating this issue for reference for others who like me might search issues for something like this.. ### Expected Behavior _No response_ ### Actual Behavior Described
claunia added the Needs-TriageIssue-BugNeeds-Tag-Fix labels 2026-01-31 05:57:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17902