Install Visual Studio 2010 Without Admin Rights

  1. How To Install Visual Studio 2010 On Windows 8 1
  2. How To Install Visual Studio 2010 Ultimate
  3. Install Visual Studio 2010 On Windows 10
  4. How To Install Visual Studio 2010 From Iso File
  5. Visual Studio Local Admin Rights
  6. Install Visual Studio 2010 Without Admin Rights Free
Active4 years, 11 months ago

Always start Visual Studio as an Administrator. Use VSCommands extension for Visual Studio. Install the free VSCommands. Visual Studio 2010 SP1 allows IIS Express used as the. IIS Express Overview; Article IIS Express. Visual Studio and.NET Framework Home. Allow installation of Silverlight without admin. 2010 and lower plug-ins in Visual Studio. Running Visual Studio and IIS without Administrator rights on Windows. How do large companies handle software updates for users without administrative rights? 'run with administrative privileges' always asks for hostname. Running Visual Studio 2010 in a University Campus. Running an administrative program under user account.

I find it hard to believe that Microsoft didn't forsee a possibility where a company would need a developer to be able to use IIS and Visual Studio with full rights but NOT want to just haphazardly grant full administrative rights on the whole machine to the employee! Am I missing something here? I need them to be able to code and test locally without constantly running into those 'You must have administrator rights' popups, but I don't want them to have access to change the password for the company administrator on the machine or be downloading files that aren't approved! Is there something that can be done here??

Everything that I've read has talked about how to get the popup to stop showing, but it always assumes that you ARE the administrator. Can't we somehow save the 'administrative rights' on those two things and just let them run normally? Or heck, even set the employee up as a pseudo-Administrator where the only limitations are that they cannot change other user's passwords or install unapproved software?? This is SO inconvenient!

We are using Windows 8.1

user2480201
user2480201user2480201

1 Answer

Is it possible to install and run it in a virtual box?

This would allow you to give the user local admin rights and contain the entire VM in it's own environment...

Marc EverloveMarc Everlove

Not the answer you're looking for? Browse other questions tagged iispermissionsuacwindows-8.1visual-studio or ask your own question.

Versions: 2005,2008,2010
Published: 12/3/2010
Code: vstipEnv0056

Install Visual Studio 2010 Without Admin Rights

There seems to be a popular misconception that you need to have Administrator privileges to use Visual Studio. While this is true in some cases it isn't true in all of them. So when do you need to run Visual Studio as an administrator and when don't you? Here is some guidance:

Installing Visual Studio (All Versions)

You need Administrator rights to install Visual Studio.

Running Visual Studio 2005

To run VS2005 on Windows Vista or later you will be prompted to run as Administrator when you start the application. This version of Visual Studio requires that you use Administrative rights to use it.

Specific Scenarios for Visual Studio 2008/2010

How To Install Visual Studio 2010 On Windows 8 1

Web / Internet Information Services

Creating a new local or remote IIS Web site project - You cannot make changes to the Internet Information Services (IIS) metabase (for example, creating new entries) because it requires administrative privileges. This affects your ability to configure some settings in the Web.config file.

Opening a local or remote IIS Web site project - You cannot run your Web site unless you use the ASP.NET Development Server, which is the default Web server for file-system Web sites. Alternatively, you can set project options to open the browser and point to the Web site using IIS.

Rights

Debugging a local or remote IIS Web site project - You cannot attach to a process that is running under the IIS worker process because it requires administrative privileges.

More information can be found here: http://msdn.microsoft.com/en-us/library/ms178112(v=VS.90).aspx

Windows Installer Deployment

Windows Installer technology supports software installation on the Windows Vista (or later) operating system. The end user installing applications on Windows Vista should receive prompts only for each component installation that requires elevation, even when the user's computer runs under User Account Control (UAC).

More information can be found here: http://msdn.microsoft.com/en-us/library/Bb384154(v=VS.100).aspx

Click-Once Deployment

Windows Installer deployment requires administrative permissions and allows only limited user installation; ClickOnce deployment enables non-administrative users to install and grants only those Code Access Security permissions necessary for the application.

More information can be found here: http://msdn.microsoft.com/en-us/library/t71a733d.aspx

Code

Some code requires Administrator access in order to execute. If possible, alternatives to this code should be pursued. Examples of code operations that require Administrator access are:

  • Writing to protected areas of the file system, such as the Windows or Program Files directories
  • Writing to protected areas of the registry, such as HKEY_LOCAL_MACHINE

  • Installing assemblies in the Global Assembly Cache (GAC)

Generally, these actions should be limited to application installation programs. This allows users to use administrator status only temporarily.

More information can be found here: http://msdn.microsoft.com/en-us/library/ms173360(v=VS.100).aspx

How To Install Visual Studio 2010 Ultimate

Debugging

According to the documentation, '[y]ou can debug any applications that you launch within Visual Studio (native and unmanaged) as a non-administrator by becoming part of the Debugging Group. This includes the ability to attach to a running application using the Attach to Process command. However, it is necessary to be part of the Administrator Group in order to debug native or managed applications that were launched by a different user.'

More information can be found here: http://msdn.microsoft.com/en-us/library/ms173360(v=VS.100).aspx

COM / COM Interop

Install Visual Studio 2010 On Windows 10

Classic COM

How To Install Visual Studio 2010 From Iso File

  • When you add a classic COM control, such as an .ocx control, to the Toolbox, Visual Studio tries to register the control. You must have administrator credentials to register the control.
  • Add-ins written by using classic COM have to be registered to work in Visual Studio. You must have administrator credentials to register the control.

COM Interop

Visual Studio Local Admin Rights

When you build managed components, and you have selected 'Register for COM Interop' the managed assemblies have to be registered. You must have administrator credentials to register the assemblies.

Install Visual Studio 2010 Without Admin Rights Free

More information can be found here: http://msdn.microsoft.com/en-us/library/ms165100(v=VS.90).aspx