I recently discovered that even while logged into my personal laptop as an administrator, Visual Studio does not run in administrator mode and you need to explicitly use Run As Administrator.
Is there a way to make it run as an administrator by default, other than creating a shortcut, etc.?
Open Visual Studio as Administratorfrom Properties window select Advanced… from Advanced Properties check on Run as Administrator option. select Ok in Advanced Properties window, Apply and then Ok on VS 2017 Properties.
It is necessary to have local PC Administrator privileges to develop ArcGIS custom applications using Visual Studio 2005 on the Windows Vista operating system.
Try the following steps on Windows 10:
Search for Visual Studio on the Start window and select "Open file location":
Select "Troubleshoot compatibility" :
Select "troubleshoot program":
Select "Yes, save these settings for this program"
Select "Close"
Once that is done, Visual Studio should be running as administrator.
Copied and pasted from here, the Using Advanced Properties section. This will allow you to always have the program run as an administrator when you open it.
Windows 7:
NOTE: If you are doing this is while logged in as standard user instead of an administrator, then you will need to provide the administrator's password before the program will run as administrator.
Update: (2015-07-05)
In Windows 8, you have to right-click devenv.exe and select "Troubleshoot compatibility".
Select "Troubleshoot program"
Check "The program requires additional permissions" click "Next", click "Test the program..."
Wait for the program to launch
Click "Next"
Select "Yes, save these settings for this program"
Click "Close"
Update reference original Link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With