Always run VS2008 as an administrator on Vista
As you might know, it's required to run Visual Studio as an administrator on Windows Vista to get everything working as expected. For example you won't be able to debug a web application when running Visual Studio as a non-administrator. There are a lot of other things that simply won't work as a non-administrator.
Apparently a lot of people don't know that you can set the option on a shortcut to always run as an administrator. Very useful if you forget to right-click -> Run as administrator from time to time!
What to do :
Apparently a lot of people don't know that you can set the option on a shortcut to always run as an administrator. Very useful if you forget to right-click -> Run as administrator from time to time!
What to do :
- Right-click your Visual Studio shortcut and select properties
- Click on the advanced button
- Check the Run as administrator checkbox
Labels: Visual Studio
3 Comments:
At 2:23 AM, Anonymous said…
Debugging Web Applications with VS2008 as a non-Administrator works fine if you use the VS Web Development Server (aka Cassini) instead of IIS.
Our team has been doing all WinForms, WebApps, and WCF development with VS2005 and VS2008 as a non-admin in XP and Vista for the past 18 months with no problems.
Stop perpetuating the Admin-required cycle.
At 12:02 PM, Pieter said…
Jason,
you are right about Visual Studio 2008. You can indeed debug web applications as a non-administrator in VS2008. I just did the test, but it doesn't work out-of-the-box in VS2005 if you are not running as an administrator - I also did the test ...
I refer to the link on MSDN : http://msdn2.microsoft.com/en-us/vs2005/aa972193.aspx.
Microsoft recommends that when using Visual Studio 2005, you do the following ...
- Run Visual Studio with elevated administrator permissions
-Be a member of the "Administrators" group on the local machine
-Right-click the Visual Studio icon and select the "Run as administrator" option from the context menu
Apparently some improvements have been made for VS2008 ...
At 6:32 PM, ASP.NET Solution said…
Here is a link that provides a good explanation of make the visual studio always run as administrator.
http://www.a2zmenu.com/Miscellaneous/Visual-Studio-Always-Run-As-Administrator.aspx
Post a Comment
<< Home