Process.Start with different credentials with UAC on

后端 未结 4 1589
滥情空心
滥情空心 2020-12-02 23:54

I am trying to start another process with Process.Start running under different credentials with the UAC turned on. I get the following error:

System

4条回答
  •  一生所求
    2020-12-03 00:50

    Try adding manifest file for that other process that you want to start. Windows will analyze manifest file and present you with UAC dialog before process start.

    Here is the info how to embed manifest file link1 and link2

    HTH

提交回复
热议问题