Содержание статьи:
- Запуск терминала (в т.ч. под админом)
- Вариант 1
- Вариант 2
- Вариант 3
- Вариант 4
- 📌 Что насчет Power Shell
- 📌Автозагрузка терминала (вместе с Windows)
- Вопросы и ответы: 0
Сегодняшняя заметка будет относится к справочным материалам. Самые нужные команды для CMD/командной строки (терминала) можете почерпнуть тут.
*
Всем доброго времени суток!
В «новую» ОС Windows 11 вместо командной строки (CMD) по умолчанию в меню был встроен терминал (Terminal). Представляет он из себя полноценную замену сразу для PowerShell, CMD и AzureCloudShell (3 в 1!) — что, кстати, весьма удобно при использовании команд и апплетов.
📌Чтобы его запустить — в большинстве случаев достаточно кликнуть правой кнопкой мыши по меню ПУСК. Однако, в последних версиях Windows 11 с этим иногда возникла «проблема» (панель задач с ПУСК’ом пропадали / либо подвисали). Собственно, это и побудило создать небольшую заметку с неск. способами запуска терминала.
Итак…
*
Запуск терминала (в т.ч. под админом)
Вариант 1
Самый универсальный (и «живучий» судя по всему) способ запустить терминал:
- воспользоваться сочетанием клавиш Ctrl+Alt+Del и вызвать диспетчер задач;
- нажать по меню «Файл / новая задача»;
- в строку «Открыть» ввести wt.exe и поставить галочку, что задача нужна с правами администратора. См. пример ниже; 👇
- нажать OK. Терминал должен открыться…
wt.exe — диспетчер задач — запуск терминала в Windows 11
Терминал открыт…
*
Вариант 2
Если проводник у вас корректно работает — попробуйте на рабочем столе нажать сочетание клавиш: Win+X. Если все «OK» — должно появиться окно со ссылкой на терминал, см. скриншот ниже (в т.ч. можно запустить и под администратором 👌).
Сочетание Win+X
Кроме этого, можно нажать ПКМ по свободному месту рабочего стола или на каком-нибудь каталоге — а во всплывшем контекстном меню выбрать «Open in Windows Terminal». 👇
Правый клик мышки по папке (рабочему столу)
*
Вариант 3
Если у вас на панели задач есть значок поиска — просто наберите в строке «Terminal» — Windows сама найдет его и предложит открыть. См. пример ниже. 👇
Поиск — terminal — открыть
*
Вариант 4
Если предыдущие варианты не увенчались успехом — возможно в вашей версии терминал не установлен (хотя, такого сейчас не должно быть…).
В общем, рекомендую попробовать 📌открыть Microsoft Store (в меню ПУСК должен быть ярлык…) и найти в магазине терминал (см. пример ниже). Также 📌ссылка в помощь.
Если у вас терминал установлен — просто нажмите по кнопке «Open» (в переводе «Открыть»), в противном случае — сначала инсталлируйте его («Install»…).
Microsoft Store — Windows Terminal — Open — Windows 11
*
📌 Что насчет Power Shell
Если у вас открыт терминал — то прямо из него можно запустить Windpws Power Shell. Для этого просто нажмите по «стрелочке» в верхней строке и выберите соотв. опцию в меню (либо нажмите сочетание Ctrl+Shift+1).
См. скрин ниже. 👇
Скриншот. Как из терминала открыть Windows Power Shell
*
📌Автозагрузка терминала (вместе с Windows)
Терминал (да и командную строку) можно «заставить» открываться сразу после запуска Windows — вместе с появл. рабочего стола… В определенных случаях —такой подход весьма удобен!
Как это сделать:
- открыть терминал (выше предложено 4 варианта);
- в верхнем меню кликнуть по «стрелочке» и выбрать меню «Settings»;
- в разделе «Startup» включить опцию «Launch on machine startup» и сохранить настройки. См. скрины ниже. 👇
Settings — терминал Windows 11
Startup — Settings — Windows 11
*
Иные способы приветствуются в комментариях!
Успехов!
👋
Часто во многих руководствах для Windows 11 вам необходимо будет использовать терминал Windows от имени администратора, давайте рассмотрим как это сделать.
В Windows 11 по умолчанию установлено новое приложение Windows Terminal. С его помощью вы можете использовать PowerShell, WSL и Командную строку в разных вкладках одного окна консоли.
Как открыть терминал Windows от имени администратора.
С помощью меню «Пуск»
- Нажмите кнопку «Пуск», на панели задач.
- Кликните элемент «Все приложения».
- Прокрутите список вниз и найдите приложение «Windows Terminal». Вы также можете найти приложение по буквам в Windows 11 с помощью алфавитной навигации.
- Кликните на нем правой кнопкой мыши, выберите в контекстном меню «Дополнительно» и кликните «Запуск от имени администратора».
- Или, нажмите клавиши Ctrl Shift, а затем кликните приложение «Терминал Windows».
- Подтвердите запрос UAC. После чего будет запущен терминал Windows с повышенными правами.
С помощью поиска Windows 11
- Кликните значок поиска на панели задач или используйте сочетание клавиш Win S, чтобы открыть панель поиска.
- Введите: Terminal
- В результатах поиска кликните элемент со стрелкой вниз (см. картинку), чтобы просмотреть все доступные параметры.
- Выберите из доступных вариантов «Запуск от имени администратора».
Открыть терминал Windows от имени администратора с панели задач
Если вы закрепили терминал Windows на панели задач вы в два клика сможете его открывать с повышенными правами.
Кликните приложение правой кнопкой мыши в открывшемся меню снова кликните «Windows Терминал» правой кнопкой мыши и выберите «Запуск от имени администратора».
Открыть терминал Windows от имени администратора с помощью окна «Выполнить»
- Откройте диалоговое окно «Выполнить».
- Введите в строку «Открыть»: wt.exe
- Нажмите сочетание клавиш Ctrl Shift Enter, подтвердите запрос UAC. После чего откроется терминал Windows с правами администратора.
Откройте Терминал Windows от имени администратора из диспетчера задач.
- Откройте приложение «Диспетчер задач».
- В меню выберите «Файл» → «Запустить новую задачу».
- В диалоговом окне «Выполнить новую задачу» наберите команду wt.
- Установите отметку для параметра «Создать эту задачу с правами администратора».
- Нажмите кнопку «ОК» или клавишу Enter, чтобы открыть новый терминал Windows как администратор.
Открыть терминал Windows как администратор с помощью меню Win X
- Кликните правой кнопкой мыши кнопку «Пуск».
- В меню выберите Windows Terminal (Admin).
- Подтвердите приглашение UAC.
Как всегда открывать Терминал Windows от имени администратора
Чтобы после запуска терминала все командные консоли выполняли команды с повышенными правами, выполните следующие действия:
Шаг 1: Откройте Терминал Windows.
Примечание: Параметр автоматического повышения уровня доступен в Windows Terminal версии 1.13 и выше. Чтобы проверить версию терминала, используйте команду «wt -v».
Если вам нужно обновить приложение, используйте команду: winget upgrade —id Microsoft.WindowsTerminal.Preview
Если у вас нет приложения, используйте команду для его установки: winget install —id Microsoft.WindowsTerminal.Preview
Шаг 2: Нажмите кнопку меню рядом с параметром новой вкладки и выберите «Settings» (Параметры).
Шаг 3: В разделе «Профили» кликните раздел «Defaults» (По умолчанию).
Шаг 4: Передвиньте ползунок переключателя для «Run this profile as Administrator» (Запускать этот профиль от имени администратора) в положение «ON» (Вкл.), чтобы автоматически запускать командную строку, PowerShell и любой другой профиль от имени администратора.
Шаг 5: Нажмите кнопку «Сохранить».
После того, как вы выполните эти шаги, в следующий раз, когда вы откроете Терминал он откроется с повышенными правами, в том числе любой профиль: командная строка или PowerShell.
In this post, we will review different methods you can use to open Windows Terminal as Administrator in Windows 11. Opening Elevated Windows Terminal will allow you to preform maintenance and administrative tasks which are not accessible from a regular app instance with default permissions.
Windows 11 includes a new app by default named Windows Terminal. It unifies PowerShell, WSL, and the classic Command Prompt in one stylish and flexible console. It supports tabs, so you can work simultaneously with any of the available shells.
Windows Terminal is highly customizable. It supports profiles, so you can have a customizable shell adapted for your personal work flow. It also have a bunch of hotkeys to save your time, which are also can be changes following your taste.
Apart from its powerful functionality, the app has a cool, fancy look. It supports emoji, background images (including animated gifs), and comes with hardware accelerated text rendering.
In this article, we will review various methods of opening Elevated Windows Terminal as Administrator.
Here is how you can open Windows Terminal as Administrator in Windows 11. We will review several methods of launching it elevated. You can use the Start menu, Search, the Run dialog, the Task Manager app, and the Win + X menu.
- Click on the Start button, which is the leftmost icon at the taskbar center. You can also disable the centered taskbar in Windows 11.
- Click on the All apps item.
- Scroll down the list and find the Windows Terminal entry, but don’t click it. You can also find apps by letter in Windows 11 using alphabet navigation.
- Press and hold the Ctrl + Shift keys on the keyboard, and now click on Windows Terminal.
- Confirm the UAC prompt. You have an elevated Windows Terminal running.
From Windows Search
- Press Win + S to open the Search pane, or click on the Search icon in the taskbar.
- Type windows terminal.
- In the search results, click on the down arrow chevron to see the all available options.
- Select Run as administrator.
Tip: You can also directly type windows terminal in the Start menu search box. This will do the trick, and you will be able to open Windows Terminal as Administrator in Windows 11.
Open Elevated Windows Terminal from Run
- Press the Win + R keys to open the Run dialog box.
- Type
wt.exein the Run text field. - Press Ctrl + Shift + Enter and confirm the UAC prompt.
This is how you open Windows Terminal as Administrator using the Run option.
Open Windows Terminal as Administrator from Task Manager
- Open the Task Manager app.
- From the menu, select File > Run new task.
- Enter the
wtcommand in the Run new task dialog. - Now, turn on the Create this task with administrator privileges option.
- Click OK to open a new elevated Windows Terminal.
- Press Win + X, or right-click the Start button. If you have a computer with a touch screen, you can tap and hold the Start button.
- Select Windows Terminal (Admin) from the menu.
- Confirm the UAC prompt, and you are done.
In addition to the right-click menu of the Start button, you can also add the similar feature to File Explorer. With a few simple steps you can have the «Windows Terminal as Administrator» item available in any folder. This will allow you to launch an elevated Windows Terminal right in the current folder location. Also, it allows selecting different profiles via the cascading menu options in Windows 11.
- Download Winaero Tweaker, install, and run it.
- Find the Windows Terminal option on the left.
- Check the option Add Windows Terminal (Administrator) settings.
- Finally, select the profiles you want to have in the menu.
- Right-click on any folder in File Explorer and select Show more options.
- Now, select the Windows Terminal option with a shield icon.
If you don’t want to use Winaero Tweaker, we have here ready-to-use Registry files that are available in this post.
Support us
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won’t take a lot from you, but it will help us grow. Thanks for your support!
Download Windows Speedup Tool to fix errors and make PC run faster
If you want to run a profile as an administrator in Windows Terminal on a Windows 11/10 computer, then this post will be helpful. Whether you want to use Windows Terminal to open PowerShell profile, Azure Cloud Shell, Command Prompt, or any other profile with admin rights, you can do this using a built-in option of Windows Terminal. Apart from that, you can also run all profiles as an administrator in Windows Terminal. This post covers both options separately.
This option lets you select which profile can be run as administrator in Windows Terminal. Here are the steps:
- Open Windows Terminal using the WinX menu of Windows 11/10, Search box, or some other way
- Press Ctrl+, hotkey or click on the Settings option available in the drop-down icon of Windows Terminal
- When the Settings tab is opened, select a Profile from the Profiles section
- Use the toggle available for Run this profile as Administrator
- Press the Save button.
Now whenever you will run that profile, it will always open in an Admin terminal window. If the current window is not running as admin, it will open the profile in a new window.
In the same way, you can also run any other profile or all the profiles as an administrator in Windows Terminal.
Related: How to open and use Command Palette in Windows.
Run all profiles as Administrator in Windows Terminal
There are a couple of ways to run all the profiles as an administrator in Windows Terminal. These are:
- Using Windows Terminal Settings
- By running Windows Terminal as Administrator.
1] Using Windows Terminal Settings
- Open Windows Terminal
- Use Ctrl+, hotkey to access Windows Terminal Settings
- Click on the Defaults option. It is present under the Profiles section on the left side
- Turn on the Run this profile as Administrator button.
The settings defined by you under Defaults are applied to all profiles unless you change settings for a profile separately. Thus, when you turn on this Run this profile as Administrator option, it is turned on for all the available profiles automatically. If you want, you can turn off this option for any profile separately.
2] By running Windows Terminal as Administrator
There are multiple ways to open Windows Terminal as an administrator. For example, you can right-click on the Start button of Windows 11/10, and then click on Windows Terminal (Admin) option. After that, any profile opened by you in that Admin Terminal window will run as administrator. Even if the option to Run this profile as Administrator is turned off for a particular or all profiles, those profiles will run as administrator.
How do I run as an administrator in Terminal?
If you want to run a profile as an administrator in Windows Terminal, then you can use the Run this profile as Administrator option. This option is available for each individual profile separately under the Windows Terminal Settings. Apart from that, you can also access the Defaults section under Settings and enable the associated setting to run all profiles as an administrator. This post above covers both options with step-by-step instructions.
How do I add a profile to Windows Terminal?
To add a new profile in Windows Terminal, follow these steps:
- Use Ctrl+, hotkey to open Windows Terminal Settings
- Click on the Add a new profile option from the left section
- Click on the New empty profile button
- Set options for the profile like name, executable used in the profile, tab title, etc.
- Press the Save button.
Hope it helps.
Read next: Windows Terminal Tips and Tricks to make you work like a Pro.
Laxman has done Bachelor’s in Computer Science, followed by an MBA. Writing about Windows OS and the free software and services that are available for the Windows operating system is what excites him.
Reader Interactions
You must open Windows Terminal as an administrator to run certain commands and scripts. Here is how to do it in simple steps.
The Command Prompt and PowerShell have been the default command line experiences for a long time now. If you want to run a command or script, you must open the Command Prompt or PowerShell. With Windows 11, that is changed. From now on, the new Windows Terminal is the default command-line experience. You can access the Command Prompt and PowerShell directly in the Windows Terminal.
There is nothing wrong with the old Command Prompt and PowerShell windows. However, they are pretty old and lack a lot of features. For example, there is little to no UI customization, and you cannot create profiles, don’t support rich text experience, and more. The old Command Prompt and PowerShell programs are pretty barebones.
Windows Terminal is built from the ground up to merge different command-line experiences like Command Prompt, PowerShell, WSL, etc., and provide a consistent user experience.
You can open a different shell in a separate tab from a single window. What’s more, you can run those shells simultaneously. If needed, you can open multiple tabs of the same shell. For example, you can run two or more Command Prompt tabs simultaneously without conflicts.
Why open Windows Terminal as Admin?
Like with Command Prompt and PowerShell, most commands and scripts run fine with standard privileges. However, some commands and scripts require admin privileges. In that case, you must open the Windows Terminal as an administrator. That way, the shells you open in the Windows Terminal inherit those administrator rights and run the commands without hiccups.
When needed, you need to know the different ways to open Windows Terminal with administrator rights. That is where this easy guide comes into play.
So, without delay, let me show you the five ways to open Windows Terminal as an administrator in Windows 11.
Note: The methods shown below will also work in Windows 10.
As with many things, there are multiple ways to launch Windows Terminal as an administrator in Windows 11. I will show four easy ways to open Windows Terminal with administrator rights. Click the jump links below to navigate quickly to your favorite method.
- From the Win + X menu
- From the Start menu
- From the Task Manager
- From the Run dialog box
Note: You need administrator permission to open Windows Terminal as admin.
In Windows 11, Microsoft replaced the PowerShell option with Windows Terminal in the Win + X menu, also known as the Power User menu. Whether you use the Windows Terminal regularly or occasionally, opening Windows Terminal as admin from the Win + X menu is easiest. Let me show you how.
- Press the “Windows key + X” keyboard shortcut.
- Select the “Windows Terminal (Admin)” option.
- Click “Yes” in the UAC prompt.
- It will open Windows Terminal as administrator.
Same steps with screenshots:
First, press the “Windows key + X” keyboard shortcut or right-click on the Start icon to open the Power User menu. Click the “Windows Terminal (Admin)” option from the menu.
The above action will show a UAC (User Access Control) prompt. Click the “Yes” button. Windows Terminal will open with admin rights as soon as you accept the prompt.
You can launch Windows Terminal with admin rights from the Start menu as with any program. In fact, there are two ways. i.e., from the “All Apps” section and by searching for it. I will show those two ways. Follow the one you like.
From All Apps list:
- Press the Start key to open the Start menu.
- Click the “All Apps” button on the top-right corner.
- Scroll and find “Windows Terminal.”
- Right-click on “Windows Terminal.”
- Select the “More > Run as administrator” option.
- Click “Yes” when prompted.
- With that, the Windows Terminal opens as admin.
By Searching in Start menu:
- Press the Start key on your keyboard.
- Search for “Windows Terminal.”
- Right-click on “Windows Terminal.”
- Select the “Run as administrator” option.
- Click “Yes” when prompted.
- With that, the Windows Terminal opens as admin.
3. From the Task Manager
You can launch almost any program as an administrator from the Task Manager. Windows Terminal is no different. Here is how to open Windows Terminal as admin from the Task Manager.
- Open the Start menu.
- Search for “Task Manager.”
- Right-click on the “Task Manager” option.
- Select the “Run as administrator” option.
- Click the “Yes” button when prompted.
- Click “File > Create new task.”
- Type “wt” in the blank field.
- Select the “Create this task with administrative previliges” checkbox.
- Click the “Ok” button.
- With that, the Windows Terminal opens as admin.
4. From the Run dialog box
Though most don’t know, you can run almost any program as an administrator from the Run dialog box. You have to press a special keyboard shortcut, and the application will open with admin rights. Here is how to do it.
- Press the “Windows key + R” shortcut.
- Type “wt” in the blank field.
- Press the “Ctrl + Shift + Enter” shortcut.
- Click “Yes” in the UAC prompt.
- With that, the Windows Terminal opens as admin.
The “Ctrl + Shift + Enter” shortcut will force the Run dialog box to open or run the command with admin rights.
How to recognize if Windows Terminal is running as administrator?
When Windows Terminal runs as administrator, it will show “Administrator” in the tab title when running PowerShell or Command Prompt. It’s not the fool-proof way, but it’s a way nevertheless.
—
That is all. It is that simple to open Windows Terminal as administrator.
I hope this simple Windows 11 how-to guide helped you.
If you are stuck or need some help, comment below, and I will try to help as much as possible.
