76

The problem is, when I open applications I need to always right click, select run as admin.

enter image description here

When I don't do it getting unexpected application errors. BTW, I turned off UAC.

It's annoying. Is there any way to change behavior of double left-click to act as "Run as administrator" action? I mean to make "Run as administrator" action by default. Thx in advance

Braiam
  • 4,777
Tural Ali
  • 1,953

8 Answers8

92

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

Canadian Luke
  • 24,640
avesse
  • 1,086
28
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.

7

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

pbies
  • 3,550
4

Use the good old Task scheduler trick which works since Vista.

Here is a tool which help you to do the steps:

https://sites.google.com/site/freeavvarea/UACPass-en

2

I wrote a simple tool to solve this problem. Read more in my CodeProject article Run Windows 8 Applications as Administrator by Default.

Wolf
  • 416
ALEXIX
  • 21
2

Go to the top right side of the screen in Windows 8 > click "Search" button on right panel > search for application > right click program > select "Open File Location" > click "Shortcut" tab > click "Advanced" button > check "Run As Administrator" button

1

Due to AlEXIX's comment I have designed a batch store in "sendto" folder, then use right click menu "sent to" function to add "exe" in the registries run with admin right. I have tested success but each time cannot add more than fifty exe files to the registries. Also before you use the batch, cmd.exe must configured "run as admin", here is my batch code:

for %%i in (%*) do reg add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v %%i /d  "~ RUNASADMIN"
DavidPostill
  • 162,382
Richard
  • 11
0

Search for CMD in start menu and run it as administrator and enter the following command.

net user administrator /active:yes

Nikhil
  • 111