Skip to content
Windows 🟢 Beginner

How to Add or Remove Windows Terminal Shield Icon

Richard
Written by
Richard
Updated 5 min read
Enable Shield Icon in Windows Terminal Admin Mode
Enable Shield Icon in Windows Terminal Admin Mode
Before you start
  • 3 ways to do it
  • Needs administrator rights

The admin shield icon in Windows Terminal is a small marker that shows when your command-line window has administrator rights. Windows 11 lets you turn this title bar indicator on or off depending on your preference.

You need administrator permissions for advanced PC tasks like editing system files or managing network settings. Controlling this icon helps you keep track of your security privileges while you work across multiple windows. The icon only appears in a Terminal window that is actually running as administrator. A normal window never shows it, whichever way the setting is switched.

⚡ Quick Answer

To turn the Windows Terminal shield icon on or off, open Settings in Windows Terminal with Ctrl + comma, click Appearance, and flip the switch for “Display a shield in the title bar when Windows Terminal is running as Administrator.” Recent versions save the change automatically, with no restart needed.

Advertisement

Method 1Easy Settings Adjustment

💡TipThe simplest way to add or remove the shield icon is the built-in Windows Terminal settings. This setting places a clear cue on your title bar, so you can tell at a glance whether the current window runs with administrator permissions. It needs no administrator rights, and it works the same on Windows 11 Home and Pro.
  1. Open Windows Terminal. Click Start, type Terminal, and open Windows Terminal. A terminal window opens with a prompt.

  2. Open Settings. Click the small dropdown arrow next to the tabs at the top of the window, then choose Settings. You can also press Ctrl + , (the Control key and the comma key together). A Settings tab opens with a list of options on the left.

  3. Click Appearance in the list on the left side. The appearance options for the window show on the right.

  4. Find the option named Display a shield in the title bar when Windows Terminal is running as Administrator. If you don’t see it, scroll down the page. If it is missing altogether, your Windows Terminal is probably an older version, so update it from the Microsoft Store.

  5. Click the switch next to this option to set it to On or Off.

    • On shows the shield icon, which confirms that Windows Terminal is running with administrator rights.
    • Off hides the icon and gives you a cleaner title bar.
  6. Click Save if the button is shown at the bottom of the page, then close the Settings tab. Recent versions save changes automatically, and you don’t need to restart Terminal.

To undo the change, open the same page and flip the switch back. To test it, right-click Windows Terminal in the Start menu and choose Run as administrator. The shield should appear or stay hidden according to your setting.

Advertisement

Method 2Using the Registry Editor

Registry Editor lets you turn the Windows Terminal shield icon on or off by changing specific system values. This method gives you direct control over the title bar display. Follow the steps carefully, because a wrong edit in the registry can cause system errors.

⚠️Warning⚠️ Important Note: Be very careful when editing the registry. Mistakes can cause problems with your computer. Save a backup of your registry before you start. To do this, open the Registry Editor, click File > Export, choose a location, and save the file. To restore the backup later, double-click the exported file.
  1. Open Registry Editor. Press Windows key + R to open the Run box. Type regedit and press Enter. If a User Account Control prompt asks for permission, click Yes. The Registry Editor window opens with a folder tree on the left.

  2. Go to the right key. In the folder tree on the left, navigate to this location: %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

    If you don’t see a folder named Settings inside the Windows\Terminal folder, create it. Right-click the Windows\Terminal folder, select New, and then choose Key. Name the new key Settings.

  3. Create a new value. With the Settings folder selected, right-click the empty space on the right side. Choose New, and then select DWORD (32-bit) Value. A new entry appears in the list with its name highlighted for editing.

  4. Name the value. Type showAdminShield exactly and press Enter. Check the spelling and capitalization, because Windows will ignore a value with the wrong name.

  5. Set the value. Double-click the showAdminShield value you just created. A small window opens. In the Value data field, enter one of these:

    • Enter 1 to show the shield icon when running as administrator.
    • Enter 0 to hide the shield icon when running as administrator.

    Click OK when you are finished.

    To change the setting later, come back to this value and switch the number between 1 and 0. A value of 1 displays the icon when Windows Terminal runs as an administrator, while 0 hides it. To remove your change completely, right-click the value, choose Delete, and confirm.

  6. Close and restart. Close the Registry Editor. Then close all Windows Terminal windows and open Terminal again. The change should now be active.

Method 3Using PowerShell

PowerShell gives you a quick way to control the Windows Terminal shield icon with a command. It updates the same registry value as the previous method without opening any graphical menus, which makes it a good fit for fast changes.

  1. Open PowerShell. Click Start, type PowerShell, and press Enter. A PowerShell window opens. For this setting, administrator rights are usually not needed. If a command returns an access-denied error, close the window, right-click PowerShell in the search results, select Run as administrator, and try again.

  2. Enter the command. Type or paste one of the following commands into the PowerShell window and press Enter. These commands change the same registry setting as in Method 2.

    To show the shield icon:

    💻Code
    "showAdminShield": true

    To hide the shield icon:

    💻Code
    "showAdminShield": false

    Explanation: This command tells PowerShell to set a specific property (Set-ItemProperty) at a certain location (-Path) with a new data value (-Name) and type (-Value). If PowerShell prints an error in red, check the command for typos. If it prints nothing, the command worked.

  3. Restart Windows Terminal. Close all open Windows Terminal windows and then open it again. Your chosen setting should now be applied.

    Copy and paste the commands instead of typing them. This avoids typing mistakes and makes sure the command for the title bar’s admin shield icon runs correctly. To undo the change, run the other command from the previous step and restart Terminal again.

Summary

The Windows Terminal shield icon is a visual indicator that shows when the application is running with administrator rights. You can control its appearance through the Terminal’s own settings, which is the easiest route, or by making changes in the Windows Registry with the Registry Editor or PowerShell.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

1 Comment

Leave a Comment

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