Windows 10: how to open application as Administrator when clicking on pinned items

For Windows 10 and Visual Studio 2017, I followed the directions from other posts and it solved the issue.

Can you force Visual Studio to always run as an Administrator in Windows 8?

I imagine this works for other programs that do not have a Compatibility tab in the properties window.

  1. Right-click Visual Studio 2017 icon in the taskbar.
  2. Right-click "Visual Studio 2017" and choose "Properties"
  3. On the Shortcut tab, click "Open File Location"
  4. Right-click devenv.exe and select "Troubleshoot compatibility".
  5. Select "Troubleshoot program"
  6. Check "The program requires additional permissions"
  7. Click "Next"
  8. Click "Test the program..."
  9. Wait for the program to launch (you might be asked to run as admin, click yes)
  10. Click "Next"
  11. Select "Yes, save these settings for this program"
  12. Click "Close"

Disclaimer: as @EricHirst points out, Visual Studio will ALWAYS run as Administrator with this solution. Please weigh security concerns against convenience before implementing this change.


If you open the properties of the EXE itself there is an option on the compatibility tab called Run this program as an administrator. If you tick this and apply it, any new shortcuts you create from this will launch as administrator.

Screenshot of the properties window