windows 如何截屏 UAC 提示?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4046940/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 15:30:02  来源:igfitidea点击:

How to screen shot a UAC prompt?

windowsuacscreenshot

提问by Adrian McCarthy

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?

我正在尝试使用一系列屏幕截图来记录工作流程。在流程中的某个时刻,会出现一个 UAC 提示,我想获取它的位图以完成我的故事板。因为 UAC 提示在虚拟桌面(或类似的东西)上,所以通常的 Alt+PrintScreen 不起作用。有什么建议?

回答by Michael Goldshteyn

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

1) 运行 gpedit.msc
2) 在计算机配置\Windows 设置\安全设置\本地策略\安全选项下:

将“用户帐户控制:提示提升时切换到安全桌面”更改为禁用

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

截屏后撤消此更改,因为它会降低系统的安全性!

回答by Michael Madsen

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.

更改您的 UAC 设置以禁用安全桌面,然后您可以截取屏幕截图。在 Windows 7 中,这是 UAC 滑块上的选项之一,在 Vista 中,我相信您需要配置安全策略。

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

或者,在 VM 中运行 Windows 并截取它的屏幕截图。

回答by Kate Gregory

You can also remote desktop to the Windows 7 machine and run the screenshotter (or video capture) on the other machine. I've used this very successfully.

您还可以远程桌面到 Windows 7 机器并在另一台机器上运行屏幕截图器(或视频捕获)。我已经非常成功地使用了这个。

回答by Md. Harun Or Rashid

A step by step Guide

分步指南

Step 1. Right click on the Program that you want to install and choose 'Run as administrator'.

Step 1. 右键单击要安装的程序,然后选择“以管理员身份运行”。

enter image description here

在此处输入图片说明

Step 2. Now when the UAC Prompt appears, click on 'Change when these notifications appear'.

Step 2. 现在,当出现 UAC 提示时,单击“在这些通知出现时更改”。

enter image description here

在此处输入图片说明

Step 3. Take the security Bar one-step down. Be sure to find that 'do not dim my desktop' is in the description. Now click on 'OK'.

Step 3. 将安全栏向下一步。请务必在说明中找到“不要使我的桌面变暗”。现在点击“确定”。

enter image description here

在此处输入图片说明

Click on 'yes' when the UAC ask for permission.

当 UAC 请求许可时,单击“是”。

Step 4. Now close all UAC Prompt dialog box. Again start from the beginning. You are now able to take a screenshot of the UAC Prompt dialog box with keyboard's print screenbutton or ms snipping tool.

Step 4. 现在关闭所有 UAC 提示对话框。再次从头开始。现在,您可以采取的UAC提示对话框的截屏与键盘的打印屏幕按钮或MS剪断的工具

Note thatit will make your system less secure. So, make the security level as previous after the completion of your need.

请注意,它会使您的系统不那么安全。因此,在完成您的需要后,将安全级别设置为之前的级别。

回答by otterb

Simple method: Use windows accessory SnippingTool from MS. It just works!

简单方法:使用 MS 的 windows 附件 SnippingTool。它只是有效!