windows 10: launch windows terminal as administrator from task bar in one click and use single icon

Solution 1:

Use the single Task Bar icon instead of creating the duplicate.

Unfortunately, there is no way to elevate the permissions of a UWP application, doing so doesn’t actually do anything since the permissions of a UWP application are purposefully limited when launched.

However, on Windows 10 there is an acceptable workaround:

  1. Right-click on the Desktop or a folder and select New > Shortcut.

  2. Type in the following location textbox and click next:

    c:\windows\system32\cmd.exe /c start /b wt

  3. In the name textbox, type in Windows Terminal and click next.

  4. Right-click on the newly created shortcut and select Properties.

  5. Click the Advanced button and check Run as Administrator.

  6. In order to make the shortcut look identical you can download the Windows Terminal icon file and set the icon of the shortcut within the Properties window.

  7. Right-click on the created shortcut and select Pin to Taskbar.

It’s worth pointing out this method doesn’t appear to elevate the permissions of Windows Terminal, you are actually just elevating the permissions of default profile within Windows Terminal. This method is only valid for Windows 10 at this time.

Ironically, on Windows 11, it’s as simple as launching Windows Terminal with “run as Administrator” since it’s built-into Windows 11.

Source: Run Windows Terminal as an Administrator by Default