9

Does anyone know if you can do this by default rather than having to use context menu?

abarr
  • 1,140
  • 3
  • 13
  • 28

4 Answers4

19

Yes, right click on your visual studio.exe -> property, go to 'Compatibility' tab, check "Run this program as administrator", click ok to save.

Detailed step by step guide here.

bla
  • 5,350
  • 3
  • 25
  • 26
1

Create a shortcut, go to its' Properties, click Compatibility tab, under Privilege Level, check 'Run this program as an Administrator'.
Now, everytime you double click the shortuct, it'll run as an Admin.

eych
  • 1,262
  • 2
  • 16
  • 37
0

VS itself does not provide this option, but you can modify the respective shortcut to always run the program as a certain user.

Thomas

Thomas Weller
  • 11,631
  • 3
  • 26
  • 34
0

No doubt there is. There are also ways you can run all your programs as root under Linux. I still wouldn't actually do that since it's a bad idea. The first dodgy plug-in you install will zombify your system.

paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953