How to Always Run Windows Terminal as Administrator

If you are a pro user, you likely know the Windows Terminal app that ships with Windows 11. The new Windows Terminal app provides access to all command line tools such as Command Prompt, PowerShell, and Azure Cloud Shell.

Even though the new tool is helpful as it lets you access all pro tools from a single place, it always runs in user mode by default. While making changes to system settings or protected folders, you may sometimes have to run command line tools as an Administrator.

Fortunately, the Windows Terminal app can be configured in Windows 11 to always run in administrator mode. If you set Windows Terminal to always run as administrator, you don’t need to run all command line tools as an administrator manually.

Also read: How to Change Color Scheme and Font in Windows Terminal

Steps to Always Run Windows Terminal as Administrator

There are multiple ways to force Windows Terminal app to always run as an administrator; you can either change the Terminal settings or create a shortcut. Here are the two best ways to always run Windows Terminal as an administrator on Windows 11.

Always Open Terminal as an Administrator

Here we will make a few changes to the Windows Terminal’s Settings to always run it as an administrator. Follow some of the simple steps we have shared below.

1. First, click on the Windows 11 search and type in Terminal. Next, open the Windows Terminal app from the list.

Windows Terminal

2. When the Windows Terminal opens, click on the drop-down menu in the tab as shown below.

drop-down arrow

3. On the menu that appears, click on Settings.

Settings

4. On the Settings, click on the Defaults on the Profiles section.

Defaults

5. On the right side, scroll down and enable the toggle for ‘Run this profile as administrator’

'Run this profile as administrator'

6. After making the changes, click on the Save button.

Save

That’s it! This will force Windows Terminal to always run profiles such as Command Prompt, PowerShell, etc., as an administrator.

Create a Desktop Shortcut to Open Windows Terminal as an admin

Well, if you are using older builds of Windows 11, you won’t find the ‘Run this profile as administrator’ option. Hence, you need to create a desktop shortcut for the same purpose.

1. First of all, click on anywhere on your desktop and select New > Shortcut.

New > Shortcut

2. On the type the location of the item field, type the following path and click on the Next button.

%LocalAppData%\Microsoft\WindowsApps\wt.exe

type the following path

3. Now, on the Type a name for this shortcut field, type Windows Terminal and click on the Finish button.

Windows Terminal

4. Now, right-click on the newly created Windows Terminal shortcut and select Properties.

properties

5. On the Windows Terminal properties, click on the Advanced.

Click on Advanced

6. On the Advanced Properties, check the Run as administrator option and click on the Ok button.

Always Run Windows Terminal as Administrator

That’s it! This is how you can create a desktop shortcut for Windows Terminal to always run as an administrator.

Also read: Download Windows Terminal Latest Version

While we have shared the methods for Windows 11, Windows 10 users must follow the same steps always to run Windows Terminal as an administrator. So, that’s all about how to always run Windows terminal as administrator on Windows 11. If you need more help, let us know in the comments below.

The post How to Always Run Windows Terminal as Administrator appeared first on TechViral.

Leave a Reply

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

Subscribe to our Newsletter