Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what features or tasks in Visual Studio require administrative permissions?

There is a debate going in our department to remove local admin rights to the development workstations we use. I believe this will cause problems for the developers when trying to debug or run other tasks in Visual Studio but I can't put my finger on any one thing to support my argument.

What features or tasks require Visual Studio to run under a local admin account?

What do you think?

like image 887
RJ. Avatar asked Sep 29 '10 15:09

RJ.


People also ask

Does Visual Studio require admin rights?

Without Administrative permissions Visual Studio is not able to write to the hard drive outside of your specific user account privileges. This severely limits what can be done to build custom ArcGIS based applications.

How do I give administrator permission in Visual Studio?

On the Windows desktop, right-click the Visual Studio shortcut, and then select Properties. Select the Advanced button, and then select the Run as administrator check box. Select OK, and then select OK again.

Can you force Visual Studio to always run as an administrator in Windows 10?

Open Visual Studio as Administratorfrom Properties window select Advanced… from Advanced Properties check on Run as Administrator option. select Ok in Advanced Properties window, Apply and then Ok on VS 2017 Properties.


2 Answers

Visual Studio is designed to run in an environment without the need for administrative permissions. In general it does a good job at this and really only requires admin permissions when forced by the underlying operating system. Here are the few places I'm aware of that require this out of the box

  • Registering a COM component as a part of an F5
  • Debugging certain web project deployments on an IIS server
  • Attaching the debugger to processes running as Admin or other users

I'm sure there are a few more but these are the ones that come to mind. Note many of these can be worked around by making the scenario more limited user aware.

like image 114
JaredPar Avatar answered Oct 04 '22 00:10

JaredPar


Development (= creation & debugging) of:

  • Windows services
  • A website in IIS (you can use the Development server, but its not the same)
  • Installation (MSI) packages
  • (Hardware-) drivers
  • Other system hooks
like image 41
GvS Avatar answered Oct 03 '22 22:10

GvS