Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stuck with Visual Studio 2010 in Administrator (elevated) Mode

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.

like image 224
Jony Adamit Avatar asked Apr 14 '13 14:04

Jony Adamit


People also ask

How do I stop Visual Studio code from running as administrator?

The solution was to go to Tools --> Options --> VSCommands 12 (click Open Configuration) --> IDE Enhancements --> General. There is a box "Always start Visual Studio with elevated permissions"; uncheck that to revert to the regular start-up without administrator rights. Location of VSCommands in Options.

How do I run Visual Studio as default in administrator mode?

On the Windows desktop, right-click the Visual Studio shortcut, and then select Properties. Select the Advanced button, and then select the Run as administrator check box. Select OK, and then select OK again.

Why do I need Visual Studio as administrator?

Without Administrative permissions Visual Studio is not able to write to the hard drive outside of your specific user account privileges. This severely limits what can be done to build custom ArcGIS based applications.


1 Answers

I turned UAC back on and what a surprise... Visual Studio runs in normal mode again!
Thanks again Microsoft, for making things very clear...

like image 174
Jony Adamit Avatar answered Sep 30 '22 05:09

Jony Adamit