Recently discovered that even while logged into my personal laptop as Admin, Visual Studio does not run in admin mode and you need to explicitly use Run As Admin
Is there a way to Make it run as Admin by default other than creating a shortcut etc. ?
On windows 10:
select "Yes, save these settings for this program"
Select "Close"
Once that is done, Visual studio should be running as administrator.
Windows 10
@Kumar
"W7 prompts everytime to run this program "devenv.exe" , anyway to get rid of that ?"
Yes. You can prevent Windows from prompting you by going to Control Panel/User Accounts/Change User Account Control settings and move the slider down.
Right-click the icon, then click Properties. In the properties window, go to the Compatibility tab. There should be a checkbox labeled "Run this program as an administrator." Check that, then click OK. The next time you run the application from that shortcut, it will automatically run as the admin.
One time fix :
Applying this change will make it so that when you double click on a
.sln
file Visual Studio will not open. Also, you will not be able to drag and drop files into Visual Studio.Follow the numbered instructions for each file in the bullited list. The paths are for a standard 64-bit install so you may have to adjust them for your system.
C:\Program Files (x86)\Common Files\microsoft shared\MSEnv\VSLauncher.exe
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe
Properties
Compatibility
tabChange settings for all users
Run this program as an administrator