Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to display my window over a Windows logon screen?

I'm writing a service/user-mode application that may send the system into sleep after a certain customizable period of inactivity. The user-mode process may require to display a user message/warning before performing a power operation. This works great if a user is logged in, but if the workstation is locked, a user sees a display like this:

enter image description here

So I'm curious if it is possible to display my own window (overlay) above such a logon screen?

like image 774
c00000fd Avatar asked Apr 17 '14 09:04

c00000fd


People also ask

How do I get past the Windows login screen?

Press the Windows key + R to bring up the Run box. Type netplwiz or control userpasswords2 and hit Enter. In the User Accounts dialog that appears, select the account you wish to use to log in automatically, and then uncheck the box marked Users must enter a user name and password to use this computer.

How do I display the custom message banner in Windows 10 login screen?

Here in the Local Security Policy window, navigate to “Local Policies” and then to “Security Policies.” Once you are here, find “Interactive logon: Message title for users trying to log on” and double-click on it. In the settings window enter the message title and click on the “Ok” button to save the changes.

How do I put a picture on my login screen?

Select the Start button, then select Settings > Accounts > Your info. Under Create your picture, select Browse for one. Or, if your device has a camera, select Camera and take a selfie.


2 Answers

The only supported API for this, since Vista, is the credential provider. The documentation can be found over on MSDN.

like image 132
David Heffernan Avatar answered Oct 05 '22 02:10

David Heffernan


I found this post that might be exactly what I need. I'll post later when I try it out...

like image 42
c00000fd Avatar answered Oct 05 '22 03:10

c00000fd