python 获取屏幕快照

There are ways to run a screen capture utility – or any other program – from the welcome screen. Windows doesn’t make this easy, but it’s possible. The logon screen runs on the Winlogon desktop, an isolated Windows desktop.

有多种方法可以从欢迎屏幕运行屏幕捕获实用程序或任何其他程序。 Windows并不容易,但是有可能。 登录屏幕在Winlogon桌面(隔离的Windows桌面)上运行。

Whether you’ve set a custom logon screen background and want to show it off, need a screenshot for your tutorial, or want to capture an error message, any of these methods will work for you.

无论您是设置自定义的登录屏幕背景 ,还是想要炫耀它,为教程需要屏幕截图,还是想捕获错误消息,这些方法中的任何一种都可以为您服务。

在Winlogon桌面上启动程序 (Launch Programs on the Winlogon Desktop)

We can launch other programs on the Winlogon desktop with the PsExec command, available on Microsoft’s website. The PsExec command is part of the Sysinternals suite of utilities.

我们可以使用Microsoft网站上的PsExec命令在Winlogon桌面上启动其他程序。 PsExec命令是Sysinternals实用程序套件的一部分。

After downloading the PSTools package, place the PsExec.exe command into your path – for example, in the C:\Windows\System32 directory.

下载PSTools软件包后,将PsExec.exe命令放入路径中,例如,在C:\ Windows \ System32目录中。

Next, launch a Command Prompt as administrator by right-clicking the Command Prompt shortcut and selecting Run as administrator.

接下来,右键单击“命令提示符”快捷方式,然后选择“以管理员身份运行”,以管理员身份启动命令提示符。

From the administrator Command Prompt, run the following command to launch a command prompt window on the Winlogon desktop:

在管理员命令提示符中,运行以下命令以在Winlogon桌面上启动命令提示符窗口:

psexec -sx cmd.exe

psexec -sx cmd.exe

The s option tells psexec to launch the process as the system user account, while the x has it launch the process on the local Winlogon desktop.

s选项告诉psexec以系统用户帐户启动进程,而x则使它在本地Winlogon桌面上启动进程。

Lock the screen with WinKey+L and press Alt-Tab to reveal the Command Prompt running on the Winlogon desktop. You’ll also see the command prompt if you press Ctrl-Alt-Delete and Alt-Tab on the Ctrl-Alt-Delete screen, which also runs on the Winlogon desktop.

使用WinKey + L锁定屏幕,然后按Alt-Tab键显示Winlogon桌面上运行的命令提示符。 如果您同时在Winlogon桌面上运行Ctrl-Alt-Delete屏幕上按Ctrl-Alt-Delete和Alt-Tab,也会看到命令提示符。

Use the Command Prompt to launch screenshot utilities and other applications on the secure desktop.

使用命令提示符在安全桌面上启动屏幕快照实用程序和其他应用程序。

劫持轻松访问按钮 (Hijack the Ease of Access Button)

Windows displays an Ease of Access button at the bottom left corner of the login screen. When clicked, this button opens the Utilman.exe program, allowing you to start accessibility utilities from the login screen. You can actually replace the Utilman.exe file with another EXE file – like a screenshot utility – to easily take a screenshot of the login screen.

Windows在登录屏幕的左下角显示一个“轻松访问”按钮。 单击后,此按钮将打开Utilman.exe程序,使您可以从登录屏幕启动辅助功能实用程序。 实际上,您可以将Utilman.exe文件替换为另一个EXE文件(如屏幕截图实用程序),以轻松获取登录屏幕的屏幕截图。

You’ll find the Utilman.exe file in the %WINDIR%\System32 directory, which is C:\Windows\System32 by default.

您可以在%WINDIR%\ System32目录中找到Utilman.exe文件,该目录默认为C:\ Windows \ System32。

We’ll need to rename the Utilman.exe file so we can replace it with another EXE file, but we can’t rename it until we take ownership of it. To take ownership of this file, right-click it and open its Properties window.

我们需要重命名Utilman.exe文件,以便可以将其替换为另一个EXE文件,但是直到获得所有权后才能重命名。 要获得此文件的所有权,请右键单击它,然后打开其“属性”窗口。

Select the Security tab in the Properties window and click the Advanced button to access its advanced settings.

在“属性”窗口中选择“安全性”选项卡,然后单击“高级”按钮以访问其高级设置。

Select the Owner tab in the Advanced Security Settings window and click the Edit button. I’ve already taken ownership of the file here – by default, it’s owned by TrustedInstaller.

在“高级安全设置”窗口中选择“所有者”选项卡,然后单击“编辑”按钮。 我已经在这里拥有了文件的所有权–默认情况下,它是由TrustedInstaller拥有的。

Select your administrator account and click OK to take ownership.

选择您的管理员帐户,然后单击“确定”以取得所有权。

After you’ve taken ownership of the file, you can rename it to something like Utilman_backup.exe

取得文件所有权后,可以将其重命名为Utilman_backup.exe

You’ll need a screenshot utility to put in Utilman.exe’s place. I tested Win 7 Logon Screen Capture, which worked well. Put the file in Utilman.exe’s place.

您将需要一个屏幕截图实用程序来放置Utilman.exe的位置。 我测试了Win 7登录屏幕捕获,效果很好。 将文件放在Utilman.exe的位置。

After it’s installed, go back to the logon screen (WinKey+L) and click the Utilman.exe file to take your screenshot. Clicking the button will bring up a save dialog if you’re using Win 7 Logon Screen Capture.

安装完成后,返回登录屏幕(WinKey + L)并单击Utilman.exe文件以截取屏幕截图。 如果您使用的是Win 7 Logon Screen Capture,则单击该按钮将弹出一个保存对话框。

使用虚拟机 (Use a Virtual Machine)

Most screenshots of the Windows logon screen you see online were taken using virtual machine software. This is the simplest way to take these screenshots, as the virtual machine software displays the guest operating system’s logon screen in a window on your desktop.

您在线看到的Windows登录屏幕的大多数屏幕截图是使用虚拟机软件拍摄的。 这是获取这些屏幕截图的最简单方法,因为虚拟机软件会在桌面上的窗口中显示来宾操作系统的登录屏幕。

To get started with virtual machines, check out our list of articles for learning virtual machines.

要开始使用虚拟机,请查看我们的学习虚拟机的文章列表。

翻译自: https://www.howtogeek.com/113267/how-to-take-screenshots-of-the-windows-logon-screen-2-geeky-tricks/

python 获取屏幕快照

python 获取屏幕快照_如何获取Windows登录屏幕的屏幕快照:2个怪异技巧相关推荐

  1. windows禁用屏幕旋转_如何在Windows 10中禁用屏幕自动旋转

    windows禁用屏幕旋转 Windows 10 can automatically rotate your display if you have a convertible PC or table ...

  2. windows10屏幕录制_如何在Windows 10中拍摄屏幕截图

    windows10屏幕录制 A screenshot is an image taken of whatever's on your screen. Today we're going to show ...

  3. f12获取网页文本_怎么获取网页源代码中的文件?

    展开全部 易语言如何取网页源码: 1.首先,运行"易语言"主程序,弹出"新建工程32313133353236313431303231363533e4b893e5b19e3 ...

  4. 查看windows登陆日志_如何在Windows登录屏幕上查看以前的登录信息

    查看windows登陆日志 By default, most versions of Windows record an event every time a user tries to log on ...

  5. windows获取本地时间_如何在Windows 8中重新获得本地登录

    windows获取本地时间 By default a fresh Windows 8 installation prompts you to create a synchronized cloud-e ...

  6. 你如何在java中获取线程堆_如何在Windows上获取未在控制台中运行的Java进程的线程和堆转储...

    问题 我有一个Java应用程序,我从控制台运行,然后控制台执行另一个Java进程.我想获得该子进程的线程/堆转储. 在Unix上,我可以做akill -3 但是在Windows AFAIK上获取线程转 ...

  7. python如何获取传感器数据_连接获取传感器数据的几大方法

    传感器的数量在整个地球表面和人们生活周遭空间激增,提供世界各种数据讯息.这些价格亲民的传感器是物联网(IoT)发展和我们的社会正面临数字化革命,背后的驱动力. 然而,连接和获取来自传感器的数据并不总是 ...

  8. python dataframe取行_如何获取pandas DataFrame的最后N行?

    我有pandas数据帧df1和df2(df1是vanila数据帧,df2由'STK_ID'&'RPT_Date'索引): >>> df1 STK_ID RPT_Date TC ...

  9. python兼职平台信号处理_如何在Windows机器上处理python中的信号

    Python的os.kill在Windows上包含了两个不相关的API.当sig参数为CTRL_C_EVENT或CTRL_BREAK_EVENT时,它会调用GenerateConsoleCtrlEve ...

最新文章

  1. 什么是物联网的边缘计算?
  2. Perl 正则表达式 html,使用正则表达式验证表单中的HTML字段使用perl
  3. FC3服务器配置一条龙
  4. redis-Windows下安装与操作
  5. python棋盘最短路径_Python数据结构与算法之图的最短路径(Dijkstra算法)完整实例...
  6. 解决 idea 运行 Spring Boot 项目启动慢的问题
  7. flask 蓝图 使用蓝图,增删改查用户
  8. iOS导航控制器和Segues
  9. c++求数组中出现频率最高的数
  10. java mvc接收 时间_Springmvc 如何接收java8的时间localDateTime。
  11. 什么是老毛子固件 padavan中文叫什么
  12. 如何批量将 PPT 转换为 jpeg、png、bmp 图片
  13. 毕业论文文献综述写作技巧,超级详细!
  14. windows7系统取消护眼模式的方法
  15. goodnote笔记同步 Android,goodnotes笔记
  16. 真空密码字典生成器分享
  17. 3分钟带你了解,软件测试是做什么的!
  18. 又一篇Android Recovery的文章
  19. Windows/Linux日志分析
  20. kermit配置文件

热门文章

  1. 苹果手机上input的button按钮颜色显示问题
  2. 红娘娃机情话锦囊闺蜜四版脱单交友盲盒系统开发
  3. 旺旺机器人的快捷短语_快答自动回复系统|快答自动回复(自动聊天机器人)v1.3.9.0 免费版 - 极光下载站...
  4. 修改mac地址串口服务器,串口服务器 设置 mac地址
  5. 7-16 三天打鱼两天晒网 (15分) 中国有句俗语叫“三天打鱼两天晒网”。假设某人从某天起,开始“三天打鱼两天晒网”,问这个人在以后的第N天中是“打鱼”还是“晒网”?
  6. 湘南学院计算机系考研喜报,湘南学院考研都考什么学校通过率高不高--【天道考研网校】(网络考研辅导班首选)...
  7. handsontable下拉数字递增效果vue
  8. VS2019无法下载安装的经历以及各种较为有效的解决方法总结(包含---WLAN状态属性显示空白解决方法)
  9. 红旗Linux刻录到U盘,安装红旗Asianux_openEuler 8.1(欧拉版)的方法
  10. 鲸鱼算法matlab代码详解(一)