在Windows 7或Vista上始终以管理员模式启动应用程序

Many utilities need to be run as administrator in order to function properly, especially older utilities that haven’t been updated to support Windows 7 or Vista yet.

为了使它们正常运行,需要以管理员身份运行许多实用程序,尤其是尚未更新为支持Windows 7或Vista的较旧的实用程序。

All shortcuts in Windows since Vista have a special property that you can set that will allow the application to run as Administrator. This works perfectly for creating a batch file to restart a service, for instance.

自Vista以来,Windows中的所有快捷方式都有一个特殊的属性,您可以设置该属性,使该应用程序以管理员身份运行。 例如,这非常适合创建批处理文件以重新启动服务。

To set this property, just right-click on any shortcut, and click the Advanced button on the Shortcut page to get to the Advanced Properties dialog.

要设置此属性,只需右键单击任何快捷方式,然后单击“快捷方式”页面上的“高级”按钮即可进入“高级属性”对话框。

You’ll see a dialog with a checkbox for “Run as administrator”.

您会看到一个对话框,其中包含“以管理员身份运行”复选框。

From now on, the application will always run as administrator if you use the shortcut to launch it. (You’ll be prompted by UAC if you have it enabled).

从现在开始,如果您使用快捷方式启动应用程序,则该应用程序将始终以管理员身份运行。 (如果启用了UAC,则会提示您)。

翻译自: https://www.howtogeek.com/howto/windows-vista/always-start-an-application-in-administrator-mode-on-windows-vista/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值