http://msdn.microsoft.com/en-us/library/bb756929.aspx

可以在VS2008中设置当执行exe时弹出提升管理员权限对话框:
xx Property->Configuration Properties->Linker->Manifest File,把UAC Excecution Level 项设置为 requireAdministrator 即可。

更多请参考:http://subject.it168.com/article/articleview.aspx?id=734216

Value

Description

Comment

asInvoker

The application runs with the same access token as the parent process.

Recommended for standard user applications. Do refractoring with internal elevation points, as per the guidance provided earlier in this document.

highestAvailable

The application runs with the highest privileges the current user can obtain.

Recommended for mixed-mode applications. Plan to refractor the application in a future release.

requireAdministrator

The application runs only for administrators and requires that the application be launched with the full access token of an administrator.

Recommended for administrator only applications. Internal elevation points are not needed. The application is already running elevated.

最新文章

  1. jQuery源码解读-事件分析
  2. hdu1162(最小生成树 prim or kruscal)
  3. 【iCore3 双核心板_FPGA】实验十五:基于USART的ARM与FPGA通信实验
  4. Material Design入门(三)
  5. 如何自学java迅速成为java高手
  6. Django-RQ首页、文档和下载 - Django 和 RQ 集成 - 开源中国社区
  7. flex布局的使用,纪念第一次开发手机网站
  8. 剑指offer 25 二叉树中和为某一值的路径
  9. linux下的二进制文件的编辑和查看
  10. Docker容器监控(十)--技术流ken
  11. 获取mp3文件的采样率
  12. 【React】入门实例
  13. Django--ORM(模型层)--多表(重重点)
  14. java面试技巧
  15. java Concurrent包学习笔记(七):ConcurrentHashMap
  16. 不越狱安装破解软件,iResign重签名方法
  17. Python Django 前后端数据交互 之 前端向后端发送数据
  18. Django视图之URLconfs
  19. hadoop-2.7.1:Error: Cannot find configuration directory: /etc/hadoop
  20. Linux的磁盘分区(一)

热门文章

  1. odoo研究学习:刷新本地模块列表都干了什么事?
  2. Quartz.Net进阶之三:SimpleTrigger详述
  3. surf the internet scientifically
  4. [字符串]TrBBnsformBBtion
  5. How to configure Samba Server share on Debian 9 Stretch Linux
  6. [JAVA]JAVA章3 如何获取及查看DUMP文件
  7. 【转】机器学习在B2B的应用
  8. sock5客户端解密数据流
  9. handoop安装部署集群
  10. 跨域ajax问题