How to Open Windows Terminal as Administrator in Windows 11

In Windows 11, instead of the default command line, there is a built-in Windows terminal, which has become a single replacement for PowerShell and CMD. Windows Terminal is a single window that includes CMD, PowerShell, and AzureCloudShell to provide usability when entering commands and applets.

First of all, you should know that by launching the Windows Terminal as an administrator and opening a command prompt window or PowerShell nearby, they also open with elevated rights.

In addition, opening Terminal through the context menu in Windows 11 will open in the current path and without administrator rights. For example, if you right-click on the desktop and launch the Terminal, it will start from the present path C: \ Users \ PCName \ Desktop.

Open Windows Terminal in Windows 11

Open Windows Terminal in Windows 11

Using Shortcut Key

To quickly open Terminal, CMD, PowerShell and Azure Cloud as administrators, open Terminal and press:

  • Ctrl + Shift + 1 : Start PowerShell with elevated privileges.
  • Ctrl + Shift + 2 : Launch an elevated command prompt.
  • Ctrl + Shift + 3: Launch Azure Cloud with elevated privileges.

From the Win + X menu

  • Press the keyboard shortcut Win + X and select Windows Terminal (Admin).

Searching the start menu

  • Open the Windows 11 start menu, search for ” terminal, ” right-click and select run as administrator.

Using “Run”

  • Press Win + R on your keyboard and write wt.exe.
  • Then hold down Ctrl + Shift + Enter, which will launch the terminal on behalf of the administrator.

Through the task manager

  • Press Ctrl + Shift + Esc to open the Task Manager.
  • Click the File tab > Run New Task.
  • Write wt.exe in the window.
  • Check the ” Create a task with admin rights ” checkbox.
  • Click OK.

Note: If you need to run the command line as an administrator in the terminal, click on the shortcut and select “Windows Terminal”.

Tip: If you want the command line to open when starting the terminal and not PowerShell, click ” Options ” and select the default CMD.

Leave a Reply