How to Always Run Terminal as Admin on Windows: 3 Easy Ways

Windows Terminal is a powerful command line tool that allows system administrators to perform various tasks. However, many tasks require administrator privileges to run correctly, making it difficult for users to follow the tedious steps of opening Terminal in administrator mode. So, to save you time and hassle when working with Terminal, we will show you how to always run Terminal as administrator on Windows.

How to Always Run Terminal as Administrator on Windows

This guide is especially useful for developers, system administrators, and proficient users who use Windows Terminal frequently to run scripts and commands that require administrator privileges. With that said, let’s start with the article.

1. How to always open Windows Terminal as Administrator using Settings

This method will help you to permanently launch Windows Terminal as administrator. As a result, you won’t have to select Run as administrator every time you launch Windows Terminal. Follow the steps below.

Step 1: Press the Windows key on your keyboard, type Windows terminaland then click Open.

type Windows Terminal

Step 2: Click on the chevron icon (arrow).

Note: Alternatively, you can press ‘Control + ,’ to open Settings.

Click on the chevron icon (arrow)

Step 3: From the drop-down menu, select Settings.

Select settings

Step 4: In the left pane of the window, under Configuration, click Default.

navigate to Default

Step 5: Now, in the right pane, enable ‘Run this profile as Administrator.’

enable 'Run this profile as Administrator'

Step 6: Click Save to apply the changes.

See more:  How to Block Spoilers from Your Social Media Accounts

Click Save to apply the changes

Once you complete the above steps, the next time you open Terminal to use Command Prompt or PowerShell, it will open with elevated administrator privileges. If you want to avoid making changes to Terminal’s settings but still want to open it as administrator without any hassle, keep reading.

2. Run Windows Terminal as Administrator using Desktop Shortcut

This method is simpler and does not require changing the Terminal’s settings. It’s another and faster workaround. Let’s show you.

Step 1: Right-click on the Windows desktop, go to New and select the Shortcut option.

Right click on the Windows desktop

Step 2: In the Create Shortcut window, type the path below and click Next.

%LocalAppData%\Microsoft\WindowsApps\Wt.exe

enter the link below and click Next

Step 3: In the next screen, give the shortcut a name and click Finish.

Example: Windows Terminal Administrator

name the shortcut

Step 4: Now, right-click on the newly created shortcut and select the Properties option from the context menu.

select the Attributes option

Step 5: In the Shortcut tab, click the Advanced button.

Go to the Shortcuts tab

Step 6: In Advanced Properties, check the ‘Run as administrator’ option and click OK.

check the 'Run as administrator' option

That’s it. You have successfully created a Terminal shortcut that, whenever opened, opens with administrator privileges. You can also change the shortcut icon to the Windows Terminal icon.

Step 7: Now click on the Change Icon button.

Click the Change Icon button

Step 8: Enter the path below and press Enter.

%systemroot%\system32\shell32.dll

Enter the path below and press Enter

Step 10: Select the icon and click OK.

Select the icon and press OK

Step 11: Finally, click Apply and OK.

click Apply and OK

You can now double-click the shortcut to quickly open Windows Terminal with administrator privileges. Furthermore, you can drag the shortcut to the taskbar or ‘Pin to Top’ to make your process more efficient.

See more:  How to Remove Meta AI on Instagram

That said, if you run Windows Terminal from time to time, you don’t need to do all of the above methods. You can open Terminal and ‘Run as administrator’ as needed. Read on.

3. Open Windows Terminal as Administrator via Search

There are many ways to open Windows Terminal as administrator. Such as using the Run dialog box, Quick access menu, and start menu. However, Windows Search is the most common way to access Terminal. Follow the instructions below.

Step 1: Press the Windows key on your keyboard and type End.

type Terminal

Step 2: Now click ‘Run as administrator.’

click 'Run as administrator'

In the prompt, click Yes.

There you have it. You have successfully opened Windows Terminal as administrator. If you have any questions, check out the FAQ section below.

FAQ about Running Windows Terminal as Administrator

1. Is Windows Terminal the same as PowerShell?

With Windows Terminal, you can use many shells, including PowerShell, Command Prompt, and Azure Cloud Shell, among others. On the other hand, PowerShell is a scripting language and command line shell that can be used alone or as part of Windows Terminal.

2. Does Windows Terminal use GPU?

Yes, it uses the GPU to render its text, thereby improving performance over the default Windows command line experience.

3. Is PowerShell always an administrator?

Normally, PowerShell runs with the same permissions as the current logged in user. However, you can run PowerShell as administrator by pressing the Windows key and typing PowerShell, then clicking ‘Run as administrator’.

Eliminate extra step

Now that you know how to always run Terminal as administrator on Windows, this can be a useful way to save time and improve your workflow. Remember, while running a terminal as administrator grants you more permissions, it also exposes your machine to more potential security risks. Therefore, use the above methods wisely.

See more:  Escape Simulator The Lab Walkthrough

Categories: How to
Source: thpttranhungdao.edu.vn/en/

Rate this post

Leave a Comment