win8中的凭据提供程序 [英] Credential provider in win8

查看:31
本文介绍了win8中的凭据提供程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用代码自动登录我的用户帐户.我正在使用 Windows 8.我尝试使用凭据提供程序示例.我在 SDK 中编译了示例并将 dll 添加到注册表中,如自述文件中所述.

I want to login to my user account automatically using code. I am using Windows 8. I tried to use Credential Provider sample. I compiled the sample in the SDK and add the dll to the registry as described in the readme.

当我锁定计算机时,我可以看到常规用户帐户磁贴.只有当我按下 Esc 时,我才会看到示例中添加的 2 个新图块.然后,如果我按下其中一个,并尝试任何类型的密码,我就会回到上一页,那里只有普通的磁贴.并且无法登录.

when I lock my computer I can see the regular user account tile. only when I press on Esc I see the 2 new tiles that were added in the sample. then if I press on one of them, and try any kind of password, I just get back to the previous page where I had only the regular tile. and cannot login.

这是预期的行为吗?

推荐答案

不,这不是预期的行为.

No, this is not the expected behavior.

如果在您输入密码时,您立即被重定向到磁贴选择而没有错误消息,那么您的凭据提供程序崩溃了.

If, when you type your password, you are immediately redirected to the tile selection without an error message, then your credential provider crashed.

我建议 远程调试 以找到您的源问题.如果这不是您的选择,您可以随时编写日志.

I suggest remote debugging in order to find the source of your problem. If that's not an option for you, you can always write logs.

如果您不知道,您可以在安全模式下启动 Windows,以便即使在您的凭据提供程序崩溃时也能登录.

In case you don't know, you can start windows in safe mode to be able to login even when your credential provider crashes.

这篇关于win8中的凭据提供程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆