以管理员身份运行应用程序 [英] Run Application as Administrator

查看:118
本文介绍了以管理员身份运行应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可能是在错误的类别下问这个问题,但是我对在Windows 7 Enterprise中以管理员身份运行应用程序有疑问.

I am probably asking this under the wrong catagory, but I have a questions about running an application as an administrator in Windows 7 Enterprise.

我目前正在为我工​​作的企业从事一些工作,而我无法弄清他们的要求之一.他们希望能够采用我们编写的应用程序,其中大多数将需要管理员权限,并在没有用户的情况下启动它们 必须在UAC提示符下输入贷方.是否可以使用AppLocker或其他技术来允许应用程序以管理员身份运行而无需输入管理员用户名和密码?

I am currently working on some stuff for the enterprise I work for and one of their requests I cannot figure out. They want to be able to take applications that we write, which most of them will require admin rights, and have them launch without the user having to enter creditials at the UAC prompt. Is there a way, using AppLocker or some other technology to allow an application to run as an administrator without having to enter the administrator username and password?

基本上,我需要使用标准用户帐户的管理员权限启动的应用程序.可以使用签名证书或应用程序路径或其他方式完成此操作吗?

Basically I need an application to launch with administrator rights from a standard user account. Can this be done using a signing certificate or application path or some other way?

推荐答案

无法解决UAC问题.如果您希望运行从标准用户的上下文中提升的内容,则需要输入管理员的凭据.我不 认为此行为是新的,与旧版Windows保持相同.

It is not possible to work UAC around. You will need to enter administrator's credentials if you wish to run anything elevated from a standard user's context. I don’t think this behavior is new, it stays same from legacy version of Windows.

您可能想编写Windows Service并将其配置为任何您想要的帐户,服务不会在每次运行时提示您输入凭据.


这篇关于以管理员身份运行应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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