Run Application at window Login Screen
I have made C# winform keyboard that i need to run at windows login screen so that user can enter password to specific user account. the computer which is using this application doses not have physical kb.
i came across GINA some say this is the solution but ther开发者_C百科e are discussions that it is only supports till win XP win vista and 7 has different scheme.
any ideas?
I don't think is this something you could write in .NET, per this thread. But GINA was replaced with Credential Providers.
There is a sample here.
Why not use the onscreen keyboard?
http://forums.techarena.in/customize-desktop/1131979.htm
If you're using windows vista or or windows 7 it already has an on screen keyboard. Just choose the "Ease of Access" icon and then check "Type without the keyboard"
I know this question is old but for those looking for a super quick and dirty way with C# to do this, and not use C++ or C:
Registry:
Modify HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\magnify.exe (Add it if you need to) and then add a String value to the key: Debugger
Make Debugger value equal to the path to the exe you want to run. Just tested this solution with a C# application on Windows 7 and 10 and both work as expected (You must launch the Magnifier with Win+U, or use Easy of access center.
Here is the output of my registry for this key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\magnify.exe]
"Debugger"="C:\\Path\\to\\exe\\application.exe"
精彩评论