且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

默认情况下如何以管理员身份运行 Visual Studio?

更新时间:2023-02-07 17:30:01

复制粘贴自 此处使用高级属性部分.这将允许您在打开程序时始终以管理员身份运行该程序.

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. 点击确定.
  5. 打开程序.
  6. 如果 UAC 提示,则单击是"以应用权限以允许程序以管理员身份以完全权限运行.

注意:如果您是在以标准用户而不是管理员身份登录时执行此操作,则您需要在程序以管理员身份运行之前提供管理员密码.

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-07-05)

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"

点击关闭"

更新参考原文 链接