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

Jeffrey Stevens 0 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?

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,144 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 48,151 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

    0 comments No comments

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.