General Create Elevated Shortcut without UAC prompt in Windows 11


  • Staff
Elevated_shortcut_banner.png

When you open an application file with Run as administrator, you will get a UAC prompt by default for approval before the app is allowed to run with elevated rights.

In addition, Windows will not allow elevated apps to run at startup by default.

If you want to run an app as administrator (elevated) without getting a UAC prompt or at startup, then you can create an elevated task to run the application as a workaround to do so.

This tutorial will show you how to create a shortcut of an elevated task to run an app as administrator without getting a UAC prompt in Windows 10 and Windows 11.


You must be signed in as an administrator to create and use this elevated shortcut.




Here's How:

1 Open Task Scheduler (taskschd.msc).

2 Click/tap on Task Scheduler Library in the left pane of Task Scheduler, and click/tap on Create Task in the right Actions pane. (see screenshot below)

create_elevated_shortcut_without_UAC-1.png

3 In the General tab, type a name (ex: "Windows Terminal (Admin)") you want for this task, and type an optional description of the task. (see screenshot below)

Make note of this task name. You will need to know it in step 8 and when you create a shortcut of this task in step 13 below.


create_elevated_shortcut_without_UAC-2.png

4 In the General tab, check the Run with highest privileges box. (see screenshot below)

create_elevated_shortcut_without_UAC-3.png

5 In the General tab, select Windows 10 in the Configure for drop down menu. (see screenshot below)

You would select Windows 10 even for Windows 11.


create_elevated_shortcut_without_UAC-4.png

6 Click/tap on the Actions tab, and click/tap on the New button. (see screenshot below)

create_elevated_shortcut_without_UAC-5.png

7 Type cmd.exe in the Program/script field. (see screenshot below)

This is what is being used to open the elevated shortcut from, so it cannot be changed to anything else.


create_elevated_shortcut_without_UAC-6.png

8 Type the command below into the Add arguments field, and click/tap on OK. (see screenshot below)

/c start "Task Name" "Full path of application file"

Substitute Task Name in the command above with the task name (ex: "Windows Terminal (Admin)") you used in step 3 above.

Substitute Full path of application file in the command above with the actual full path of the application file you want to run as administrator.

For example: /c start "Windows Terminal (Admin)" "wt.exe"


create_elevated_shortcut_without_UAC-7.png

9 You will now see this new action listed. (see screenshot below)

create_elevated_shortcut_without_UAC-8.png

10 Click/tap on the Conditions tab, uncheck the Start the task only if the computer is on AC power box, and click/tap on OK. (see screenshot below)

create_elevated_shortcut_without_UAC-9.png

11 You will now see this new task (ex: "Windows Terminal (Admin)") listed in the Task Scheduler Library. You can now close Task Scheduler if you like. (see screenshot below)

create_elevated_shortcut_without_UAC-10.png

12 Right click or press and hold on your desktop, click/tap on New, and click/tap on Shortcut.

13 Type the command below into the location field, and click/tap on Next. (see screenshot below)

schtasks /run /tn "Task Name"

Substitute Task Name in the command above with the task name (ex: "Windows Terminal (Admin)") you used in step 3 above.

For example: schtasks /run /tn "Windows Terminal (Admin)"


create_elevated_shortcut_without_UAC-11.png

14 Type a name (ex: "Windows Terminal (Admin)") you want for this shortcut of the task, and click/tap on Finish. (see screenshot below)

create_elevated_shortcut_without_UAC-12.png

15 Right click or press and hold on the new shortcut on your desktop, and click/tap on Properties.

16 Click/tap on the Change Icon button in the Shortcut tab. (see screenshot below)

create_elevated_shortcut_without_UAC-13.png

17 Click/tap on OK. (see screenshot below)

create_elevated_shortcut_without_UAC-14.png

18 Click/tap on Browse, navigate to and select the application (exe) file you want to run as administrator, click/tap on Open, select the icon you want for the shortcut, and click/tap on OK. (see screenshots below)

You can use any icon you want for this shortcut.


create_elevated_shortcut_without_UAC-15.png

19 Click/tap on OK. (see screenshot below)

create_elevated_shortcut_without_UAC-16.png

20 You can run at startup, Pin to Taskbar, Pin to Start, add to Start menu All apps, assign a keyboard shortcut to, or move this elevated shortcut to where you like for easy usage.


That's it,
Shawn Brink


 

Attachments

  • Elevated_shortcut.png
    Elevated_shortcut.png
    7.1 KB · Views: 50
Last edited:

abactuon

Well-known member
Member
VIP
Local time
3:53 PM
Posts
230
OS
Microsoft Windows 11 Home
Why is it still
ss.jpg
 

My Computer

System One

  • OS
    Microsoft Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    ASUS TUF Dash F15 FX516PM_FX516PM
    CPU
    Intel Core i7-11370H
    Motherboard
    ASUS FX516PM
    Memory
    Micron 4ATF1G64HZ-3G2E2/8G + Patriot PSD416G320081S
    Graphics Card(s)
    NVIDIA GeForce RTX 3060 Laptop
    Sound Card
    Edifier 800BT Plus
    Monitor(s) Displays
    LM156LF-2F03
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. PCIe Gen 4 KINGSTON SNV2S1000G
    2. PCIe Gen 3 SK Hynix HFM512GD3JX013N
    PSU
    200W
    Mouse
    Corsair KATAR PRO XT
    Internet Speed
    70 Mbps
    Browser
    Firefox
    Antivirus
    Microsoft Defender Antivirus

Sammy888

Active member
VIP
Local time
12:53 AM
Posts
215
OS
Windows 11
Can/how to alter, so we can run a third party application with the highest privileges without being prompted by UAC?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
    Graphics Card(s)
    NVIDA 1650 Ti
    Monitor(s) Displays
    Lenovo C32q-20

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
2:53 AM
Posts
6,739
OS
Windows 11 Pro for Workstations
Can/how to alter, so we can run a third party application with the highest privileges without being prompted by UAC?
Hello, :-)

You would just need to use the full path of the app's exe file in step 8 while creating the elevated task for the shortcut.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

Sammy888

Active member
VIP
Local time
12:53 AM
Posts
215
OS
Windows 11
Hello, :)

You would just need to use the full path of the app's exe file in step 8 while creating the elevated task for the shortcut.
Hi Brink!

Thanks, I'll play around with it and report back if I have issues.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
    Graphics Card(s)
    NVIDA 1650 Ti
    Monitor(s) Displays
    Lenovo C32q-20

Sammy888

Active member
VIP
Local time
12:53 AM
Posts
215
OS
Windows 11
Hello, :)

You would just need to use the full path of the app's exe file in step 8 while creating the elevated task for the shortcut.
Unfortunately, I can't seem to do this correctly with the 19 steps.

Can you provide illustrations/sample for a common search application like Everything. The additional steps like cmd.exe, entering or not entering quotes, accessing uncharted territory like the Task Scheduler library is causing my brain to hurt. I can't keep up with the other commands as well as there are way many steps involved.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
    Graphics Card(s)
    NVIDA 1650 Ti
    Monitor(s) Displays
    Lenovo C32q-20

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
2:53 AM
Posts
6,739
OS
Windows 11 Pro for Workstations
Unfortunately, I can't seem to do this correctly with the 19 steps.

Can you provide illustrations/sample for a common search application like Everything. The additional steps like cmd.exe, entering or not entering quotes, accessing uncharted territory like the Task Scheduler library is causing my brain to hurt. I can't keep up with the other commands as well as there are way many steps involved.

You will always need to enter cmd.exe at step 7 to have the command in step 8 run in a command prompt.

The quotes will need to be in the command like in the example note box under step 8.

What's the task name you're using and the full path of the Everything app's exe file?

I'll post back with the command you should use in step 8 to help.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

Scott

Well-known member
Member
VIP
Local time
10:53 PM
Posts
368
Location
Maui, HI
OS
Win 11 Pro 22H2 22621.900 | Win 10 Pro 22H2 19045.2311
Thanks for this tutorial Brink! Now my Logitech SetPoint app can start with Windows in admin mode. I had to manually add it to my startup folder.
 

My Computers

System One System Two

  • OS
    Win 11 Pro 22H2 22621.900 | Win 10 Pro 22H2 19045.2311
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel® Core™ i5-11600KF
    Motherboard
    ASUS TUF GAMING Z590-PLUS WIFI
    Memory
    CORSAIR Vengeance LPX 64GB (4x16GB)
    Graphics Card(s)
    EVGA GeForce RTX 3050 XC Black Gaming
    Sound Card
    Creative Labs PCIe Sound Blaster X-Fi Titanium (dan_k drivers)
    Monitor(s) Displays
    ASUS TUF Gaming 27" WQHD
    Screen Resolution
    2560 x 1440
    Hard Drives
    SAMSUNG 980 SSD 1TB PCle 4.0 NVMe
    SAMSUNG 970 EVO 1TB PCle 3.0 NVMe (x2)
    SAMSUNG 870 EVO 2TB SATA III (x2)
    SAMSUNG 870 EVO 250GB SATA III
    PSU
    CORSAIR HX750
    Case
    Antec Dark Phantom DP502 FLUX
    Cooling
    Corsair Hydro Series H60 AIO
    Keyboard
    Logitech MK 320
    Mouse
    Razer Basilisk V3
    Internet Speed
    200Mbs
    Browser
    Firefox
    Antivirus
    Winows Security
    Other Info
    UEFI, Secure Boot, TPM 2.0
    MR 8 HE
  • Operating System
    Win 11 Pro 22H2 22621.819
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel Core i7-8700
    Motherboard
    Asus Prime Z370 P-II
    Memory
    32 GB DDR4
    Graphics card(s)
    EVGA GeForce GTX 760
    Sound Card
    Realtek
    Monitor(s) Displays
    Samsung SMT27A300
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 870 EVO 500GB SSD
    Seagate Barracuda 7200rpm 1TB HDD
    PSU
    Corsair CX550M
    Case
    Old Antec, unknown model
    Cooling
    Hyper 212 EVO
    Browser
    Firefox
    Antivirus
    Windows Security

Sammy888

Active member
VIP
Local time
12:53 AM
Posts
215
OS
Windows 11
You will always need to enter cmd.exe at step 7 to have the command in step 8 run in a command prompt.

The quotes will need to be in the command like in the example note box under step 8.

What's the task name you're using and the full path of the Everything app's exe file?

I'll post back with the command you should use in step 8 to help.
Ok. Thanks. I look forward to any help in trying to avoid the UAC for my common and risk-free applications.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
    Graphics Card(s)
    NVIDA 1650 Ti
    Monitor(s) Displays
    Lenovo C32q-20

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
2:53 AM
Posts
6,739
OS
Windows 11 Pro for Workstations
Ok. Thanks. I look forward to any help in trying to avoid the UAC for my common and risk-free applications.

Are you able to do the steps in the tutorial now with this info?

If not, then which part did you need more help with?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

Sammy888

Active member
VIP
Local time
12:53 AM
Posts
215
OS
Windows 11
Are you able to do the steps in the tutorial now with this info?

If not, then which part did you need more help with?
Hi Brim.

Thanks for taking the time to reply.

I actually need help with the entire process. I am very uncomfortable going into the task scheduler and the instructions have too many steps. It leaves me very overwhelmed. And I have too many [safe] applications that I would like the UAC prompt disabled for.

I was hoping you could create a script, batch file or something similar where the user just points/selects the appropriate .exe file and then the automated process does the rest.

I also think it would be helpful if you can provide a sample with another non-windows application, like Everything.exe or any "random.exe" non-windows file that is within C:\Program Files (x86) or C:\Program Files.
 
Last edited:

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
    Graphics Card(s)
    NVIDA 1650 Ti
    Monitor(s) Displays
    Lenovo C32q-20

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
2:53 AM
Posts
6,739
OS
Windows 11 Pro for Workstations
Hi Brim.

Thanks for taking the time to reply.

I actually need help with the entire process. I am very uncomfortable going into the task scheduler and the instructions have too many steps. It leaves me very overwhelmed. And I have too many [safe] applications that I would like the UAC prompt disabled for.

I was hoping you could create a script, batch file or something similar where the user just points/selects the appropriate .exe file and then the automated process does the rest.

It looks harder than it actually is. All the steps are there to help make it easier to follow along them to create the elevated task.

If wanted, you could give it a try for one with our help to see how you do.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium
Top Bottom