Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unlock Windows desktop

Status
Not open for further replies.

g33man

Programmer
Dec 22, 2006
50
CA
I am searching for a method to unlock a Windows desktop, assuming I already have the credentials.

Background:
I have a gadget called a Wireless USB PC-Lock. It is a proximity device that locks my PC when I walk away, and unlocks it when I return. The included software is WEAK! It doesn't really lock/unlock the desktop, just simulates it with an easily breakable driver. I want to write my own driver that truely locks/unlocks the desktop using the Windows API- I'm currently on Vista. Locking the desktop is easy. Some Googling indicates that unlocking it cannot be done. I am not giving up, however. I have a Lenovo tablet with the fingerprint reader. I previously registered my Windows credentials with the fingerprint utility, and now can unlock my tablet with just a finger swipe. If the fingerprint utility can do this programmically, there is obviously a way.

Suggestions are welcome, thanks.
 
>there is obviously a way.

Yes, you can write your own GINA (google it). However, writing a GINA in VB is ...um ... non-trivial ...
 
GINA in VB6? Sounds easy enough... -KIDDING!!! ;-)

It didn't occur to me that there was a separate GINA providing the fingerprint reader functionality, but now that you've said it, it makes sense. Crap.

Thanks for your reply.
 
Just some more detail for any future readers of this thread. The GINA was last used in WinXP. Newer Windows versions now use a concept called Credential Providers. To do what I had originally asked, means writing my own Credential Provider to detect the wireless device, then feed in the pre-stored login credentials. This is well documented at MSDN. At this point, I can only find sample code written in C. Realistically, I don't think I will get this project done - it is a way bigger effort than I had hoped.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top