Is it possible to develop a lockscreen for windows 10 using c#

2.2k views Asked by At

Hi i have windows 10 Pro x64 bit and i will like to know if it's possible to develop a lock screen for windows 10 , without using hacks or not safe methods .. That will close the Pc monitor until a key is pressed . I search the google but i did not find anything about that , other than how to disable it or how to change the background image of the already existing one

1

There are 1 answers

3
Dai On BEST ANSWER

No, it is not possible.

The authentication experience in Windows is locked-down, for good reason. The system can be extended (previously using GINA for NT4 through XP, now Winlogon) but only really to allow for new authentication providers, not to change the user-experience.

Of course, you could always build your own full-screen application which mimicks a login screen, and it could be used to invoke the login action and create a session for that user, but if I press Ctrl+Alt+Del on my keyboard or WinKey+L, or choose any of the Logoff options from the start menu then I'll still get the "real" login screen, and that's by-design.

Historical note: Windows XP added the 'Welcome Screen' UX for computers that were not domain-joined. The Welcome Screen UI was a regular userland process which invoked the platform APIs for logging users on and off, and it was loaded into the special local login session. Hypothetically it was possible to replace this screen with another one completely, though I don't believe I ever saw anything beyond a proof-of-concept. There were third-party tools that customized the appearance of the login screen, but they worked by replacing image resources, they didn't actually replace the executable.

...but since Windows Vista the login experience was more controlled and I believe (correct me if I'm wrong) it's all controlled by the core authentication components, so it just isn't possible to replace it - not without seriously modifying the entire Windows security system.