Running Visual Studio 2010 as Administrator

If you are using Windows 7 or Windows Server 2008 and you try to create a project once Visual Studio has been opened you may receive the following message:

This task requires the application to have elevated permissions

image

If this occurs you have two options:

Right-click on the Visual Studio 2010 Shortcut

Hold down the SHIFT key and right click the shortcut:

image

Select Run as administrator and when you try to create project it will work.   The downside of this approach is that you have to do this every time you want to run Visual Studio.

Set the Visual Studio Shortcut Properties to Run As Administrator

Hold down the SHIFT key and right click the shortcut:

image 

Select properties and then click on the  Compatibility tab.  In the Privilege level section select the Run this program as an administrator check box.

image 

Click Apply and when you double click the shortcut next time the program will run with Administrative privileges.   However, you will receive a User Account Control notification when the program is run:

image

Troy

This entry was posted in .net, IT, Microsoft, Visual Studio by Troy. Bookmark the permalink.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>