Click here to Skip to main content
15,911,035 members

Comments by JustForWords (Top 5 by date)

JustForWords 15-Apr-11 4:45am View    
Change the user name. (:
Ultimate goal is that the process will do a operation register user information to system.
If want to let the operation success and correct, process need to run as the user who you want to register. And the process is run when windows logon, it may the most hard crux.
JustForWords 15-Apr-11 3:28am View    
I think the suggestion is helpful for me. THX.
And do you know how to use CreateProcessAsUser in service, and show process interface in current desktop?
I have a way what done at XP, but failed on win7. Service can start a process but will be show on session 0.
These two days I did research about this.
JustForWords 15-Apr-11 3:19am View    
THX SAKryukov for your help. Sorry for reply late. I had try a solution that start an APP in service. But there are some problem.
So I will describe my goal clearly.
I had a process that want to start after user select the user to log on(but don't login).If you know that in windows vista we can make a COM dll to control the logon operation inherit from ICredentialProvider. The dll may be invoked by winlogon.exe, and run as system.
But the process I want to start must start as a user who I want to logon. I had try to use CreateProcessAsUser in DLL, but unfortunately, had not realized yet, also CreateProcessWithLogon will return a error (It can be success after login, and started in a test APP).
These is my status now.
Oh, and the "weapons" is very powerful, I can do a lot research.
JustForWords 12-Apr-11 4:34am View    
Thanks a lot. It must be helpful for me. I will try.
JustForWords 12-Apr-11 3:42am View    
Thanks for your response. But how can I stop user's operation, such as CTRL+ALT+DELETE, Or if want to rollback to the LogonUI. I think it may not correspond to my function. And could you provide some useful links about you "weapon"?
THX.