没有UAC提示的MFC应用程序实用程序 [英] A MFC application utility for no UAC prompting

查看:91
本文介绍了没有UAC提示的MFC应用程序实用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我手边有一个MFC应用程序实用程序。当我以标准用户身份登录域计算机时,尝试运行该实用程序,但它始终要求提升为"管理员用户"。运行或继续。如何在没有任何UAC提示的情况下为标准
用户构建MFC应用软件? 


我是否需要付费或发送给Microsoft才能获得认证?


对所有回复都赞不绝口。

解决方案


I手头有一个MFC应用程序实用程序。当我以标准用户身份登录域计算机时,尝试运行该实用程序,但它始终要求提升为"管理员用户"。运行或继续。如何在没有任何UAC提示的情况下为标准
用户构建MFC应用软件?



确保使用指定"asInvoker"的清单构建MFC应用程序。对于UAC级别。 请参阅

https:/ /docs.microsoft.com/en-us/cpp/build/reference/manifestuac-embeds-uac-information-in-manifest


I have a MFC application utility on hand. When I log in as a standard user to a domain computer, try to run the utility but it always asks to elevate to "administrator user" to run or continue. How can I build an MFC application software for standard users to use without any UAC prompting? 

Do I have to pay or send it to Microsoft to be certified?

Appriciate in adavance for all the replies.

解决方案

I have a MFC application utility on hand. When I log in as a standard user to a domain computer, try to run the utility but it always asks to elevate to "administrator user" to run or continue. How can I build an MFC application software for standard users to use without any UAC prompting?

Ensure that the MFC application is built with a manifest that specifies "asInvoker" for the UAC level.  See https://docs.microsoft.com/en-us/cpp/build/reference/manifestuac-embeds-uac-information-in-manifest


这篇关于没有UAC提示的MFC应用程序实用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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