2

Is it possible to a display dialog window from a windows service over the logon screen of Windows 7 (when no user is logged in yet) ?

I found this article explaining how to display a window on a logged in user desktop but how to do it when there is no user logged in ?

I was thinking about trying to automatically log in a user then display the window on his desktop but is it possible to display it directly over the logon screen ?

Catalin DICU
  • 4,610
  • 5
  • 34
  • 47

2 Answers2

1

GINA was replaced by Windows Vista Credential Provider.

One of the samples (SampleHardwareEventCredentialProvider) does exactly what I want: display a window over the Logon UI and works with Windows 7.

Catalin DICU
  • 4,610
  • 5
  • 34
  • 47
0

Out of the box there is not an easy way to do this, I'm sure with some really convoluted PInvoke you might be able to accomplish something, but in all reality, I'd look at your system in general, showing dialogs from a Windows Service to a user is typically frowned upon.

Mitchel Sellers
  • 62,228
  • 14
  • 110
  • 173