I turned UAC back on and what a surprise... Visual Studio runs in normal mode again!
Thanks again Microsoft, for making things very clear...
Stuck with Visual Studio 2010 in Administrator (elevated) Mode
-
03-04-2022 - |
题
There are many posts that tell you how to run Visual Studio 2010 as Administrator.
I will probably be very ashamed when I find my answer but...
My problem is that I can't start Visual Studio NOT elevated!
I always have the "(Administrator)" text on the title.
I want to be able to debug my application in a non-elevated environment.
I have no shortcut/application file that is marked with "Run As Administrator".
Not Devenv.exe and not VSLauncher.exe not shortcuts at Start Menu.. nothing is marked like this and still Visual Studio runs as Administrator.
My user belongs to the local Administrators group.. but that didn't use to enable this administrator mode.
UAC is disabled but this too didn't matter once.
Also checked
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
and removed Visual Studio from the list. Nothing.
Any idea will be appreciated.
解决方案
其他提示
You can try downloading VSCommands extension and using its Debug As Normal user feature.