Re: Rendewring a window on top of a screen saver



Well, some more testing revealed that if you're running under the local
system account, it's possible to display a window on the Winlogon desktop,
but not on the Screen-saver desktop. Since it's probably impossible to
impersonate the local system account in this case, I'm going to write a
"window creation" Windows Service, run it under the local system account and
call the service from the process running with the ordinary user's
credentials. Writing a GINA stub should also work, but I think it's more
convenient to install, manage and communicate with a service than a GINA. On
the other hand, the service has to do some periodic checking for the screen
saver, since it probably can't receive a notification when the screen saver
starts.

"Rhett Gong [MSFT]" <v-raygon@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:OeOErUAPFHA.920@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi Vipin,
> Yes, I ever wrote a program to play some interesting things when the gina
> is loaded by winlogon. ;)
>
> Seems you mean to interact with scrnsaver in WlxScreenSaverNotify, right?
> AFAIK the desktop is the Winlogon desktop at this point, there is no way,
> AFAIK, for us to set our process/thread 's desktop to screensaver desktop
> there. Maybe we can create our own desktop, SwitchDesktop and then bring
> out the selected scr there. I have not tried it before. Have you ever done
> something similar before?
>
> best regards,
> Rhett Gong [MSFT]
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
>
> This posting is provided "AS IS" with no warranties and confers no rights.
>


.