Enable Shield Icon in Windows Terminal Admin Mode
In this article
Yes – you can make the shield (administrator) icon appear on the Windows Terminal shortcut or task‑bar pin by launching the app with elevated privileges and setting the shortcut to always run as administrator.
What You’ll Need
- Windows Terminal installed (Microsoft Store version or the latest release from GitHub)
- An account that has administrator rights on the PC
- Basic familiarity with the Windows File Explorer and shortcut properties
Step‑By‑Step
- Open the Start menu, type Windows Terminal, right‑click the result and choose Open file location. This opens the folder that contains the shortcut (
WindowsTerminal.exeor a shortcut namedWindows Terminal.lnk). - If the opened item is the actual executable (
WindowsTerminal.exe), create a shortcut: right‑click the file, select Send to → Desktop (create shortcut). If you already see a shortcut file, skip this sub‑step. - On the shortcut (desktop or in the Start menu folder), right‑click and choose Properties. A dialog with several tabs appears.
- Switch to the Shortcut tab (if you are on the General tab, click Shortcut). Then click the Advanced… button near the bottom.
- In the Advanced Properties window, check the box labeled Run as administrator. Click OK to close the dialog, then Apply and OK on the main Properties window.
- Notice the shortcut icon now displays a small shield overlay in the lower‑left corner. This indicates that Windows will request elevation each time the shortcut is used.
- If you want the shield to appear on a task‑bar pin, drag the newly‑modified shortcut onto the task‑bar. Windows will replace the existing pin with the elevated version, preserving the shield.
- Test the configuration: click the shortcut or task‑bar icon. You should see a User Account Control (UAC) prompt asking "Do you want to allow this app to make changes to your device?" Accepting the prompt opens Windows Terminal with administrator rights, and the shield remains visible.
Common Mistakes
- Modifying the executable instead of the shortcut. The shield overlay only appears on shortcuts; changing the properties of
WindowsTerminal.exedirectly will not add the icon. - Forgetting to apply the change. After checking "Run as administrator," you must click Apply before closing the Properties window; otherwise the setting is discarded.
- Using a non‑admin account. If the current user lacks admin rights, the "Run as administrator" checkbox is greyed out and the shield will never appear.
- Pinning before setting the shortcut. Pinning the original shortcut to the task‑bar, then later enabling "Run as administrator," does not automatically update the pinned icon. You must re‑pin after the change.
Tips
- To keep the shield visible but avoid the UAC prompt each time, adjust the UAC level in Control Panel → User Accounts → Change User Account Control settings. Setting it to "Never notify" removes the prompt but still runs the app with admin rights. Use this only on trusted machines.
- If you frequently switch between normal and elevated Terminal sessions, create two separate shortcuts: one with the shield (admin) and one without. Label them clearly, e.g., "Windows Terminal (Admin)".
- When using Windows Terminal profiles that launch PowerShell or Command Prompt, the elevation applies to the whole Terminal instance, giving every tab admin rights.
- For corporate environments where group policy disables UAC prompts, the shield may still appear but the elevation will be silently granted. Verify with your IT department.
Troubleshooting
If the shield does not appear after following the steps above, try the following checks in order:
- Restart Explorer. Open Task Manager (Ctrl + Shift + Esc), find
Windows Explorer, right‑click and choose Restart. This forces the task‑bar to refresh the icon. - Confirm the shortcut you edited is the one being used. Right‑click the task‑bar icon, select Properties**, and verify the target path matches the shortcut you modified.
- Check UAC settings. If UAC is disabled via group policy, Windows may ignore the "Run as administrator" flag, leaving the shield hidden. Re‑enable UAC or contact your system administrator.
- Update Windows Terminal. An outdated version may have a bug that prevents the overlay from displaying. Open Microsoft Store, go to Library**, and click Update** for Windows Terminal.
- Re‑create the shortcut. Delete the existing shortcut, create a fresh one from the Start menu, and repeat the "Run as administrator" steps.
- Verify file‑system permissions. The shortcut file must be writable by your user account. If it resides in a protected folder (e.g.,
C:\Program Files\WindowsApps), copy it to a user‑writable location like the Desktop before editing.
If none of the above resolves the issue, consider resetting Windows Terminal settings by deleting the %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json file. This restores default configuration but preserves the shortcut you edited.
Frequently Asked Questions
Does the shield icon guarantee that every tab runs as admin?
Yes. When the shortcut launches Windows Terminal with elevated rights, the entire process inherits those rights, so all tabs opened from that instance run with administrator privileges.
Can I enable the shield for the Microsoft Store version without creating a shortcut?
No. The Store version only shows a shield when launched via a shortcut that has the "Run as administrator" flag. Directly clicking the tile will not display the icon.
Will enabling the shield affect performance?
Running with elevated privileges does not noticeably change performance. The only impact is the extra security check (UAC prompt) before the app starts.
Is it possible to have the shield appear on the Start menu tile?
The Start menu does not display the shield overlay. The visual cue is limited to shortcuts and task‑bar pins.
What if I receive "Access is denied" when trying to edit the shortcut?
That means the shortcut resides in a location that requires admin rights to modify. Move the shortcut to a user‑writable folder (Desktop or Documents) before editing.
Can I disable the shield while keeping the app elevated?
The shield is a visual indicator only; you cannot hide it without disabling the "Run as administrator" flag, which would also stop the elevation.