Is it possible to start a process with uiAccess=true from another process with uiAccess=true

别来无恙 提交于 2019-12-06 14:43:51

问题


A process is already running that has uiAccess=true in it's manifest. Is it possible for this program to start another such process with uiAccess=true? Currently, whenever Process.Start is called for the second process a Win32Exception is thrown with message:

The requested operation requires elevation

Running the first process as Administrator stops the failure however this is not an option for me.

I know it is possible to do this from a service using SetTokenInformation etc. (and I'm already doing this) but that's as user Local System so I'm presuming is not reusable.

来源:https://stackoverflow.com/questions/52731727/is-it-possible-to-start-a-process-with-uiaccess-true-from-another-process-with-u

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!