How to always run as administrator applications on Windows
Method 1 (only works on shortcuts):
- Right-click the shortcut, click Properties.
- Click Advanced. Select Run as Administrator.
Method 2 (affects all shortcuts, and works on jump-lists and opening files with the application):
- Go to the location of the executable.
- Right click AppThatRequiresAdminRights.exe and select
Troubleshoot compatibility
. - Select the option Troubleshoot program after the wizard has finished detecting issues.
- Choose the The program requires additional permissions option. The wizard will apply the Run as Administrator setting to AppThatRequiresAdminRights.exe program.
- 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.