How to Create a Shortcut Running As Administrator without Prompt with UAC Bypass in Windows 11

To run the application as an administrator without a UAC prompt, you can create an administrator shortcut in Windows.

The Windows security system’s User Account Control, sometimes known as UAC, stops applications from making unauthorized changes to your computer.

By default, a UAC prompt will appear when you open an application file with Run as Administrator, asking for your permission before allowing the software to run with higher privileges.

Windows 11 displays a UAC confirmation box asking the user to confirm that he wants to make any changes when some software tries to change components related to the system from the Registry or file system.  In addition,  by default, Windows 11 will not allow elevated programs to be launched at startup.

You can create an elevated task to run the application as a solution if you want to run it as an administrator.  This can be done by building certain jobs in the Windows Task Scheduler that allow running programs with administrative capabilities to bypass UAC commands or at startup.

Create Administrator Shortcut without UAC Prompt

A. Creating Tasks in the Task Scheduler

  1. Open the “Task Schedulerwindows 11. You can open it by clicking the Windows Start button and in the search box type “task scheduler.
open Task Scheduler
  1. Then in the “Task Scheduler” application, click “Create Task” located on the far right part of the panel in the “Actions” group.
Task Scheduler create task
  1. Next in the dialog box, select the “General” tab.
  2. Name the Task “Name” to make it easier for you to recognize it. You can also add a caption to the “Description“.
Task Scheduler general
  1. Next in the “Security options” section, check “Run with highest privileges.
  2. Then on “Configure for”, click the dropdown button and select “Windows 10“.
  3. Next step, click on the “Actions” tab. Click the “New” button to create a new action.
Task Scheduler actions new
  1. In the “New Action” dialog box, type “cmd.exe” in the “Programs/scripts” section.
Task Scheduler actions new setup
  1. And on “Add arguments“, add arguments with the following format
/c start "TaskName" "ProgramPath"
Example: /c start "MyShortcut (Admin)" "C:\Program Files\Notepad++\notepad++.exe"

TaskName: the name of the task you created in step 4.

ProgramPath: the full path of the application you want to run.

Click the OK button to save.

  1. In the next step, click on the “Conditions” tab. Uncheck the “Start the task only if the computer is on AC power.
Task Scheduler conditions
  1. Click the OK button to save and close the Task Scheduler.

B. Creating Shortcuts on the Desktop

  1. The next step is to create a shortcut on the desktop. Right-click on the desktop and select “New > Shortcut.
desktop create shortcut
  1. In the dialog box, in the “Type the location of the item” section, type the following command
schtasks /run /tn "TaskName"
Example: schtasks /run /tn "MyShortcut (Admin)"
desktop create shortcut location
  1. Click the “Next” button to proceed.

  1. And then name it Shortcut. Click the “Finish” button to create a shortcut.
desktop create shortcut name

RELATED ARTICLES

Latest Articles