How to always run as administrator applications on Windows

Method 1 (only works on shortcuts):

  1. Right-click the shortcut, click Properties.
  2. Click Advanced. Select Run as Administrator.

Method 2 (affects all shortcuts, and works on jump-lists and opening files with the application):

  1. Go to the location of the executable.
  2. Right click AppThatRequiresAdminRights.exe and select Troubleshoot compatibility.
  3. Select the option Troubleshoot program after the wizard has finished detecting issues.
  4. Choose the The program requires additional permissions option. The wizard will apply the Run as Administrator setting to AppThatRequiresAdminRights.exe program.
  5. Click Test the program (required) and close the wizard.

Found here


Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLUA" -Value "0"
shutdown -r -t 0 

entering on the PowerShell (started as administrator) did it for me without specifying something for every single application.

Please note that this does permanently disable UAC. Dragging the slider down in the UAC settings will not disable the UAC completely, it just won't prompt anymore but still remains active.


Kill all Explorer instances and then start it again through Task Manager (Ctrl+Shift+Esc) with administrative rights.

Tags:

Windows

Uac