If you can force Visual Studio to always run as administrator in Windows 8?

This translation from: of Can you Always Force Visual Studio to RUN AS AN Administrator in Windows 8?

In Windows 7, you could go into a programs compatibility settings and check off to always run as an Administrator. In Windows 7, you can enter the program and check the compatibility settings to always run as administrator. Similar in the Option A there IS Windows 8? Windows 8 if there are similar options?

I've always disabled UAC on my machines , and did the same after my Windows 8 upgrade, or so I thought. I've been disabled UAC on my machine, and after my Windows 8 upgrade did the same thing, or I think. There IS NO OUT turns IT offthe Option, only at The. Notifications The Turning OFF. It turns out that there is no offoption to turn off notification only.

This means nothing is run as an Administrator despite being in the Administrator group. This means that although the administrators group, but there is nothing to run as an administrator. Need to closing and the Keep the I Reopening My Consoles \\ Visual Studio to Debug the try the when the I (The attach to Process, not F5), Which IS Very frustrating. When I try to debug (attached to the process, rather than F5the time), and I need to continue close I re-open the console \\ Visual Studio, which is very frustrating.

It's really annoying that I need to either remember to take extra steps to open it as an Administrator or tell it to close and re-open when I go to debug for the first time. Really annoying, I need to remember to take extra steps it opened as an administrator, or tell it to close and re-open when I first commissioning.


#1st Floor

Reference: https://stackoom.com/question/pQdK/ you can force Visual-Studio always run as administrator in the Windows-


#2nd Floor

Super looking the User the I ON the After found the this Question Which not Hesitate to How to do with the this at The Shortcut ON at The Start Screen. After looking at the super user, I found the problem , explain how to perform using a shortcut on the Start screen this operation. Similarly you can do the same when Visual Studio is pinned to the task bar. Likewise, when the Visual Studio pinned to the taskbar, you can do so. In either location: in any position:

  1. Right click the Visual Studio icon , right-click the Visual Studio icon
  2. Go to Properties Go "Properties
  3. The Under Shortcut tabSELECT Advanced in Shortcut tab, selectAdvanced
  4. Check Run as administrator selectedRun as administrator

Set the default operating in supervisor mode

Unlike in Windows 7 this only works if you launch the application from the shortcut you changed. Unlike Windows 7, this applies only to cases start the application from a shortcut to change. After updating both Visual Studio shortcuts it seems to also work when you. Open a solution file from Explorer after update both Visual Studio shortcuts, when you open the file from the Solution Explorer, it seems to work.

Warning Update: It looks like at The One of Major Flaws, in running with Visual Studio, elevated the Permissions IS Operating since Explorer AS IS not running with Them Well you CAN not the Drag and drop Files INTO Visual Studio for Editing. Update WARNING: running with elevated privileges Visual Studio seems to be a major drawback because the Explorer is not running with them, you can not drag and drop files into Visual Studio for editing. You need to open them through the file open dialog. You need to open them via the file open dialog. Nor can you double click any file associated to Visual Studio and have it open in Visual Studio (aside from solutions it seems) because you'll get an error message saying There was a problem sending the command to the program. you can not double-click on any file associated with Visual Studio and Visual Studio open it (besides looks solution), because you will receive an error message stating thatThere was a problem sending the command to the program. Once I uncheck to always start with elevated permissions (using VSCommands) then I'm able to open files directly and drop them. Of Visual Studio into an open instance , once I uncheck to always privilege (use VSCommands) elevated begun, I can directly open files and open them in Visual Studio instance.

Update the For at The Daring: Despite there being NO the UI to Turn OFF UAC like in at The Past, that the I the SAW AT Least, you CAN Still do SO through at The Registry. Bold Update: Although in the past is not as off UAC as in the past UI, at least I have seen, you can still do so through the registry. The key to edit is: the key editor are:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
EnableLUA - DWORD 1-Enabled, 0-Disabled

After changing this Windows will prompt you to restart. After changing this Windows, you will be prompted to restart. Once restarted you'll be back to everything running with admin permissions if you're an admin. After restarting, if you are an administrator, you will return all the content administrator privileges to run. The issues I reported above are now gone as well. Problems I reported above are now gone.


#3rd floor

NOTE in recent Results VS versions (2015+) Seems the this Extension IT NO longer EXISTS / has the this the Feature. Note that in the most recent version of VS (2015+), it seems that this extension no longer exists / has this feature.


By You CAN Also download VSCommands for VS2012 by Squared Infinity Which has A the Feature to Change IT to RUN AS ADMIN (AS Well AS some OTHER Cool bits and Pieces) You can also download Squared Infinity VSCommands for VS2012 , it has to change it to run as administrator function (as well as some other cool part)

The input image description

Update Update

One CAN install at The Commands from at The Visual Studio the MENU bar a using Tools-> Extensions and Updatesthe Selecting Onlineand Searching for vscommandsthe WHERE the then One Selects VSCommands for Visual Studio 20XXDEPENDING ON model types within a using 2012 or 2013 (or Greater going Forward) and download and install. You can use Tools-> Extensions and Updatesselect Onlineand search vscommandsfrom Visual Studio installation command menu bar, and then based on using 2012 or 2013 (or later) to select VSCommands for Visual Studio 20XXand download and install.


#4th floor

DID not Work for Me VSCommands Caused A problem and the when the I Installed Visual Studio 2010 aside of Visual Studio 2012. Only VSCommands no effect on me, and in addition to Visual Studio 2012 Visual Studio 2010 cause of a problem when I installed.

After some experimentations I found the trick: After some experimentation, I found the trick:

To Go HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layersand the Add AN at The entry with name "C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\MSEnv\\VSLauncher.exe"and at The value "RUNASADMIN". Go HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layersand add the name "C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\MSEnv\\VSLauncher.exe"of "C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\MSEnv\\VSLauncher.exe"and value "RUNASADMIN".

This should solve your issue. This should fix your problem. Also've the I blogged the About that. I also wrote a blog on this.


#5th Floor

Windows 8 & 10 an In, you have have to right the Click- devenv.exeand the SELECT "Troubleshoot Compatibility." In Windows 8, and 10, you must right-click devenv.exeand choose "Troubleshoot Compatibility."

  1. Select "Troubleshoot program" select "Solver Problems"
  2. Check "The program requires additional permissions" select "This program requires additional permissions"
  3. Click "Next" Click Next "
  4. Click "Test the program ..." click on "test program ......"
  5. Wait for the program to launch waiting for the program to start
  6. Click "Next" Click Next "
  7. Select "Yes, save these settings for this program" select "Yes, save these settings for this program."
  8. Click "Close" Click "Close"

If, when you open Visual Studio it asks to save changes to devenv.sln, see this answer to disable it: If Visual Studio when you open it asks to save changes to the devenv.sln, see this answer to disable it:

Disable Visual Studio devenv solution save dialog to disable Visual Studio devenv solutions save dialog


Change your Mind and you IF td width = wish to Use the undo at The "Administrator of As the Run" Setting Compatibility, See at The answer here Wallpaper: How to Fix Unrecognized Guid format in Visual Studio 2015 if you change your mind and want to undo the "Run as administrator" compatibility settings Please see the answer here: how to fix unrecognized Guid format in Visual Studio 2015


#6th floor

  1. On Windows 8 Start Menu select All Apps in the Windows "Start" menu, select All Applications 8
  2. Right click on Visual Studio 2010 Icon Right-click the icon in Visual Studio 2010
  3. Select Open File Location select Open File Location
  4. Right click on Visual Studio 2010 shortcut icon , right-click the shortcut icon for Visual Studio 2010
  5. Click Advanced button Click the Advanced button
  6. Check the Run as Administrator checkbox select Run as Administrator check box
  7. Click OK OK
Original articles published 0 · won praise 73 · views 550 000 +

Guess you like

Origin blog.csdn.net/w36680130/article/details/105311360