01 September 2010

Run Visual Studio as Administrator

Visual Studio must be run as administrator if it is to work properly e.g. if you are using IIS to debug.
To ensure it always does:

Windows 8+
For the following files carry out the method below:
To open project and solution files as admin:
C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\vslauncher.exe

To open program itself (e.g. via shortcut)
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe

  1. Run Troubleshoot Compatibility
  2. Select manual Program compatibility
  3. The program requires additional privileges
  4. Test select ok

Windows Pre 8
  • Go to the program file at:
    C:\Program Files\Microsoft Visual Studio\Common7\IDE\devenv.exe
  • Right click on the file and select Properties/Compatibility tab
  • Optionally click on “Change settings for all users"
  • Select ‘Run this program as administrator’.

No comments:

Post a Comment