Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to screen shot a UAC prompt?

I'm trying to document a work flow with a series of screen shots. At one point in the flow, a UAC prompt appears, and I'd like to grab a bitmap of it to make my storyboard complete. Because UAC prompts are on a virtual desktop (or something like that), the usual Alt+PrintScreen doesn't work. Any suggestions?

like image 436
Adrian McCarthy Avatar asked Oct 28 '10 20:10

Adrian McCarthy


People also ask

How do I bypass UAC popup?

To force the regedit.exe to run without the administrator privileges and to suppress the UAC prompt, simple drag the EXE file you want to start to this BAT file on the desktop. Then the Registry Editor should start without a UAC prompt and without entering an administrator password.

How do I take a screenshot in Windows using command prompt?

Click any window except the command window and then hit PrtScrn. Show activity on this post. First off all open cmd in full screen mode then click on print screen button after that open paint brush and press ctrl + v (past) you can save it in any where, where ever you want (file type should be . png).

What is the Command key to take a screenshot?

You may also take a screenshot using the CTRL + Print Screen shortcut. Windows takes a full-screen screenshot and saves it to the clipboard.


2 Answers

This method using the group policy editor should do the job:

1) Run gpedit.msc
2) Under Computer Configuration\Windows Settings\Security Settings\Local Policies\SecurityOptions:

Change “User Account Control: Switch to the secure desktop when prompting for elevation” to disabled

Undo this change after the screenshot, because it makes the system less secure!

like image 57
Michael Goldshteyn Avatar answered Oct 13 '22 11:10

Michael Goldshteyn


Change your UAC settings to disable the secure desktop, and then you can take the screenshot. In Windows 7, this is one of the options on the UAC slider, in Vista, I believe you need to configure the Security Policy.

Alternatively, run Windows in a VM and take a screenshot of that.

like image 36
Michael Madsen Avatar answered Oct 13 '22 12:10

Michael Madsen