2

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 there are discussions that it is only supports till win XP win vista and 7 has different scheme.

any ideas?

Afnan Bashir
  • 7,319
  • 20
  • 76
  • 138

4 Answers4

3

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.

CodeNaked
  • 40,753
  • 6
  • 122
  • 148
1

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"
1

Why not use the onscreen keyboard?

http://forums.techarena.in/customize-desktop/1131979.htm

Keith Adler
  • 20,880
  • 28
  • 119
  • 189
1

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"

Lucent Fox
  • 1,737
  • 1
  • 16
  • 24