Start Process with administrator right in C#

后端 未结 5 1048
醉酒成梦
醉酒成梦 2020-12-06 07:04

I have to start a command line program with System.Diagnostics.Process.Start() and run it as Administrator.

This action will also be run by a Scheduled Task every da

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-06 07:53

    I found it, I need to set the Scheduled Task to run the application with highest privileges in General settings.

提交回复
热议问题