Forum posts for LogonUI.exe

How to tell that the logon screen is currently displayed?

I am writing a service application that will run with local system credentials. I will need to know from my service if the Windows logon screen is displayed at any particular time. Is there any way to do this?

PS. The screens that can be brought up by locking the workstation:



Or by trying to switch the user:



Or after a Ctrl+Alt+Del:



PS. I need this to run on Windows XP and up.

EDIT: The only viable solution that I came up with so far is to see if LogonUI.exe process is running. The issue with this approach is how to distinguish between the actual system logon process and any other process that has that image name?

View complete forum thread with replies

Other posts related to LogonUI.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

How to tell that the logon screen is currently displayed?
Perl script to gather WMI data on screensaver usage
Changing other user's registry through batch files
LogonUI.exe process doesn't terminate after switching user

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.