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

bardimin pic

Bardimin

September 19, 2022
Task Scheduler create task

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

Home » Blogs » Windows » Tips and Tricks » How to Create a Shortcut Running As Administrator without Prompt with UAC Bypass in Windows 11

To run the 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 file with Run as Administrator, asking for your permission before allowing the to run with higher privileges.

displays a UAC confirmation box asking the user to confirm that he wants to make any changes when some tries to change components related to the system from the Registry or .  In addition,  by default, 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 Scheduler” windows 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 ““.
  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 . Right-click on the 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
link nyemin

Latest Articles

How to Fix PowerShell Not Working on Windows 11

How to Fix PowerShell Not Working on Windows 11

PowerShell is a very useful tool for running various commands and scripts in Windows. However, sometimes PowerShell can run into problems and won't open or run properly. This is certainly very annoying, especially if you often use PowerShell to manage your system....

How to Fix Windows Search Not Working on Windows 11

How to Fix Windows Search Not Working on Windows 11

Windows Search is a feature that lets you quickly and easily search for files, folders, apps, settings, and web content in Windows 11. However, sometimes this feature encounters issues and cannot function properly. This is certainly very disruptive to your...

How to Sync Files between Different Computers Easily and Quickly

How to Sync Files between Different Computers Easily and Quickly

Have you ever had trouble syncing files between different computers? Do you want to have the same file on all your computers without having to copy and paste it manually? Do you want to know how to synchronize files between different computers easily and quickly? If...

How to Display Caps Lock Indicator on Windows 11 Screen

How to Display Caps Lock Indicator on Windows 11 Screen

Do you often type in uppercase letters accidentally because you don't realize that the Caps Lock key is active? Do you have trouble seeing the Caps Lock indicator on your keyboard because it's too small or not there at all? Do you want to get visual or audible...