Wednesday, October 12, 2016

Always Start Visual Studio as Administrator

I have had the need to start VS in admin mode.
I have modified the shortcut.  However this only works when you launch VS without specifying a solution file (.sln)

This little tip below allows VS to always launch in admin mode, even when opening a .sln file.

Right-click the VS shortcut.  Select Properties.
Click on Open File Location.  Windows explorer will open and devenv.exe will be highlighted.
Right-click devenv.exe and select "Troubleshoot compatibility".
1.    select "Troubleshoot program"
2.    check "The program requires additional permissions"
3.    click "Next"
4.    click "Test the program..."
5.    wait for the program to launch
6.    click "Next"
7.    select "Yes, save these settings for this program"
8.    click "Close"


No comments:

Post a Comment