将命令按钮添加到 Windows 登录屏幕

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1186900/
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 12:52:15  来源:igfitidea点击:

Adding command button to Windows Logon screen

windowslogin

提问by Andrew Moore

I want to implement a self reset password functionality for Windows users. When the Logon screen prompts the domain users should be presented with a forgot password button which will take the user to a password reset wizard. So the problem is how to add a command button to the standard windows logon screen.

我想为 Windows 用户实现自我重置密码功能。当登录屏幕提示域用户时,应向域用户显示一个忘记密码按钮,该按钮会将用户带到密码重置向导。所以问题是如何将命令按钮添加到标准 Windows 登录屏幕。

回答by Andrew Moore

Modifying login screens is a rather obscure science.

修改登录屏幕是一门相当晦涩的科学。

For Windows XP and below, you will need to create a custom GINA (Graphical Identification and Authentication) DLL. This process is described in this MSDN magazine article.

对于 Windows XP 及更低版本,您需要创建自定义GINA(图形识别和身份验证)DLL。此过程在这篇 MSDN 杂志文章中有所描述。

As for Vista and above, you will need to create a custom Credential Provider. It is demonstrated in this MSDN magazine article.

对于 Vista 及更高版本,您需要创建自定义凭据提供程序。这篇 MSDN 杂志文章对此进行了演示。

I wouldn't recommend doing what you are doing. This could be a huge security breach.

我不建议你做你正在做的事情。这可能是一个巨大的安全漏洞。

回答by PeterMmm

For implementation of login/authentification in Windows you may read about GINA,

要在 Windows 中实现登录/身份验证,您可以阅读GINA

GINA is a replaceable dynamically linked library that is loaded early in the boot process in the context of Winlogon when the machine is started

GINA 是一个可替换的动态链接库,在启动机器时在 Winlogon 上下文中的引导过程早期加载

回答by Marc Gravell

That would depend hugely on the OS; pre-vista, GINA; post-vista, LogonUI can be extended by a custom credential provider (as discussed here). However, it won't be easy - and probably risky too.

这在很大程度上取决于操作系统;预视,吉娜;在vista 之后,LogonUI 可以通过自定义凭据提供程序进行扩展(如此处所述)。然而,这并不容易——而且可能也有风险。