WinXp Login from Service

I have created a service which I am running in windows XP and I want it to log me in with the hard coded credentials I have. Any ideas? I want the ability to login from my service not to remove passwords and have windows log me in.

LogonUser() will start a session for you on the host machine and you are free to hard code the username and password, it just won't be in session 0. Do you need this session to be visible to the user sitting at the keyboard?
this is exactly what I was looking for, thanks!
Topic archived. No new replies allowed.