How to run a program as administrator without being prompted

How to

By creating an elevated shortcut, you can run the program as an administrator without prompting from the UAC. Here is a simple step-by-step guide on how to do this.

When you try to run a program in Windows, it will run immediately without any prompts, unless it requires additional permissions. If the execution requires administrative privileges, a User Access Control (UAC) prompt will appear.

For example, if you try to start a Windows terminal with administrative privileges, you will see a UAC prompt.

In general, the UAC prompt makes it easy to start programs with administrative privileges. All it takes is one click. But what if you want to run a program as an administrator without the prompt? After all, it is tiresome to have a frequently opened program prompt you every time.

Fortunately, you can run any program as an administrator without a UAC prompt by creating an elevated shortcut. It’s pretty easy.

So without further ado, here is how to run a program as an administrator in Windows without a prompt.

The following procedure works the same in Windows 10 and 11.

Run the program as administrator without a prompt

To open the program as administrator without a UAC prompt, you need to create an elevated shortcut. Usually, you can use the “runas” and “savecred” commands to create a custom shortcut. However, there is a quirk to this.

Basically, you create a scheduled task to run the program as an administrator, and then create a shortcut to run that scheduled task. It sounds strange and roundabout, but it is very simple.

  1. Click on the “Start” icon on the taskbar.
  2. Locate and open “Task Scheduler.”
  3. Click on the “Create Task” option.
  4. Enter a name in the “Name” field.
  5. Copy the name you just entered.
  6. Check the “Run with highest authority” checkbox.
  7. Go to the “Actions” tab.
  8. Click the “Create New” button.
  9. Select “Run Program” from the “Action” pull-down menu.
  10. Click the “Browse” button.
  11. Select the EXE file of the program.
  12. Click the “Ok” button in the “Action” window.
  13. Go to the (optional) “Conditions” tab.
  14. (Optional) Uncheck the “Start the task only when the computer has AC power” checkbox.
  15. Press the “OK” button.
  16. Exit the Task Manager.
  17. Right-click on the desktop.
  18. Select “Create New > Shortcut”.
  19. Type the following command in the space provided. Replace the dummy name with the actual name of the copied scheduled task.
    schtasks /run /tn "scheduled task name"
  20. Press the “Next” button.
  21. Enter the selected name.
  22. Press the “Finish” button.
  23. You can then use the newly created elevated shortcut to run the program as administrator without prompting.

Detailed instructions:

First, you must create a scheduled task. However, this task will not be launched automatically. Instead, it will only run with the shortcut you create.

To begin, search for “Task Scheduler” in the Start menu and open it. Click on “Create Task” in the sidebar of the Task Scheduler.

Enter any name in the “Name” field and copy it. You will need it in the next step. Then check the “Run with highest privileges” checkbox.

Click the “Create New” button in the “Action” tab.

Click the “Browse” button, select the EXE file of the program you want to run as administrator, and click the “OK” button.

IMPORTANT NOTE: When entering the path to the EXE file in the “Program/Script” field, enclose it in quotation marks as shown.

(Optional) If you are using a laptop, you will need to make one more change. Open the “Conditions” tab and uncheck the “Start task only if computer is on AC power” checkbox.

Click the “OK” button to save your changes. Exit the Task Scheduler.

Go to your desktop and select “New Shortcut”.

Paste the following command in the space provided, replacing the dummy name with the actual task name you just copied.

<

6553

>

Enter the name you chose in the blank field and click the [Done] button.

The created elevated shortcut can be used to run the program as administrator. Double-clicking the shortcut will launch the program with administrator privileges without prompting from the UAC.

If necessary, you can change the icon of the shortcut. Right-click on the shortcut, select “Properties” to display the “General” tab, and click “Change Icon”. Select the desired icon and click “OK.

That is all. It is as easy as running the program as an administrator without prompting.

We hope this brief guide to working with Windows is helpful.

If you get stuck or need help, please comment below and we will do our best to help.

YouTube video: How to run a program as administrator without being prompted


Rate article
We provide high-quality and detailed Windows tutorials