C#C
C#4y ago
Stroniax

Windows Interactive Logon [Answered]

I have been tasked with writing a program that connects to a remote computer and unlocks the workstation (logging in) with credentials supplied by the remote process. The remoting part is not a concern to me, but I am not finding any way to unlock the device programatically.

I have looked at advapi32.dll's LogonUser function but I still do not know how to use the token to unlock the workstation. I'm having trouble finding what I want because Google is very over-saturated with content that matches the search terms I'm using because everybody has logon problems, and I'm not sure how to be more specific to Google about what I need.
Was this page helpful?