Windows XP launch visible program before logon
Posted on 2009-04-10
Hello Experts -
I looking for general guidance here as well as whatever other help anyone can supply, I'm going to supply probably more information than you want because I'm not sure what exactly is significant:
I have written two programs in vb.net, a monitoring process which looks for a cookie and an interactive keyboard which the monitoring process launches when it detects the cookie. The process works fine on XP when the monitoring program is running - for instance, if I drop the monitoring program in startup for all users.
However, the box on which I need to run this setup normally does not logon - it start services which (I'm guessing) launch the interactive programs, which is some sort of program hosting an embedded explorer window. If I start task manager i can see the logon window process "waiting" as well as other programs under the System User.
I would like to launch the monitoring process as a service as well, and have it display my interactive keyboard in the viewable "instance", or viewport, or whatever that the explorer type program is in... but I can't figure out what that might be since nobody is logged in.
Am I on the right track trying to do this as a service? I have written services before but haven't dealt with this type of scenario. I have been messing around with CreateProcessAsUser but there seems to be the need for a logged on user for this to work? I have researched this somewhat but am in a little over my head here.
Thanks for any help and your patience with my explanation. I will supply any particulars that might be useful.