Visual Studio 2022 - Run as Administrator - No Longer Works - Troubleshoot Compatibility Useless

Jeffrey Stevens 20 Reputation points
2025-03-30T12:32:07.4666667+00:00

I have been doing this for years with different versions of Visual Studio. This is for Visual Studio 2022.

As I have done for years, I have added it to the Taskbar to open specific solutions quickly. ADMIN mode is usually required for VS to function without issues. Usually, with properties and the troubleshoot compatibility tool, I can always get it to open in administrator mode.

Now it no longer works. I tried to repeat the steps that worked before. It seems there is a new compatibility troubleshooter. It doesn't allow you to work directly with an EXE. It has a list. Visual Studio 2019 is in the list. Visual Studio 2022 IS NOT!!!!!!!???????? It is an endless loop with no success.

How do I fix this?

Developer technologies | Visual Studio | Setup
{count} votes

Accepted answer
  1. RLWA32 49,541 Reputation points
    2025-04-17T20:08:09.8033333+00:00

    Using Win10 22H2 with VS2022 17.13.6 Community with VS pinned to the taskbar. After clicking "Troubleshoot Compatibility" entry on the File Explorer context menu for devenv.exe I checked "The program requires additional permissions" choice in the Program Compatibility Troubleshooter and completed the rest of the process. Afterwards, the taskbar button for VS2022 always started it as Administrator (after giving UAC consent) for the IDE and for opening a solution from the recent items upon right clicking the button.

    The Program Compatibility Troubleshooter added the following to HKCU -

    AppCompat

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.