Create elevated shortcut to skip UAC prompt in Windows 10

User Account Control, or just UAC is a part of the Windows security system which prevents apps from making unwanted changes on your PC. When some software tries to change system-related parts of the Registry or the file system, Windows 10 shows an UAC confirmation dialog, where the user should confirm if he really wants to make those changes. Usually, the apps that require elevation are related to the management of Windows or your computer in general. A good example would be the Registry Editor app. If the application you are using frequently requires a UAC request every time you start it, confirming the prompt on every launch can get a bit annoying. In this article, we will see how to create a shortcut to run apps elevated without a UAC prompt in Windows 10.


To skip the UAC prompt and start an app elevated, you need to create a special task in the Windows Task Scheduler which allows executing apps with admin privileges. The Task Scheduler has a graphical MMC version (taskschd.msc) which we will use.

In the tutorial below, I will show you how to make Regedit run elevated without a UAC prompt showing up. You can use these steps for any app you want to launch elevated.

Creating a shortcut to run apps elevated without a UAC prompt in Windows 10

  1. Open Control Panel.
  2. Go to Control Panel \ System and Security \ Administrative Tools.
  3. In the newly opened window, double-click the shortcut "Task Scheduler": Windows 10 administrative tools
  4. In the left pane, click the item "Task Scheduler Library": Windows 10 Task Scheduler Library
  5. In the right pane, click on the link "Create task": Windows 10 Create Task link
  6. A new window titled "Create Task" will be opened. On the "General" tab, specify the name of the task. Pick an easily recognizable name like "App name - elevated". In my case, I will use "Regedit - elevated".
    You can also fill in the description if you want.
    Windows 10 Create Task window name task
  7. Now tick the checkbox named "Run with highest privileges": Windows 10 Create Task window run elevated checkbox
  8. Switch to the "Actions" tab. There, click the "New..." button:
    Windows 10 Create Task window Actions tab Windows 10 Create Task window Actions tab new button
  9. The "New Action" window will be opened. There, you can specify the path to the executable (.exe file) of the app you are trying to run elevated without a UAC prompt. In my case, I will enter
    c:\windows\regedit.exe

    See the following screenshot:
    Windows 10 Create Task window new action dialog
    Note: by default, apps started by tasks like the one we just created will start with no focus. Their windows might appear in background.
    If you are not happy with this issue, then use the following trick:
    - In "Program/Script", enter the following:

    C:\windows\system32\cmd.exe

    In "Add agruments", type the following:

    /c start "" program.exe [program arguments if required]

    In my example with Regedit it will look as follows:
    Windows 10 Create Task window new action dialog cmd

  10. Click "OK" in the "New Action" dialog to apply your settings and close it.
  11. Switch to the "Conditions" tab:
    Windows 10 Create Task window Conditions tab
    Untick options
    - Stop if the computer switches to battery power
    - Start the task only if the computer is on AC power
    See the following screenshot:
    Windows 10 Create Task window Conditions unticked
  12. Now, click "OK" to close the "Create Task" window. Now that you've created the task, it's a good time to test it. Right click it and select "Run" from the context menu. It should open the app you specified:
    Windows 10 Task Scheduler run context menu Windows 10 task started
  13. Now, to create a new shortcut to launch the app from your Desktop.
    Right click the empty space on your Desktop and select New -> Shortcut:
    Windows 10 desktop new shortcut
  14. In the location of the item, enter the following:
    schtasks /run /tn "your task name"

    In my case, it should be the following command:

    schtasks /run /tn "Regedit - elevated"

    Windows 10 schtasks shortcut target

  15. Name your shortcut however you like: Windows 10 schtasks shortcut name
  16. Finally, pick an appropriate icon for the shortcut you have created and you are done:
    Windows 10 schtasks shortcut icon

Watch the following video to see all steps in action:

That's it. As you can see, creating elevated shortcuts involves a lot of actions and a notable amount of time.
To save your time, you can use Winaero Tweaker. The feature called "Elevated Shortcut" does exactly everything mentioned above and helps you to create elevated shortcuts quickly.

  1. Download and unpack the Winaero Tweaker app.
  2. Go to Tools \ Elevated Shortcut: Winaero Tweaker ES1
  3. Create a shortcut using its friendly user interface and you are done!

Also, there is another good thing about Winaero Tweaker. By default Task Scheduler run all tasks at Below Normal process priority. But Winaero's Elevated Shortcut fixes this by running the shortcut at Normal priority.
The same can be done in Windows Vista, Windows 7 and Windows 8.

10 thoughts on “Create elevated shortcut to skip UAC prompt in Windows 10

  1. Gordon

    To ensure the program being opened appears in focus I use just “cmd” (without quotes) in the “Program/Script” field. This way there is only the briefest flash of the Command Prompt window before the desired program starts, rather than it opening fully first.

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
  2. Joe Edwards

    Thank you for this very detailed description but I have one further question. Do you have to be logged in as an admin user for it to work? What I want to do is to allow regular users to run an old program without admin privileges and without having to remember extra passwords every time.

    The computer in question will be used by a number of people and I want to lock it down as tightly as possible but still allow the use of the old software that falls foul of the UAC.

    Any help will be much appreciated. Joe Edwards

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      Hello Joe,
      Yep, you need to be signed in as an admin user. This elevated shortcut feature doesn’t work under the limited user.

      Like or Dislike: Thumb up 1 Thumb down 0

      Reply
  3. gunther

    how can we convert this scheduled tak to work in a batch file ?

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      Can you share more details what exactly you are trying to get?

      Like or Dislike: Thumb up 1 Thumb down 0

      Reply
      1. gunther

        Sure i am trying to create the scheduled task by the command line i have tried it by importing the xml created by win aero tweaker and also via batch the task is created exactly the same and i use the same shortcut yet i am unable to make it open please help me

        Like or Dislike: Thumb up 0 Thumb down 0

        Reply
  4. gunther

    Sure i a trying to create a task in via a batch file so that i canj just create a shortcut to that task like u have show here so for example:

    SCHTASKS /Create /SC ONSTART /TN “SCCM Connect” /TR /c start “” “‘%PROGRAMFILES%\SCCM Connect\SCCM Connect.exe'” /RL HIGHEST

    buit that does not work how would i do this correctly ?

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. gunther

      i have changed this to
      SCHTASKS /Delete /TN “app.exe_285108820” /f
      SCHTASKS /Create /TN “app.exe_285108820” /XML “C:\Users\username\Desktop\TS.xml”

      the tasks are created fine but the shortcut does not work ?

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  5. Максим

    Большое спасибо, Сергей, сделал Elevated Shortcut, все работает.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      Пожалуйста!

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *