System.Diagnostics.Process.Start() cannot start process when called from Windows service

后端 未结 4 1667
迷失自我
迷失自我 2021-01-06 08:56

I am trying to start an external process from a .NET Windows service. In the past I have used the Process.Start() overload that takes the executable path and a

4条回答
  •  -上瘾入骨i
    2021-01-06 09:22

    Maybe the user has to have, "logon as a service" security right. This is done with the "local security policy" application. And/or "logon as a batch job".

提交回复
热议问题