How To Launch Visual Studio Always In Administrator Mode

For developing Windows Azure applications using Visual Studio 2010 you should launch Visual Studio 2010 with administrative privileges.  Otherwise you will be greeted with following error message when you try run an Azure application

The Windows Azure compute emulator must be run elevated. Please restart Visual Studio in elevated administrator mode in order to run the project.

To launch Visual Studio always in elevated/administrative mode follow these steps

Step 1: Right click on Visual Studio shortcut on your desktop or on the link available in Start Menu -> Program Files

Step 2: Select Properties from the right click menu. Opens Properties window

Step 3: Switch to Compatibility tab and select the option “Run this program as an administrator

always_launch_visual_studio_in_admin_mode

Step 4: Click on OK. That’s all. From now onwards Visual Studio will be always launched in administrator mode.

1 thought on “How To Launch Visual Studio Always In Administrator Mode”

Leave a Comment

Your email address will not be published. Required fields are marked *