[英]How to run C# application EXE with normal user account? I don't want to provide Admin user name and password when UAC is on
I am working on the C# application. 我正在研究C#应用程序。 I am logged in to my machine with normal user account who don't have admin rights and UAC is set to highest level (Always notify me). 我使用普通用户帐户登录我的计算机,该帐户没有管理员权限,UAC设置为最高级别(始终通知我)。 When I try to run the application it ask me admin user name and password.I don't want to turn off the UAC. 当我尝试运行应用程序时,它会询问管理员用户名和密码。我不想关闭UAC。 I have changed manifest file value to 我已将清单文件值更改为
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
or 要么
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
But that din't help me. 但那对我没有帮助。 How can I run my application without full admin rights user? 如何在没有完全管理权限的情况下运行我的应用程序? Any help on this is appreciated. 对此有任何帮助表示赞赏。
Thanks: Mayuresh 谢谢:Mayuresh
从项目 - >项目属性和应用程序选项卡,只需检查您的app.manifest文件是否在Icon and Manifest字段下被引用,因为它也可以嵌入。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.