post  how to run service before login

alexprg1920 (19)   Link to this post
hello! i need my service to be runned before user login. how to do it?
help
punky (2)   Link to this post
http://support.microsoft.com/kb/q179365/
alexprg1920 (19)   Link to this post
tanks a lot, but i have some problems.
may be, in xp i need to do other actions?
alexprg1920 (19)   Link to this post
I cann't find how to run it before user login in windows xp :(
hint, please
kbw (1501)   Link to this post
Make it auto start.
alexprg1920 (19)   Link to this post
Ok, thanks, kbw!
And now the most important part)
I need to login from this service...
Explanation
I have hook-function.
I need, when i pressed some combination of keys, to login.
F. E.
string login="...";
string password="...";
when i press ctrl+alt+L i want my program to try to login
using these parameters.

Need help, advise or link...
kbw (1501)   Link to this post
No, a service can run under the local system account.
alexprg1920 (19)   Link to this post
Hm... So, there is no way to do this?...
I mean, i need to control logining
Kiana (72)   Link to this post
Haha, I guess you could use SetWindowText to set the text of the username & password boxes, then send a BN_CLICK message with SendMessage to the Login button. (or send a VK_RETURN keydown message to either textbox)
Last edited on
alexprg1920 (19)   Link to this post
Oh, i've got you! rather interesting!
but can you explain more a bit?
F.E. SetWindowText... For what window? I mean, name of it. And hwnd must be NULL or not?
And smth like that

This topic is archived - New replies not allowed.