During opening Visual Studio, I got the following error message
This task requires the application to have elevated permissions
Cause
The current user doesn’t have a sufficient privilege to open Visual Studio.
Solution
To run Visual Studio with elevated permissions, you should perform any appropriate method for you from the following:
Method (1): Run Visual Studio as Administrator
- Right click on VS and select Run as Administrator.
Method (2) : Troubleshoot compatibility
The previous method should be repeated every time you are going to run the VS. In this method, I will show How to avoid the annoying compatibility issue by following the mentioned steps below :
- Right Click on Visual Studio> Open File Location.
- Right Click on Visual Studio Shortcut > Select Troubleshoot compatibility.
- Select Troubleshoot Program.
- Check The program requires additional permissions.
- Click on Test the program.
- Wait for a moment till the program starts.
- Click Next.
- Select “Yes, save these settings for this program”.
- Wait for resolving the issue.
- Make sure the final status is fixed.
- Click Close.
Method (3) : Set Visual Studio to Run as Administrator
- Right click on VS > Select Properties.
- Click on Compatibility Tab > Check Run this program as an administrator.
Method (4) : Via Shortcut
Sometimes, you may not find the compatibility tab. so, you should navigate to
- Shortcut tab > Advanced > Check Run as Administrator.
The Visual Studio should now be opened properly with elevated permissions.
Applies To
- Visual Studio 2017.
- Visual Studio 2015.
- Visual Studio 2013.
- Visual Studio 2012.
- Visual Studio 2010.
But, how do I change a project’s properties to indicate that it should not run with elevated permissions?!?
LikeLike
I am sorry, I didn’t get your point, which method you have followed!
LikeLike
I have been dealing with the problem for awhile and this was the best answer. It was very detailed and was able to follow each step. Resolve my issue. Thanks!
LikeLike
Glad to hear it helped you 🙂 Thanks for your feedback
LikeLike