开发者

Run app from a service using CreateProcessAsUser

开发者 https://www.devze.com 2023-01-06 00:09 出处:网络
I\'m still trying to run an app calling it 开发者_如何学Cfrom windows service. I tried to use the way described by Scott Allen. It works. But still I can\'t bring the app to the screen to interact wit

I'm still trying to run an app calling it 开发者_如何学Cfrom windows service. I tried to use the way described by Scott Allen. It works. But still I can't bring the app to the screen to interact with it. Help me pls.

Even if I'm telling it to run the service using my credentials it doesn't bring the app on my desktop. tell me please how to get the current logged user's desktop token and run the app on that desktop.


Are you setting STARTUPINFO.lpDesktop to something like "winsta0\default" ?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号