Credential provider in win8

你。 提交于 2019-12-13 04:39:44

问题


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.

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.

Is this the expected behavior?


回答1:


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.

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



来源:https://stackoverflow.com/questions/22125962/credential-provider-in-win8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!