Re: Interacting with winlogon Desktop of Windows Vista



Hi

But these methods that Kellie wrote about, are NOT SUPPORTED in Vista
(refer to MSDN). They are parts of Winlogon functions provided for
Gina (Graphical Identification aNd Authentication) dlls that are not
supported in Vista. I think it's not possible to have a direct control
over the Winlogon desktops in Vista. So some undocummented ways may be
available. Could you ask MSFT?

Esmaeil

On Oct 12, 6:59 pm, Kellie Fitton <KELLIEFIT...@xxxxxxxxx> wrote:
On Oct 12, 12:05 am, anhvu200...@xxxxxxxxx wrote:



Hi everybody,

Now I'm writing a software which interacts with winlogon Desktop of
Vista. I want to control winlogon desktop such as show a message box,
draw a icon on winlogon desktop...
But when I opendesktop(), I always meet a message: "Access is
denied."

hDesktop = OpenDesktop(
TEXT("Winlogon"),
0,
FALSE,
DESKTOP_CREATEMENU |
DESKTOP_CREATEWINDOW |
DESKTOP_ENUMERATE |
DESKTOP_HOOKCONTROL |
DESKTOP_JOURNALPLAYBACK |
DESKTOP_JOURNALRECORD |
DESKTOP_READOBJECTS |
DESKTOP_SWITCHDESKTOP |
DESKTOP_WRITEOBJECTS |
READ_CONTROL |
WRITE_DAC |
WRITE_OWNER );

I make a windows service to run my program when logon. I don't know
why it show error "Access is denied."

If you know that, please show me. Thank you very much

Hi,

Winlogon creates three desktops: a user desktop, a system desktop,
and a screen saver desktop. However, an interactively logged-on user
will have read access to the system desktop and full access to the
user desktop. Nonetheless, you can use the following APIs to create
alternate application desktops for the user:

WlxInitialize()

WlxCreateUserDesktop()

WlxSwitchDesktopToUser()

WlxSwitchDesktopToWinlogon()

WlxCloseUserDesktop()

http://msdn2.microsoft.com/en-us/library/aa380567.aspx

http://msdn2.microsoft.com/en-us/library/aa380553.aspx

http://msdn2.microsoft.com/en-us/library/aa381005.aspx

http://msdn2.microsoft.com/en-us/library/aa381074.aspx

http://msdn2.microsoft.com/en-us/library/aa380552.aspx

Kellie.


.



Relevant Pages

  • Re: Network access from Gina
    ... WlxSwitchDesktopToUser() ... a user desktop, a system desktop, ... the following weblinks will help you out with Winlogon & GINA: ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Interacting with winlogon Desktop of Windows Vista
    ... not finding in the appropriate topics, use the feedback link on the page (see ... But these methods that Kellie wrote about, are NOT SUPPORTED in Vista ... over the Winlogon desktops in Vista. ... a user desktop, a system desktop, ...
    (microsoft.public.platformsdk.security)
  • Re: Services - Winlogon and Default Desktop
    ... (used by the winlogon to display the login UI), and a screensaver desktop. ... little bit in Vista but since we are talking about XPe it doesn't really matter here. ... communicate between all its instances (there is an API that allows to cross the user account and Desktop boundaries). ... Please take a look at the Windows Station and Desktop API: http://msdn2.microsoft.com/en-us/library/ms687107.aspx ...
    (microsoft.public.windowsxp.embedded)
  • Re: Logon Problem with Vista Client
    ... I've got a serious problem with a Vista client. ... There are no errors in Vista's eventvwr, but two warnings: The winlogon ... notification subscriber is taking long time to handle the ... The server is a SBS 2003 R2 with the latest patches (inkl. ...
    (microsoft.public.windows.server.sbs)
  • Re: Logon Problem with Vista Client
    ... I've got a serious problem with a Vista client. ... There are no errors in Vista's eventvwr, but two warnings: The winlogon ... notification subscriber is taking long time to handle the ... The server is a SBS 2003 R2 with the latest patches (inkl. ...
    (microsoft.public.windows.server.sbs)