Visual Studio always runs with elevated privileges for me, and I want to prevent that. I don't remember how or when I might have set this.
What I do know is that I tried the advice in following links and it didn't fix the issue for me - here and here.
I'm running it directly from c:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe
to make sure it's not an issue with a shortcut and it still has Elevated Privileges.
I deleted the VS entry at HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
, I checked in HKLM
as well. I reran the "Troubleshoot` wizard unchecking everything. None of it works - it always shows with "Elevated" as "Yes" in Task Manager
Renaming it to something else like devenv_.exe
makes it run with "Elevated" as "No", but then it refuses to start and just shows an error message.
So how do I convince Windows 10 that I truly do not want it to run with Elevated Privileges?