Как запустить консоль с правами администратора windows 11

Для исправления тех или иных проблем в работе Windows 11 или изменения некоторых системных настроек может потребоваться запуск командной строки, обычно — от имени администратора. Сделать это можно почти так же, как и в предыдущих версиях системы, но есть и некоторые отличия.

В инструкции ниже — способы запустить командную строку от администратора в Windows 11 как те, что присутствовали в ОС ранее, так и новые доступные возможности, которые для кого-то из пользователей могут показаться более удобными.

Содержание

Запуск командной строки от имени Администратора

Запустить командную строку Windows 11, в том числе и от имени Администратора, можно множеством способов: их стало больше по сравнению с предыдущей версией системы. По порядку рассмотрим их все.

Терминал Windows — новый способ запуска командной строки

В Windows 11 встроено новое приложение Windows Terminal, которое можно использовать для быстрого запуска командной строки от имени Администратора:

  1. Нажмите правой кнопкой мыши по кнопке «Пуск» или сочетание клавиш Win+X на клавиатуре.
  2. В открывшемся меню выберите пункт «Терминал Windows (Администратор)».
  3. Откроется окно терминала Windows, но по умолчанию в нём будет открыта вкладка PowerShell.
  4. Чтобы открыть окно командной строки нажмите по стрелке в строке заголовка и выберите «Командная строка» или нажмите клавиши Ctrl+Shift+2 (сочетание клавиш по умолчанию).
    Запуск командной строки от администратора в Терминале Windows

  5. Будет открыта новая вкладка — командная строка, выполняемая от имени Администратора.
    Командная строка в Терминале Windows

Примечание: при желании вы можете зайти в Параметры Windows Terminal (нажав по той же кнопке со стрелкой вниз) и выбрать «Командная строка» в поле «Профиль по умолчанию», если вам обычно требуется именно её запуск.

Командная строка в качестве профиля по умолчанию в Терминале Windows

Более подробно о настройках и возможностях нового терминала Windows в отдельной статье Windows Terminal — загрузка, настройка и использование.

Поиск в панели задач или меню «Пуск»

Поиск в Windows 11 — один из наиболее быстрых и удобных способов запуска различных системных инструментов, в том числе и командной строки:

  1. Нажмите по кнопке поиска на панели задач или используйте поле поиска в меню «Пуск», начните вводить «командная строка».
  2. Когда нужный результат будет найден, вы сможете нажать по пункту «Запуск от имени администратора» в панели слева.
    Запуск командной строки от имени Администратора в поиске Windows 11

  3. Второй метод — нажать правой кнопкой мыши по найденному пункту и выбрать «Запуск от имени администратора».

Во всех случаях, когда вам нужно узнать, где находится какой-либо системный элемент, рекомендую в первую очередь использовать встроенный поиск.

Диалоговое окно «Выполнить»

Быстрый способ запуска командной строки (и других элементов) от имени Администратора с помощью диалогового окна «Выполнить»:

  1. Откройте окно «Выполнить», нажав клавиши Win+R на клавиатуре или через контекстное меню кнопки Пуск.
  2. Введите cmd в открывшееся окно.
  3. Нажмите клавиши Ctrl+Shift+Enter для запуска командной строки с правами администратора.

Инструменты Windows

В списке программ Windows 11 появился пункт «Инструменты Windows», открывающий папку с различными утилитами администрирования, его также можно использовать для того, чтобы запустить командную строку от Администратора:

  1. Откройте меню Пуск Windows 11 и нажмите «Все приложения».
  2. В списке приложений найдите пункт «Инструменты Windows» и откройте его.
    Инструменты Windows в меню Пуск Windows 11

  3. В списке инструментов найдите пункт «Командная строка», нажмите по нему правой кнопкой мыши и выберите пункт «Запуск от имени администратора».
    Командная строка от имени Администратора из инструментов Windows

Инструменты Windows вы можете также найти в Панели управления.

Запуск cmd.exe из папки System32

Командная строка — это такая же программа, как и другие программы в Windows 11 и запустить её можно, используя соответствующий исполняемый файл:

  1. Перейдите в папку C:\Windows\System32
  2. В списке файлов в папке найдите cmd.exe (можно использовать поиск в проводнике)
  3. Нажмите по файлу правой кнопкой мыши и выберите пункт «Запуск от имени администратора».
    Запуск cmd.exe из папки System32 в Windows 11

Запуск через диспетчер задач

Этот способ запуска командной строки может пригодиться, если не загружается рабочий стол, а также в некоторых других ситуациях:

  1. Откройте диспетчер задач сочетанием клавиш Ctrl+Shift+Esc, либо нажав клавиши Ctrl+Alt+Delete, а затем выбрав нужный пункт меню.
  2. В диспетчере задач в главном меню выберите «Файл» — «Запустить новую задачу».
  3. Введите cmd.exe, отметьте пункт «Создать задачу с правами администратора», а затем нажмите «Ок» или Enter.
    Запуск командной строки в диспетчере задач

Для рядовых случаев описанных выше способов запуска командной строки от администратора должно быть достаточно. Однако существуют и иные, которые также могут найти применение:

  • Вы можете запустить командную строку (и она будет запущена с правами администратора) в программе установки Windows 11 после загрузки с флешки: нажмите клавиши Shift+F10 (или Shift+Fn+F10 на некоторых ноутбуках) для этого.
  • Пункт для запуска командной строки доступен в среде восстановления Windows Один из способов открыть среду восстановления — нажать и удерживать Shift, а затем нажать «Перезагрузка» в меню Пуск или на экране блокировки, то есть даже без входа в систему, что может быть полезным, когда вход невозможен.
  • Нажав в любой папке, открытой в проводнике правой кнопкой мыши вы можете выбрать пункт «Открыть в Windows Terminal», чтобы открыть окно Терминала Windows в этой папке (но не от администратора).

Командная строка (CMD) — универсальный способ управления операционной системой. Зависит от версии ОС лишь в малой степени. Не зависит от темы и графического интерфейса. Данный инструмент представлен в 1981 году и за 40 лет не утратил актуальности.

Применяется для исправления программных ошибок, сбоев и неполадок. Помогает справиться с проблемами, которые возникли в ходе использования Windows 11 и установленных приложений.

В значительной части случаев, для исправления ошибки нужно будет запустить командную строку в режиме администратора.

Что такое командная строка (Command Prompt) Windows 11

Содержание

  • Что такое командная строка (Command Prompt) Windows 11
  • Метод первый: Запускаем исполняемый файл cmd.exe из каталога System32 в файловом менеджере
  • Метод второй: Открываем командную строку посредством Инструментов Windows 11
  • Метод третий: Запуск cmd.exe в строке «Выполнить»
  • Метод четвертый: Переходим в командную строку из Терминала Windows 11
  • Метод пятый: Находим программу «Командная строка» через поиск Windows
  • Метод шестой: Создаем задачу запуска приложения cmd в Диспетчере задач
  • PowerShell вместо CMD в режиме администратора Windows 11
  • В Проводнике Windows 11 как пользователь
  • Особые сценарии запуска командной строки

Командная строка Microsoft Windows 11 — альтернатива графическому интерфейсу. Предназначение утилиты:

  • запуск софта.
  • настройка ОС.
  • выполнение команд.

Общие сведения:

  • Имя исполняемого файла — cmd.exe
  • Располагается в подкаталоге «System32» каталога «Windows», который находится в корневом каталоге системного диска. На большинстве ПК Windows установлена на диск C:.

Неумелое применение командной строки (в особенности с правами Администратора) может повлечь за собой потерю данных, крах операционной системы или приложений. Используйте с осторожностью и лишь при необходимости.

Инструмент предназначен для системных администраторов. Применяется на собственный страх и риск пользователя.

Методы запуска командной строки Windows 11 подобны тем, которые применялись в Windows 10, 8.1, 8, 7. Но и ряд отличий также есть.

Число методов запуска по сравнению с Windows 10 возросло.

Метод первый: Запускаем исполняемый файл cmd.exe из каталога System32 в файловом менеджере

Прямой запуск исполняемого файла — метод, который уходит корнями в эпоху DOS. Откройте папку System32 в Проводнике Windows.

Откройте контекстное меню исполняемого файла cmd.exe щелчком правой кнопки мыши по данному файлу. Если расширение .EXE не отображается, о том, что это файл программы говорит надпись «Приложение» в колонке «Тип».

Кликните по «Запуску от имени администратора».

Метод второй: Открываем командную строку посредством Инструментов Windows 11

«Инструменты Windows» — новый раздел Windows 11. Содержит программные инструменты, которые предназначены для администратора операционной системы стационарного PC или ноутбука.

Откройте классическую Панель управления Windows 11. Сначала одновременно нажмите на клавиатуре Win + R. В строке «Открыть:» окна «Выполнить» напечатайте control.exe или просто control без расширения .EXE. Подтвердите применение команды с помощью:

  1. клавиатуры — нажмите Enter;
  2. мыши — щелкните по кнопке «OK».

Программа control.exe и есть Панель управления, окно которой откроется на экране ПК. Для удобства навигации выберите из списка «Просмотр:» режим отображения «Крупные значки».

В данном режиме все элементы Панели управления Windows 11 представлены раздельно.

Кликните по «Инструментам Windows» из списка доступных настроек операционной системы.

Запуск «Инструментов Windows» возможен также из раздела «Все приложения» меню «Пуск».

В перечне системного ПО для администратора ОС Windows 11 откройте контекстное меню «Инструментов Windows» правым щелчком по данному элементу. Выберите «Командную строку». Далее кликните по пункту «Запуск от имени Администратора».

Метод третий: Запуск cmd.exe в строке «Выполнить»

Чтобы вывести на экран ПК окно выполнения команд:

Одновременно нажмите Win + R на клавиатуре настольного PC или ноутбука.

Второй подход:

  1. Кликните правой кнопкой мыши по «Пуску».
  2. Щелкните по пункту «Выполнить».

Напечатайте в поле ввода: cmd. Далее нажмите Enter или щелкните по «OK» для применения команды.

Откройте командную строку в режиме администратора одновременным нажатием клавиш Ctrl + Shift + Enter.

Метод четвертый: Переходим в командную строку из Терминала Windows 11

В системной утилите «Терминал» прослеживается явная аналогия с Linux.

Чтобы открыть данный программный инструмент, щелкните правой кнопкой мыши по «Пуску». Второй способ запуска «Терминала»: клавиатурное сочетание Win + X.

Щелкните по «Терминал Windows (Администратор)» в меню, которое появится на экране ПК.

По умолчанию открывается не классическая командная строка, а более функциональная оболочка PowerShell.

Для перехода к обычной командной строке кликните по стрелке вниз в заголовке окна. Из выпадающего меню выберите «Командная строка». Как вариант — нажмите на клавиатуре сочетание клавиш, подсказанное меню — Ctrl + Shift + 2.

Появится дополнительная вкладка Терминала Windows — классическая командная строка.

Если хотите, чтобы по умолчанию всегда открывалась обычная командная строка, а не PowerShell.

Откройте Параметры ОС одновременным нажатием клавиш Win + I. Далее перейдите в параметры терминала — категорию параметров «Windows Terminal».

В настройках запуска щелчком по стрелке откройте список «Профиль по умолчанию». Из данного списка выберите пункт «Командная строка». Щелкните по кнопке «Сохранить» для применения внесенных изменений.

Метод пятый: Находим программу «Командная строка» через поиск Windows

Используйте поиск в главном меню или на Панели задач. Данный метод универсален — позволяет найти любой элемент ОС или обратиться к поиску в интернете.

В строке ввода поискового запроса напечатайте: командная строка.

Приложение «Командная строка» будет предложено как наилучшее соответствие введенному вами запросу. Кликните правой кнопкой мыши по пункту «Командная строка» в результатах поиска. Из контекстного меню данного элемента выберите — «Запуск от имени Администратора».

В качестве альтернативы используйте контекстное меню элемента в правой части окна. Щелкните по пункту «Запуск от имени Администратора» данного меню.

Метод шестой: Создаем задачу запуска приложения cmd в Диспетчере задач

Диспетчер задач полезен в случаях, когда доступ к рабочему столу Windows 11 отсутствует или затруднен.

Нажмите одно из двух клавиатурных сочетаний:

  1. Ctrl + Shift + Esc
  2. Ctrl + Alt + Delete

Щелкните по кнопке «Подробнее» в кратком представлении Диспетчера задач.

В верхнем текстовом меню утилиты «Диспетчер задач» создайте новую задачу. Для этого последовательно откройте:

  1. Меню «Файл».
  2. Подменю «Запустить новую задачу».

В строке «Открыть:» диалогового окна «Создание задачи» введите имя программы «Командная строка»: cmd.exe

Активируйте опцию «Создать задачу с правами администратора». Затем подтвердите запуск системной утилиты одним из двух способов:

  1. щелкнув мышью по кнопке «OK» в нижней части окна создания задачи;
  2. нажав Enter на клавиатуре стационарного PC или ноутбука.

Результатом применения каждого из рассмотренных выше способов станет открытое на дисплее ПК окно приложения «Командная строка» с правами администратора.

PowerShell вместо CMD в режиме администратора Windows 11

Используйте PowerShell как альтернативу «старой» командной строке. Откройте окно поиска по операционной системе. Напечатайте в поле ввода: powershell

Запустите приложение «Windows PowerShell» от имени администратора щелчком по соответствующему пункту меню данной программы. Меню находится в правой части окна результатов поиска.

Функционал PowerShell значительно шире чем у CMD. Инструмент представлен в 2006 году. Визуально и по набору возможностей больше соответствует задачам пользователя Windows 11. Актуальное для начинающих пользователей преимущество — команда Help, которая позволяет получить справку о командлетах.

В Проводнике Windows 11 как пользователь

Откройте любой каталог в Проводнике Windows 11. Кликните правой кнопкой мыши. В контекстном меню щелкните по «Открыть в Windows Terminal».

Терминал операционной системы будет открыт для данной папки, но в режиме пользователя, а не администратора.

Особые сценарии запуска командной строки

Рассмотрим также методы, которые применяются в нестандартных ситуациях.

Клавиатурное сокращение Shift + F10 или Shift + Fn + F10 в ряде моделей ноутбуков — при установке ОС с флеш-накопителя.

В среде восстановления Windows 11 сначала нажмите Shift. Потом выберите «Перезагрузка» из меню «Пуск» или с экрана блокировки перед входом в ОС. Данный метод помогает в ситуации, когда войти в операционную систему не получается.

«Блог системного администратора» внимательно изучает Windows 11 и рассматривает методы преодоления проблем новой ОС.

Не считая высоких требований к железу ПК, главная сложность — непривычный графический интерфейс пользователя (GUI).

Читайте как поместить Панель задач Windows 11 над рабочим столом. Привел список команд для запуска элементов Панели управления Windows 11 в командной строке.

Будете ли вы пользоваться Терминалом Windows 11? Напишите в комментариях.

Command Prompt is an immensely useful feature for professional computer users. The reason it is popular among IT experts and geeks is that it allows us to do a whole lot of administrative tasks quite conveniently. If you are one of those people who love CMD, you’d find this article to open Command Prompt as administrator in Windows 11 quite useful.

There are many alternative means to bring up CMD. So, in this post, we have put together a list of all the different ways in which you start Command Prompt with administrative privileges in Windows 11.

How to open Command Prompt as administrator in Windows 11

Here are 13 ways to open Command Prompt as administrator in Windows 11 –

Way-1: Using Shortcut Shift + Alt + Enter

  1. Click on Start or press Winkey.
  2. Type – cmd.
  3. Press – Shift + Alt + Enter.
  1. When UAC dialog box appears, select – Yes.

Way-2: Through this shortcut through the Run command

  1. Press – Win+R.
  2. Type – cmd in the Run dialog box.
  3. Hit – Shift+Alt+Enter.
  1. Approve the User account control by clicking – Yes.

Way-3: With Windows Search

  1. Click the Search icon located on the taskbar.
  2. Type – cmd.
  3. Select – Run as administrator from the right pane of the result flyout.
  1. Once UAC prompts up on the display, click – Yes.

Way-4: Using the Context menu in Search

  1. Hit the Windows logo key.
  2. Type in cmd.exe or only cmd.
  3. You can see Command prompt under Best match; right click on it.
  4. Choose – Run as administrator.
  1. When User account control pop up appears, choose the – Yes.

Way-5: From the Start menu

  1. Click the – Start.
  2. Select – All apps.
  3. Scroll down through the programs and click- Windows tools.
  1. Once the Windows tools folder opens up, right-click Command prompt.
  2. Choose – Run as administrator.
  1. After the UAC confirmation prompt appears, click – Yes.

Way-6: From Task Manager (taskmgr.exe)

To open Command Prompt as administrator in Windows 11 from Task Manager, here are the steps –

  1. Press Ctrl + Shift + Esc keys at the same time to open Task Manager.
  2. Click- More details to get the full view of Task Manager.
  1. Next, click – File.
  2. Choose – Run a new task.
  1. Type cmd.
  2. For admin right, check the box next to “Create this task with administrative privileges”.
  3. Click on OK.
  1. At last, a UAC warning dialog will come, choose Yes in that.

Way-7: Using Shortcut key on Task manager

  1. Right click on – Start.
  2. Select – Task Manager.
  3. Press and hold Ctrl on keyboard.
  4. With the mouse, click on – File.
  5. Select – Run a new task.
  6. Click – Yes in the next dialog coming out.

Way-8: open Command Prompt as administrator in Windows 11 directly through Windows Tools

  1. First of all, click on – Start.
  2. Type – control.
  3. Press – Enter.
  4. Once the  Control Panel appears, click on – Windows Tools.
  5. In the Windows Tools, you can see Command prompt, right click on it.
  6. Select – Run as administrator from the flyout menu.
  7. Now, select Yes after a User account control alert pop up appears.

Way-9: Through File Location

To open the Command prompt through Explorer, follow the below instructions:

  1. Press – Win + E.
  2. Using File Explorer, go to C: \ Windows \ System32.
  3. Scroll down and right-click on – cmd.exe.
  4. Hit – Run as administrator.
  1. Choose the Yes option on the UAC.

Way-10: Via Windows PowerShell

  1. Hit – Win + X.
  2. Click – Windows PowerShell (Admin).
  3. Type in – cmd.
  4. Press – Enter.
  1. The PowerShell will be automatically converted to command prompt.

Way-11: From Desktop Shortcut

For opening Command prompt from a Desktop shortcut –

  1. Right-click on any empty area on your desktop.
  2. From the menu, click on – New.
  3. Select – Shortcut.
  1. In the blank box, type – cmd.exe.
  2. Press Enter or hit – Next.
  1. For the name, type – Command Prompt (admin).
  2. Click on – Ok
  1. To always run as administrator right click on the desktop shortcut “Command prompt”.
  2. Select – Properties.
  1. From the Command prompt Properties window, click – Advanced
  1. Check the box for – Run as administrator.
  2. Click – OK.

Way-12: By making shortcut from File location

  1. Open File Explorer.
  2. Go to This PC from the Quick access navigation pane.
  3. Open C: drive.
  4. Click on Windows.
  5. Scroll down and double-click on System32.
  6. Find cmd.exe.
  7. Select Send to.
  8. Hit Desktop (create shortcut).
  9. Right-click on cmd.exe – Shortcut and choose – Properties.
  10. Click – Advanced from the Properties window that appears.
  11. Check the option – Run as administrator.
  12. Finally, click – OK.

Way-13: Using Keyboard Shortcut

  1. Right click the desktop shortcut to command prompt you have created using the previous method and select the – Properties.
  2.  Put your cursor in the box adjacent to Shortcut key.
  3. Press any key on the keyboard and Ctrl+alt will be automatically added.
  4. This way, Ctrl+alt+your preferred key will be the keyboard shortcut to open Command Prompt as administrator in Windows 11.

Methods list:
Way-1: Using Shortcut Shift + Alt + Enter
Way-2: Through this shortcut through the Run command
Way-3: With Windows Search
Way-4: Using the Context menu in Search
Way-5: Via the Start menu
Way-6: From Task Manager (taskmgr.exe)
Way-7: Using Shortcut key on Task manager
Way-8: Directly through Windows Tools
Way-9: Through File Location
Way-10: Via Windows PowerShell
Way-11: From Desktop Shortcut
Way-12: By making shortcut from File location
Way-13: Using Keyboard Shortcut

That’s all!!

You can use multiple methods to open Command Prompt as Administrator in Windows 11. This can be useful when you need to allow some console tool to finish its work with elevated privileges.

In Windows 11, Microsoft offers Windows Terminal and PowerShell as modern replacements for the classic command prompt. Its shortcut has been moved from the Start menu to the Windows Tools folder, making it harder to launch it for a newcomer.

Windows 11 Command Prompt As Administrator

However, if you really need it to launch it elevated, you can easily do it. Obviously, to open a new command prompt as Administrator, you must be signed in to a user account with Administrator privileges. Otherwise, you will have to enter the Administrator password on a UAC prompt.

There are several methods to open Command Prompt with Administrator privileges, including classic methods and new options specific to Windows 11. To name some, you can use the Run dialog, Task Manager, File Explorer, Windows Search, and several other methods. Let’s review all of them.

The Run dialog

  1. Press Win + R to open the Run box, then type cmd.
  2. Now, press the Ctrl + Shift + Enter keys to launch the command prompt elevated.
    Windows 11 Open Command Prompt From Run

  3. If prompted, click Yes in the UAC.
    Click Yes In UAC

Done! The same way you can open the admin command prompt from the Task Manager.

It is important to note that if you have changed the console application to Windows Terminal, then cmd.exe will always open to the Windows Terminal tab, and not in its own window.

Open Elevated Command Prompt from Task Manager

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Click File > Run new task. If you don’t see the menu, click on More details.

Task Manager Run New Task

  1. Enter cmd in the Create new task text box.
  2. Enable the «Create this task with administrative privileges» checkbox.
    Open Elevated Command Prompt From Task Manager

  3. Also, there is a hidden way to open it from task manager. Click the File menu, press and hold the Ctrl + Shift keys, and then click on Run new task. This will instantly open the elevated command prompt.
    Second Method To Open Command Prompt From Task Manager

That is how to run Windows 11 Command Prompt as Administrator with the cmd.exe command.

Using Windows Terminal

To open the command prompt elevated inside the Windows Terminal, press Win + X or right-click the Start menu button.

Then, select Windows Terminal (Admin) from the menu.

Open Windows Terminal As Admin

Finally, once open a new instance of Windows Terminal as Admin, select the command prompt profile from the arrow-down menu.

Select Command Prompt in the Windows Terminal menu

By default, it opens to PowerShell.

Open Command Prompt as Administrator from Windows Tools

Unlike Windows 10, where the Command Prompt was directly available in the Start menu, Windows 11 no longer shows it in «All apps». The latter keeps it hidden in the new «Windows Tools» folder. You can use the shortcut in there to open an elevated console.

To open Command Prompt as Administrator in Windows 11, do the following.

  1. Click the Start button and then click «All Apps».
    Click All Apps in the Start menu

  2. Scroll down and find the «Windows Tools» folder. Click it.
    Click the Windows Tools icon

  3. Finally, right-click the Command Prompt shortcut and select Run as Administrator.
    Run Elevated Command Prompt From Windows Tools

Another quick and easy way to run the Command Prompt as Administrator is to use Windows Search.

Open Elevated Command Prompt from Windows Search

  1. Click the search icon on the taskbar or use Win + S buttons, or start typing right in the Start menu.
    Windows Search

  2. Enter cmd. Windows will show the app in the search results.
  3. Click Run as Administrator on the right to open a new elevated command prompt. Alternatively, you can press the Ctrl + Shift + Enter keys on the keyboard.
    Launch Elevated Command Prompt From Windows Search

Open Command Prompt as Administrator from the Taskbar

If you already have a Command Prompt window open, you can press and hold the Ctrl and Shift keys on the keyboard, and click its icon in the taskbar. This will instantly open a new Command Prompt instance running as Administrator.

Windows 11 Open Command Prompt As Administrator From Taskbar

If you frequently use Command Prompt in Windows 11, you can pin it to the taskbar to access the app with one click. Right-click the running app icon on the taskbar and click «Pin to taskbar.»

Pin Cmd To Taskbar

After that, you can use the pinned icon to launch Command Prompt as Admin (elevated). Press and hold the Ctrl and Shift keys simultaneously, and click on the pinned cmd.exe icon in the taskbar.

Using File Explorer

The command prompt in Windows 11 is still an executable file, cmd.exe. Thus allows you to run it directly from File Explorer or any other file manager.

  1. Open File Explorer (Win + E).
  2. Navigate to the C:\Windows\system32 folder.
  3. Locate the cmd.exe file, right-click it and select Run as Administrator.
    Open Command Prompt As Administrator From File Explorer

This will instantly launch it elevated.

A shortcut on the desktop is one more way to open Command Prompt as Administrator.

Always Open Command Prompt as Administrator in Windows 11

  1. Right-click anywhere on the desktop or inside a folder and select New > Shortcut.
    Create New Shortcut

  2. In the Create shortcut dialog, enter cmd.exe in the «Type the location…» box, and click Next.
    Create New Command Prompt Shortcut

  3. Name your shortcut as «Command Prompt (Admin)» and click Finish.
    Name Your Shortcut

  4. Now, right-click the shortcut you have created and select Properties.
  5. On the Shortcut tab, click the Advanced button.
  6. In the next window, enable the «Run as Administrator» option.
    Always Run Command Prompt As Administrator In Windows 11

  7. Click OK to save the changes.

That is it. Now you can open Command Prompt as Admin in Windows 11 using the desktop shortcut.

Tip: If you want to pin this elevated shortcut to the taskbar, simply right-click your shortcut and select Show more options, then click Pin to taskbar.

Pin Elevated Cmd Shortcut To Taskbar

Always Run Command Prompt as Administrator with Windows Terminal

Make sure you have the latest version of Windows Terminal. You need release 1.13 or newer. To check your current Windows Terminal version, launch the app and enter wt -v. Update Windows Terminal to a more recent version if required.

To always run Command Prompt as Administrator using Windows Terminal, do the following.

  1. Click the button with an arrow-down icon on the tab strip and select Settings. Alternatively, press Ctrl + , (comma).
    The Settings item in terminal's menu

  2. Click Command Prompt on the left panel. Note: Command Prompt is just an example. You can set any other profile to run with elevated privileges when you launch Terminal.
  3. Find the «Run this profile as Administrator» option and toggle it on.
    Always Run Command Prompt Elevated In Windows Terminal

  4. Click Save to apply changes.

Now you can set Command Prompt as the default Windows Terminal profile. That will ensure Terminal launches as Command Prompt.

Set Command Prompt as the default Windows Terminal profile

  1. Press Ctrl + , (comma) to go to Windows Terminal Settings.
  2. Click Startup.
  3. Find the Default profile option and change it to Command Prompt (or any other profile you want to run with elevated privileges on launch).
    Select the default profile in Terminal

  4. Click Save to apply the changes.

One more option

You can edit Windows Terminal settings within the app or its JSON config file. The latter is a more complicated feat.

  1. Open Windows Terminal and press Ctrl + , (comma) to open Settings.
  2. Click Open JSON file.
    Open JSON file

  3. Find Command Prompt in profiles list.
  4. Add "elevate": true, (don’t forget to add comma).
    Make Command Prompt Run Elevated in JSON file

  5. Save the changes and close Notepad or whatever app you use to edit the file.

And that is how you make Windows Terminal always run Command Prompt as Administrator. Now, regardless of how you launch Terminal (elevated or without Administrative privileges), Command Prompt will run as Administrator. This will be indicated by a small shield icon in the upper left corner of the Terminal window.

The shield icon for the elevated profile

Note that when doing this, Windows will ask you to confirm the launch with User Account Control (UAC).

Add Command Prompt as Administrator to the context menu

Pinning a shortcut to the taskbar is not the only quick way to open an elevated command prompt. You can add Command Prompt to the context menu.

To add Command Prompt as Administrator to the context menu in Windows 11, do the following.

  1. Download the REG files using this link.
  2. Double-click the file Add Open Command Prompt Here As Administrator.reg.
    Add Elevated Command Prompt Context Menu

  3. Confirm the UAC prompt.
  4. Now, right-click any folder and select Show more options > Open Command Prompt here as administrator.
    Command Prompt As Administrator Context Menu

The undo file is included in the archive. Double-click on the Remove Open Command Prompt here as administrator.reg to delete the command from the context menu.

You can save your time using Winaero Tweaker. The app allows you to add the elevated PowerShell item to the context menu with a couple of clicks.

Add the elevated Command Prompt context menu with Winaero Tweaker

  1. Download Winaero Tweaker and launch it.
  2. Open the Context Menu section in the left panel of the window.
  3. Click Add Command Prompt as Administrator.
  4. Place a checkmark next to the «Add Command Prompt to the context menu» option.
    Winaero Tweaker Option

  5. Click Apply changes.
  6. Now open any folder and right-click anywhere. Select Show More options. and see the new item you just added.

Now you know all ways to open Command Prompt as Administrator in Windows 11. Any of those methods will work the same, so you use the most convenient one to you.

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!

Command Prompt has been a helpful tool for Windows users for a long time. It allows you to perform various tasks even on a Windows 11 PC. Usually, professional computer users (IT experts) use the CMD tool to execute several tasks.

Using this tool, they can perform administrative functions from the standard user account. That’s why they prefer to use it. If you are a Windows user who loves CMD, you will learn several simple ways to open the Command Prompt as an administrator in Windows 11.

How to Open Command Prompt as an administrator in Windows 11 using Shortcut keys?

Follow these steps to launch Command Prompt as an administrator in Windows 11 using Shortcut keys:-

Step 1. Press Windows + R keys from the keyboard to open the Run dialog box.

Step 2. In the Run box, type cmd and then press Ctrl + Shift + Enter from the keyboard to run the command prompt as an administrator.

If User Account Control appears, select the Yes button.

How to Start Command Prompt as an administrator in Windows 11 through Windows Search?

Follow these steps to open Command Prompt as an administrator in Windows 11 through Windows Search:-

Step 1. Open the Windows Search by clicking on the Search button on the taskbar or pressing Windows + S keyboard shortcut.

Note: Alternatively, click on the Start button on the taskbar and then type CMD.

Step 2. In the Search box, type CMD.

Step 3. Right-click on the Command Prompt in the search results and select the Run as administrator option.

If the User Account Control dialog appears, then click on the Yes button.

After performing the above steps, you will get access to the administrative Command Prompt.

How to Launch Command Prompt as an administrator in Windows 11 via Desktop Shortcut?

If you frequently use Command Prompt as administrator, it is a better idea to create a shortcut icon on the desktop for easy access. To do that, perform the following steps:-

Step 1. Right-click on the free space on the desktop and select the New and then the Shortcut option.

Step 2. Type cmd.exe in the textbox and then click on the Next button.

Step 3. In the next window, if you wish, change the shortcut’s name or leave it as default and then click on the Finish button.

Step 4. After doing the above steps, a shortcut icon of Command Prompt will be created on the desktop.

But, by double-clicking on its icon, it will open Command Prompt without administrative privilege. However, you want to access the elevated command prompt by double-clicking on that. So, right-click on its desktop icon and select the Properties option.

Step 5. In the Properties dialog, navigate to the Shortcut tab and then click on the Advanced button.

Step 6. In the new pop-up window that opens, check the checkbox Run as administrator and click on the OK button.

Step 7. Finally, click Apply and then the OK button.

After that, whenever you double-click on its shortcut icon, the Command Prompt will open with administrative privileges. If you wish, you can pin it to the Start menu or taskbar to access it quickly. To do that, right-click on the shortcut icon and select the Pin to Start option.

To pin this shortcut to the taskbar, right-click on the shortcut icon on the desktop and select Show more options.

Now, select the Pin to taskbar option from the pop-up menu that appears.

That’s it. Now, you have pinned the administrative command prompt to the Start menu and Taskbar. That means you can access elevated command prompts from these places, also.

If you prefer to use the administrator command prompt with the keyboard shortcut, then right-click on its shortcut icon on the desktop and select the Properties option.

Then, navigate to the Shortcut tab and click on the Shortcut key box.

Next, from the keyboard, press any key to create a keyboard shortcut. For instance, press the I key if you wish to open the administrative command prompt with Ctrl + Alt + I. Ctrl + Alt will be added automatically. Finally, click on Apply and then the OK button.

That’s it. To access the command prompt with elevated rights, press the Ctrl + Alt + I keyboard shortcut.

Conclusion

In conclusion, Command Prompt is a powerful tool that Windows users can use to perform various tasks on their computers. It is particularly useful for professional computer users such as IT experts, who need to perform administrative functions from a standard user account. In this article, we have provided three simple ways to open Command Prompt as an administrator in Windows 11, including using shortcut keys, through Windows Search, and via desktop shortcuts. Additionally, we have shown how to pin the administrative Command Prompt to the Start menu and Taskbar and create a keyboard shortcut for quick access. By following these steps, users can easily access the elevated Command Prompt and carry out their tasks with ease.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Librera reader for windows
  • Windows 10 documents folder
  • Глючит проводник на windows 11 что делать
  • Как убрать anydesk из автозапуска windows 10
  • Просмотр загрузок windows internet explorer как отключить