devpro101
devpro101

Reputation: 348

How to unlock windows 8/8.1/10 from another PC programmatically?

I am trying to setup a client-server application where the server can unlock client PCs from their windows login screen. The server can also logout or lock the clients as well but unlocking the client PCs from the login screen seems to be more difficult.

I have read about credential provider but I don't understand yet if credential providers will also allow another PC from sending a signal to another PC (client PC) telling them to unlock.

I know C# well but not C++... but I am willing to learn if needed. I would really appreciate your help guys.. Thanks

Upvotes: 1

Views: 828

Answers (2)

Oleg Korzhukov
Oleg Korzhukov

Reputation: 681

You can write your own Credential Provider library (C++ only) and control it remotely somehow. Or use LogonExpert remotely (via PsExec or your own means).

Upvotes: 1

Soonts
Soonts

Reputation: 21936

TeamViewer does that, but it's hard.

They have their service handling all desktops / sessions, including secure ones. This way it also handles UAC prompts in addition to the logon screen.

SendInput for input. And some method of screen capture for recording the screen, I would start with desktop duplication API but I have no idea will it work for secure desktops.

Upvotes: 0

Related Questions