22

What is the difference between using Visual Studio 2012 "Run as Administrator" mode and otherwise? Why do developers prefer using VS in administrator mode? What are the advantages/privileges that one gets? I may be naive enough to ask this one but I am just curious. Thanks.

Aritra B
  • 1,726
  • 6
  • 29
  • 45
  • The only thing that I ever needed administrator privileges in VS for would be the Azure simulator, but [Stijn's answer](http://stackoverflow.com/a/20261828/73070) lists a lot more things. But few of these are typical, depending on what you do. – Joey Nov 28 '13 at 09:09

2 Answers2

29

From MSDN: User Permissions and Visual Studio

You can do nearly everything in the Visual Studio IDE as a normal user, but, you need administrator permissions to complete the following tasks:

Joey
  • 344,408
  • 85
  • 689
  • 683
user247702
  • 23,641
  • 15
  • 110
  • 157
  • 2
    I took the liberty of migrating the links too. – Joey Nov 28 '13 at 09:16
  • @aritra I wouldn't know, I have UAC disabled and don't need to do most of these tasks, but I assume the list is correct. If you find it isn't, please let us know :) – user247702 Nov 28 '13 at 09:29
  • @Stijn Yes I am also not aware if all these tasks require VS to run on admin mode, its just that i was curious abt this one "Adding classic COM controls to the Toolbox." – Aritra B Nov 28 '13 at 09:41
0

Windows Vista introduced User Account Control which means that you are running all programs as a standard user even if you are an admin. There are certain things that you in VS that requires you to be running as an admin, not a standard user. For example running Windows Azure emulators, asp.net dev server, etc.

You can run VS as a standard user but sooner or later you will run into issues.

Ola Ekdahl
  • 1,484
  • 1
  • 11
  • 21