Introduction

In this article, we will be fixing the below Visual Studio 2017 Compatibility Issue.

This task requires the application to have elevated permissions.


Scenario

Although we have administrator role on the server, we can't create a new SharePoint Project via Visual Studio 2017, we got the below error:
  
This task requires the application to have elevated permissions.


Cause

It's a known compatibility issue that occurs when the current user doesn't have administrative privilege to use Visual Studio.

Solution

You have three different methods to overcome this issue:
  1. Run Visual Studio As Administrator.
  2. Troubleshoot Compatibility.
  3. Adjust Compatibility Settings.

(Method 1) Run Visual Studio As Administrator


You can easily run the Visual Studio as Administrator by right clicking on Visual Studio and Select Run as Administrator option.


Although it's an easy way to overcome this compatibility issue, it requires doing the same action every time you run the Visual Studio!

(Method 2) Troubleshoot Compatibility


This method is a permanent solution to this issue. 
  • Right-click Visual Studio 2017 > Select Open file location option.
  • Again, Right-click Visual Studio 2017 Shortcut > Select Troubleshoot Compatibility to run the Program Compatibility Troubleshooter
  • Click Troubleshoot program.
  • Check the program requires additional permissions > Next.
  • Click Test the Program to perform a quick test with the new assigned setting on the Visual Studio.
  • Wait for a little until the Visual Studio 2017 opens.
    • Try to create a new project that should be now created without any compatibility issue.
  •  Now click Next > then select 'Yes, save these settings for this program'.
  • Wait for a little for resolving the issue permanently and show that the Issue is fixed > then click close.


(Method 3) Adjust Compatibility Settings

  • Right-click Visual Studio 2017 > Select Open file location option.
  • Right-click Visual Studio 2017 shortcut > Select Properties.
  • Click Compatibility Tab > Check Run this program as an Administrator.
    • You can also adjust the settings for all users by clicking on the change settings for all users > check Run as Administrator.

Sometimes, you may not find the Compatibility tab. so, you should do the following:
  • Click Shortcut tab > Advanced > Check Run as Administrator.

Applies To

  • Visual Studio 2017.
  • Visual Studio 2015.
  • Visual Studio 2013.
  • Visual Studio 2010.

Conclusion

In this article, we have solved the "This task requires the application to have elevated permissions" compatibility issue.

Reference

Visual Studio requires the application to have elevated permissions.

See Also


Back to Top