Always run program as administrator Windows 11

I "thought" this might be how you consistently run a program as an administrator by default but it didn't work either:

START, All apps, find desired program, right-click More, Open file location; in list of programs (likely location is  C:\ProgramData\Microsoft\Windows\Start Menu\Programs), right-click desired program, Properties; Open File Location [going to the location of WINWORD.EXE--or desired *.exe file--rather than the shortcut to it is very important otherwise the change will affect Word (or the desired app) only when you run it from Start menu or shortcut—going to the *.exe file takes you to the source of every app launch]; right click *.exe file, Properties; from the Security tab, under Group or user names, click Users—note only Read & execute and Read are checked; (if you compare those rights with Administrators rights, you will see that Administrators have Full control, Modify, Read & Execute, Read, and Write all checked, so you need to check all boxes for Users by changing permissions); To change permissions, click Edit; click Users;  check Full control, Modify, and Write, OK, OK.

@ammarjaved 

Run as administrator in Windows 11 is a term that describes the process of starting an app elevated with highest privileges. Windows 11, like any other modern OS version, runs applications and programs with standard (limited) privileges. Some programs require administrator access to perform specific tasks. In such cases, you may need to quit the app and run it elevated. There are several ways to run a program as an administrator in Windows 11. This article will show you most of them.

Note: Do not run programs as an administrator without reason. We recommend launching programs with elevated privileges only if you know exactly why the app requires administrator access level.

  1. Open the Start menu, then click All Apps.
  2. Find the app you want to run as an administrator and right-click it. Select More.
  3. Select Run as administrator.
  4. Alternatively, press and hold Ctrl + Shift and click an app shortcut while holding those keys. The app will start elevated.

Note that the context menu method works in both the Start menu and File Explorer. Simply right-click an app or shortcut, then select Run as administrator. The command has the icon with a window and a shield.

Using Windows Search

Another way to launch a program with elevated privileges in Windows 11 is by clicking the appropriate command in Windows Search.

  1. Open the Start menu and start typing the app's name you want to launch. Alternatively, press Win + S to open the search box.
  2. If the program shows up under the Best Match section, click Run as Administrator on the right side of the search window. Alternatively, press Ctrl + Shift + Enter to launch the app with the administrator access level.
  3. If the program appears lower, click the button with a small arrow pointing to the right, then select Run as Administrator.

Launch a pinned app from the taskbar

If the app you want to run as an administrator is pinned to the taskbar, there is no need to use search or the list of all apps. Press Ctrl + Shift, then click the program on the taskbar. Windows 11 will start the app with elevated privileges.

Also, you can directly run a pinned app elevated with the Ctrl  + Shift + Win + <Number> hotkey, where <Number> is a digit from 1 to 9. The first pinned app is 1, the next after it is 2, and so on. In my case, the first icon is Total Commander, so I have to use the Ctrl  + Shift + Win + 1 sequence to start it as admin.

Using Command Prompt, PowerShell, or Windows Terminal

Windows 11 allows launching an app as an administrator from the elevated Command Prompt, PowerShell, or Windows Terminal. All that is needed is to run your preferred console app as an administrator. Then, use the app's executable path to launch it.

Using the Run dialog

Press Win + R to open the Run dialog. Alternatively, you can right-click the Start button and select Run from the menu.

In the Run box, type the executable name of the app you want to start as Administrator. You can also use the Browse... button to find the app using the open file dialog.

Finally, press Ctrl + Shift + Enter, or press and hold Ctrl + Shift and click the OK button. The app will start elevated.

Open an app as Administrator from Windows 11 Task Manager

  1. Open Task Manager with the Ctrl + Shift + Esc shortcut. Alternatively, right-click the Start menu and select Task Manager.
  2. Click File > Run new task.
  3. Type the path to the program you want to launch as an administrator, then place a checkmark next to the Create this task with administrative privileges.
  4. Click OK.

Always run an app as Administrator in Windows 11

All the methods below are "single-use." In other words, you need to repeat the procedure every time you launch your program. If you need to always start an application as an administrator in Windows 11, do the following:

  1. Find the app you need and right-click it.
  2. Select Properties. Tip: You can open the properties window without opening context menus. Just select a file or program, then press Alt + Enter.
  3. Go to the Compatibility tab and place a checkmark next to the Run this app as an administrator option.
  4. Click OK.

That is how you set a program to always run as an administrator in Windows 11.

However, this method has one drawback. Every time you start the app using such a modified shortcut, it will bring you a User Account Control confirmation (UAC), where you have to click on Yes. It is a minor, but very annoying inconvenience. Here is a workaround that you can use to suppress the UAC request.

Run as Administrator without UAC Confirmation

The idea here is to create a special task in the Task Scheduler, and then run the task instead of the direct launch of the app. The task will start the specified app elevated, however, it will not bring an UAC prompt.

This can be useful in certain cases. For example, if you often work with a Registry editor, you will find it annoying to confirm UAC every time you launch.

Create a task in Task Scheduler

To run an app as Administrator without UAC Confirmation, do the following.

  1. In Windows Search (Win + S), and enter task scheduler in the search box.
  2. In the Task Scheduler, create a new task and give it a short and meaningful name. For example, task_regedit.
  3. On the General tab, turn on (check) the checkbox Run with highest privileges.
  4. On the Actions tab, create a new action with the following parameters.
  5. In program/script, specify c:\windows\system32\cmd.exe.
  6. In "Add arguments", enter: /c start "" program.exe <program arguments if required>. Substitute program.exe with the actual app path or built-in tool like regedit.exe.
  7. Switch to the Conditions tab and uncheck the Stop if the computer switches to battery power and Start the task only if the computer is on AC power options.

Done. You can now test your task. Simply right-click it in the Task Scheduler library and select Run. The app of your choice will start elevated. Now, let's create a shortcut for it to directly launch it.

Create a shortcut for your task

  1. Right-click the desktop background and select New item > Shortcut.
  2. Specify schtasks /run /tn "your task name" in the location of the item box. For example, schtasks /run /tn "task_regedit".
  3. Customize the shortcut name and its icon.
  4. Now, double click on the shortcut. It will start the app elevated without a UAC request.

Finally, you can save your time and automate the task creation with Winaero Tweaker.

Using Winaero Tweaker

  1. Download and install Winaero Tweaker using this link.
  2. Go to Tools > Elevated Shortcut on the left.
  3. On the right, simply specify the path to your app, and set the desired name and folder location for your shortcut.
  4. Click on the Create Elevated Shortcut button and you are done.

This is a convenient and fast method to create such a shortcut.

That is it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

How do you set apps to always run as an administrator on Windows 11?

Always run an app in administrator mode.
Find the app you want on the desktop or using File Explorer. ... .
Right-click the app and choose Properties in the context menu..
In the Properties window, switch to the Compatibility tab at the top..
Here, toggle the option that says Run this program as an administrator..

How do I run a program as administrator every time?

Step 1: Find your program to run as admin. Find the program you want to run as administrator (either via the Start menu bar or in a folder)..
Step 2: Open the properties menu. ... .
Step 3: Click "Compatibility" ... .
Step 4: Find the "Privilege" level option. ... .
Step 5: Change to run as admin for all users. ... .
Step 6: You're done!.

How do I always open or code as administrator?

On the Windows desktop, right-click the Visual Studio shortcut, and then select Properties. Select the Advanced button, and then select the Run as administrator check box. Select OK, and then select OK again.

Toplist

Última postagem

Tag