Visual Studio extension to run Visual Studio as administrator
Run Visual Studio as administrator
Run Visual Studio as normal user
Uninstalling the extension
When uninstalling the extension the current elevation mode will be preserved. If you have the extension Enabled in the options and uninstall it, Visual Studio will remain running as administrator. You have to use the RunAsAdmin options setting to enable or disable.
Disabling the extension
When disabling the extension from within the Visual Studio extensions dialog nothing will happen like with uninstalling the extension. You have to use the RunAsAdmin options setting to enable or disable.
Under the hood
The extension adds two registry entries at the following location:
One for the path to Visual Studio and one for the path to the Visual Studio Launcher. The value of the registry entries will be "RUNASADMIN" or "RUNASNORMAL"
Cazzulino - How to get Visual Studio 2017 installation path