如何运行Visual Studio作为管理员默认 [英] How to Run Visual Studio as Administrator by default

查看:1693
本文介绍了如何运行Visual Studio作为管理员默认的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

近日发现,即使在登录到我的个人笔记本电脑的管理员时,Visual Studio不会在管理员模式下运行,你需要明确使用运行方式管理

Recently discovered that even while logged into my personal laptop as Admin, Visual Studio does not run in admin mode and you need to explicitly use Run As Admin

有没有一种方法,使之作为默认为admin不是创建一个快捷方式等其他运行?

Is there a way to Make it run as Admin by default other than creating a shortcut etc. ?

推荐答案

复制和这里粘贴,则使用高级属性部分。这将允许你总是有程序运行的,当你打开它的管理员。

Copied and pasted from here, the Using Advanced Properties section. This will allow you to always have the program run as an administrator when you open it.

Windows 7的:

  1. 右键单击该程序的快捷方式,然后单击属性。
  2. 单击一个程序快捷方式的快捷方式选项卡,然后单击高级按钮。
  3. 勾选以管理员身份运行,然后点击确定。
  4. 单击OK(确定)。
  5. 打开的程序。
  6. 如果通过UAC提示,然后单击Yes(是)申请许可允许程序具有完全权限以管理员身份运行。

请注意:如果你是做这个的同时登录为标准用户而不是管理员,那么你将需要提供管理员的密码,然后程序会以管理员身份运行

NOTE: If you are doing this is while logged in as standard user instead of an administrator, then you will need to provide the administrator's password before the program will run as administrator.

更新:(2015年7月5日)

Update : (2015-07-05)

在Windows 8中,你必须用鼠标右键单击devenv.exe的并选择疑难解答兼容性。

In Windows 8, you have to right-click devenv.exe and select "Troubleshoot compatibility".

  1. 选择疑难解答程序

  1. select "Troubleshoot program"

检查的程序需要额外的权限 点击下一步,然后单击测试程序...

check "The program requires additional permissions" click "Next", click "Test the program..."

等待程序启动

点击下一步

选择是的,保存这些设置对这一计划

select "Yes, save these settings for this program"

点击关闭

更新Refrence原单<一href="http://stackoverflow.com/questions/12257110/can-you-force-visual-studio-to-always-run-as-an-administrator-in-windows-8">Link

Update Refrence orginal Link

这篇关于如何运行Visual Studio作为管理员默认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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