Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get my program to log the user into Windows?

i have been working on a program that will enter usernames and passwords if someone plugs in a Usb, but i don't know how to enter a windows log in password. So the idea is to have my program running so it can find if the usb is plugged in if so it will use keybd_event to enter the password and to hit enter. how would i get my program to run so i can do this?

like image 494
blood Avatar asked Jan 24 '26 03:01

blood


1 Answers

You need to write a GINA DLL (XP) or a Credential Provider (Vista / Seven)

like image 113
SLaks Avatar answered Jan 25 '26 17:01

SLaks



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!