How to Run Visual Studio as Administrator by defau

2019-01-03 04:07发布

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

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

14条回答
走好不送
2楼-- · 2019-01-03 04:29

I have always done it by creating a shortcut, which is not really much of a problem. I believe there is no way of doing it otherwise.

查看更多
小情绪 Triste *
3楼-- · 2019-01-03 04:31

Follow these simple steps:

  1. Right Click on "devenv.exe"
  2. Click "Troubleshoot compatibility"
  3. Click "Troubleshoot program" Check "The program requires additional permissions"
  4. Click "Next"
  5. Click "Test the program...". It should launch Visual Studio as Administrator
  6. Click "Next"
  7. Click "Yes, save these settings for this program"
  8. Click "Close the troubleshooter"
  9. Now the Visual Studio will always run as Administrator.
查看更多
等我变得足够好
4楼-- · 2019-01-03 04:32

I found an easy way to run Visual Studio as administrator. I did it in windows 10 but I believe it would work on any windows.

  1. Go to Start Menu
  2. Search Visual Studio
  3. Right Click on Visual Studio
  4. Run As administrator

enter image description here

查看更多
一夜七次
5楼-- · 2019-01-03 04:34

Right click on the application, Props -> Compatibility -> Check the Run the program as administrator

查看更多
成全新的幸福
6楼-- · 2019-01-03 04:35

For Windows 8

  1. right click on the shortcut
  2. click on properties
  3. click on the "Shortcut" tab
  4. click on Advanced

You will find Run As administrator (Checkbox)

查看更多
ゆ 、 Hurt°
7楼-- · 2019-01-03 04:38

Right click on icon --> Properties --> Advanced --> Check checkbox run as Administrator and everytime it will open under Admin Mode (Same for Windows 8)

查看更多
登录 后发表回答