提升流程/查询提升状态(LUA/UAC) [英] Elevating a process / querying elevation status (LUA/UAC)

查看:177
本文介绍了提升流程/查询提升状态(LUA/UAC)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将如何以编程方式提升流程(如立即提升"按钮)?另外,如何查询我的进程是否以完全特权运行?

how would I go about programmatically elevating my process (as in an 'elevate now' button)? Also, how would I query if my process is running with full privileges or not?

谢谢

Relja

推荐答案

烦人的事情是您无法以编程方式提升.如果已设置
启动的.exe的清单.

Ciao Hermann

The annoying thing is you can not programmatically elevate.
You have to start a process the the OS elevates for you if the manifest of
the started .exe is setup for.

Ciao Hermann


这篇关于提升流程/查询提升状态(LUA/UAC)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆