How do I remove/stop Visual Studio 2013 from running as Administrator?

6.9k views Asked by At

When I click on the Visual Studio 2013 icon, UAC asks me if I want to run it as Administrator and, when I click OK, it works. Now I need to restore the default behavior. How do I do it?

6

There are 6 answers

0
Thomas Taylor On

You actually need to go into the Properties for the program. Under Advanced, there's a checkbox that says "run as administrator".

2
smr5 On

Right click on Visual studio shortcut. You'll get this window: enter image description here

Click on Advanced button and uncheck the box 'Run as administrator'.

enter image description here

1
binet On

delete reg valur of HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

devenv.exe like D:\program\programmation\vs2022\Common7\IDE\devenv.exe

1
Soc On

In my case, I accidentally enabled 'always run as administrator' after trying to attach a debugger to a process. As a result, the 'Advanced' properties of the shortcut/devenv.exe did not have the 'Run as Admin' box checked.

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.

Location of elevated permissions checkbox.

0
RossCoeH On

Visual Studio 2017 also still does this, but there real answer (for me) is in the post below - if User Access Control is disabled (never notify) then Visual studio always runs in administrator mode (even when run as administrator is unchecked in advanced properties of the shortcut) and therefore Visual Studio debug programs cannot access network files while running. Microsoft do not list this as a cause.

see

https://developercommunity.visualstudio.com/content/problem/55787/vs-2017-always-running-as-administrator.html

1
Rose On

I found that all of my large programs were running as administrator. To fix this, go to User Accounts in Control panel. Choose Change User Account Control settings. My settings were set to the lowest level; I changed to the second from top, Default-Notify me only when programs try to make changes to my computer. Press OK. Restart your computer, and the programs should no longer be opening as administrator.