Visual C# (.NET)

How to Always Run Visual Studio as Administrator by default

Windows 7:

  1. Right click on the shortcut of the program, then click on Properties.
  2. Click on the Shortcut tab for a program shortcut, then click on the Advanced button.
  3. Check the ‘Run as administrator’ box, and click on OK.
  4. Click on OK.
  5. Open the program.
  6. If prompted by UAC, then click on Yes to apply permission to allow the program to run with full permission as an Administrator.

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.

Windows 8, 8.1 and 10:

In Windows 8, 8.1 and 10, you have to right-click devenv.exe and select “Troubleshoot Compatibility”.

  1. Select “Troubleshoot program”.
  2. Check “The program requires additional permissions” click “Next”, click “Test the program”.
  3. Wait for the program to launch.
  4. Click “Next”.
  5. Select “Yes, save these settings for this program”.
  6. Click “Close”.
You can share and save this page with:
Tags: , , , , , , , , , , , , , ,

Leave a Reply

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