Launching a process in user’s session from a service

后端 未结 5 1705
一个人的身影
一个人的身影 2020-11-28 08:07

In Windows Vista/7/2008/2008R2, is it at all possible to launch a process in a user\'s session from a service? Specifically, the local session would be most useful.

5条回答
  •  迷失自我
    2020-11-28 08:12

    Yes, using CreateProcessAsUser you can do this. MSDN has sample articles, and there are some caveats.

提交回复
热议问题