Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Run as administrator shortcut

how do I create a shortcut that runs Visual Studio with Administrator rights?

Actually I have to navigate to the Visual Studio start menu folder, click on the icon with the right mous button and choose "Run as Administrator".

like image 685
Lorenzo Avatar asked Nov 09 '10 10:11

Lorenzo


People also ask

How do I make a shortcut run as administrator?

With Windows 11, you can also hold down Ctrl + Shift before clicking on the chosen program in the Start menu, while right-clicking on a shortcut on the desktop will provide an instant option to "Run as administrator".

How do I open Visual Studio without admin?

Open Developer Command Prompt for Visual Studio > type cd XXXX (replace XXXX with the path for example, for VS 2019 Community, C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE ) > press Enter > type VSIXInstaller.exe > press Enter > check if the extension has been installed.

How do I force my .NET application to run as administrator?

Right click your executable, go to Properties > Compatibility and check the 'Run this program as admin' box.

Does Visual Studio need to run as administrator?

You can do nearly everything in the Visual Studio IDE as a normal user, but, you need administrator permissions to complete the following tasks: Installing Visual Studio.


1 Answers

Right-click on the shortcut, select Properties. On the Shortcut tab, click the Advanced button (bottom right). Check the Run As Administrator box.

like image 148
dandan78 Avatar answered Sep 28 '22 03:09

dandan78