I have created a Credential Launcher for Windows 7 and was able to run Windows application after the Tile button click event, it was very easy.
I added a few registry settings and *pbAutoLogon = FALSE;.
However now i am now trying to do the same for Windows XP.
Which function I should target or how to achieve the same results ?
I see you tagged your question with "Gina", so I guess you know that Credential Providers do not exist on XP.
Your answer depends on when exactly you want to run that program, especially with regards to the secure attention sequence (SAS, or when a user press CTRL-ALT-Delete)
WlxDisplaySASNoticeWlxLoggedOutSASSince you don't want to write a whole GINA yourself, you could use a custom Gina that wraps
msgina.dll. Here is one I wrote, you can find the original I started from in the Platform SDK.Using that approch, you get a chance to execute code just before or just after certain events, like running your program after a successful logon, something like :
There are some caveats, though :
Winlogonwill wait, but your users might not. Spanw a process and let it run.SYSTEMprivileges, which is a security risk. Sandboxing your process could be hard. If you can't break out of it, don't assume nobody can...