Create a Windows Session from a service via the Win32 API

后端 未结 4 511
情深已故
情深已故 2021-01-01 03:40

I have a windows service that can create an executable in the users windows session, via calling the \"CreateProcessAsUser\" function. This works fine as long as there is a

4条回答
  •  天涯浪人
    2021-01-01 04:05

    You cannot create a new session from a service. Sessions are managed by the OS. New ones get created when users logon interactively.

提交回复
热议问题