The Command Prompt is a powerful tool in Windows that lets you run commands to manage files, troubleshoot problems, and control system settings. But some commands require administrator access to work properly. Opening the Command Prompt as an administrator—often called “elevated mode” gives you full control to perform advanced tasks on your computer.
In this guide, we will discuss quick and easy ways to open the Command Prompt with administrator rights on your Windows 10 and 11.
Method 1: Using Windows Search (Windows 10 & Windows 11)
Note: This method is suitable for both Windows 10 and Windows 11
Step 1: Open the Start Menu and Type «CMD»
Press the Windows Key or Click on the Start Menu and Type Command Prompt or CMD and proceed ahead.
Step 2: Select «Run as Administrator»
Right-click on «Command Prompt» and select «Run as administrator».
Method 2: Run Dialog Box (Win 10 & 11)
Note: This method is suitable for both Windows 10 and Windows 11
Step 1: Open Dialog Box or Press Win + R
First, press the Windows key + R to open the Run dialog. Now, type «CMD» or Command prompt
Step 2: Hold down Ctrl + Shift to enter Admin Mode
Press Ctrl + Shift + Enter or click «OK» while holding Ctrl + Shift.
You might be asked to enter admin password. Provide the same & proceed with the Command Prompt administrator rights.
Note: This method is suitable for both Windows 10 and Windows 11
Step 1: Open Power User Menu
Go to Start Button or press Win + X
Step 2: Select Admin
Now, click on «Terminal (Admin)» from the menu.
Step 3: Hover and click to visit Command Prompt
Then, Click on the arrow from the menu and Select «Command Prompt«
By following this method, anyone can open command prompt using these 3 simple steps.
Note: This method is suitable forWindows 11
Step 1: Type Windows Tools in the search box
Click on the Start menu and type Windows Tools
Step 2: Click to Open as Administrator
Make a right click and select «Run as Administrator»
Method 5: Using Task Manager (Win 10 & Win 11)
Note: This method is suitable for both Windows 10 and Windows 11
Step 1: Open Task Manager and click to Run New Task
Click the Start Menu and type «Task Manager»
Step 2: Create a New Task to Run CMD with Administrative Rights
Create a new task in the File menu and select Run New Task. Check «Create this task with administrative privileges», and click OK.
Method 6: Use Control Panel (Windows 11)
Note: This method is suitable for Windows 11
Ypu can use Windows Control Panel to open Command Prompt with admin rights, here’s what you need to do:
Step 1: Press Win + R and type Control Panel
Now, on the Control Panel Search bar type «Windows Tools» and click on it.
Step 2: Click to Run as Administrator
Right-click on the Command Prompt and Click Run as administrator.
Method 7: Windows File Explorer
Note: This method is suitable for both Windows 10 and Windows 11
Step 1: Open File Explorer
Open File Explorer or press Win + E and type CMD
Step 2: Select «Run as Administrator»
Make a right-click and select «Run as admin»
Method 8: Using Desktop Shortcut
Note: This method is suitable for both Windows 10 and Windows 11
Step 1: Open File Explorer
Press Win + E and type Command Prompt or CMD
Step 2: Show more options > Create Shortcut
Press Win + D to get the desktop then right-click CMD then from the menu select «Properties» and then navigate to the «Shortcut» tab
Step 3: Create your custom shortcut
In the Shortcut key field, press a key combination of your choice.
Why Open Command Prompt as Administrator
The Command Prompt or CMD is a powerful tool for performing various system tasks. Running it as an administrator grants you admin access to:
- Modify System Settings
- Run Admin commands like sfc /scannow i.e. system scans
- Manage User Accounts
- Access and edit restricted files
Without administrator access, many essential commands will not work, so knowing how to open it with admin access is critical for users who manage system settings, developers, or anyone performing any troubleshooting related tasks.
Conclusion
Understanding how to open the Command Prompt as Administrator is essential for both casual users and power users. Whether you’re managing system configurations, running scans, or troubleshooting issues, knowing how to run CMD with elevated privileges will enhance your ability to manage your system effectively.
A small tip on how to run your command prompt as an administrator or in other words, open an elevated command prompt, in Windows 11/10/8/7. We have seen how to launch Command Prompt, and carry out many tasks. But some tasks required elevated privileges to be run. In such cases, you have to open an elevated command prompt window. So let us see how to launch, run or open Command Prompt as an administrator or an elevated CMD with administrative privileges & rights in Windows 11/10/8/7.
To run Command Prompt as administrator in Windows 11/10, follow these steps:
- Search for cmd in the Taskbar search box.
- Make sure the Command Prompt result is selected.
- Click on the Run as administrator option.
- Click the Yes button in the UAC prompt.
To learn more about these steps, continue reading.
At first, you need to search for cmd in the Taskbar search box and ensure that the Command Prompt result is selected or highlighted.
If so, click the Run as administrator option. If your computer displays the UAC prompt, click the Yes option to find Command Prompt as administrator.
However, if you are using Windows 10 or Windows 8, you may not have to follow this aforementioned method. In Windows 10/8, you can open elevated Command Prompt from the Win+X menu.
In Windows 10 and Windows 8, follow these steps:
Take the cursor to the bottom left corner and right-click to open the WinX menu. Select Command Prompt (Admin) to open an elevated command prompt.
So you see, things have been made easier in Windows 10/8.1.
In Windows 7, follow these steps:
- Type cmd in Start search.
- In the results, you will see ‘cmd‘.
- Right-click on it and from the context menu select Run as Administrator.
TIP: This post will help you if you can’t run Command Prompt as administrator.
Open Elevated Command Prompt using the System32 folder
The System32 folder contains the storage location of the Windows Command Processor (cmd.exe) application. You can access that location and then open an elevated Command Prompt window. Here are the steps:
- Press Win+E hotkey to open the File Explorer
- Go to C:\Windows\System32
- Under the System32 folder, look for the cmd.exe file
- Right-click on the cmd.exe file
- Click on the Run as administrator option.
In the UAC prompt, you need to use the Yes button, and then an elevated Command Prompt window will be in front of you.
Run Command Prompt as an administrator using the Run Command box
You can also use the Run Command box to open Command Prompt window as an administrator on your Windows 11/10 computer. For this, the steps are as follows:
- Use Win+R hotkey. This will open the Run Command box
- Type cmd or cmd.exe in the text field
- Press Ctrl+Shift+Enter hotkey.
If a UAC prompt appears, press the Yes button, and the Command Prompt window will open as an administrator.
Open Command Prompt as an administrator using PowerShell
Windows PowerShell can also help you open a Command Prompt window as an administrator on a Windows 11/10 PC. The steps are mentioned below:
- Open Windows PowerShell using the Search box or another way you like
- In the PowerShell window, enter and execute the following command:
start-process cmd -verb runas
This will open the UAC prompt box in which you can click on the Yes button. Finally, an elevated Command Prompt window will be there.
Other ways to open an elevated command prompt:
There are more other ways to open an elevated Command Prompt in Windows 11/10. Some of the ways are:
- Press Ctrl+Shift+Esc to open the Task Manager. Click on File menu > Run new task. To open a command prompt window, type cmd. Remember to check the Create this task with administrative privileges check-box. Then hit Enter.
- You can also open an elevated Command Prompt from the Task Manager using CTRL key.
- Or then simply open the Start Menu or Start Screen and start typing the command line. Next, hold the Shift and Ctrl keys, and then hit Enter to open the command line in an elevated command prompt.
- Open an elevated command prompt using CMD
- Run Commands from Windows Start Search Box as an Administrator
- How to always run Command Prompt as Administrator
- Run commands from Explorer address bar.
How do I get Command Prompt in Windows 11/10 as administrator?
There are a lot of ways using which you can open Command Prompt as an administrator in Windows 10 as well as Windows 11 OS. You can use the Search box, Win+X menu, Windows PowerShell, Run Command box, and other options to open an elevated Command Prompt. All such options are covered in this post above. Check them.
How do I force Command Prompt to run as administrator?
You can use the keyboard shortcut to force Command Prompt to run as administrator. For that, you need to search for cmd in the Taskbar search box and press the Ctrl+Shit+Enter button together.
How do I open Command Prompt in Windows 11?
Although Microsoft removed Command Prompt from the Win+X menu in Windows 11, you can use the Taskbar search box to open Command Prompt on your computer. You need to search fox cmd and hit the Enter button. It will open Command Prompt on your PC. Alternatively, you can open Windows Terminal to perform the same job.
How do I run cmd as administrator in standard user?
To run cmd or Command Prompt as administrator in Standard user, you need to follow the steps mentioned above. In other words, you need to search for cmd in the Taskbar search box, click the Run as administrator option, and click the Yes option.
Now see how to open an elevated PowerShell prompt in Windows 11/10.
Как запустить командную строку от имени Администратора
В инструкциях на этом сайте то и дело одним из шагов является «Запустите командную строку от администратора». Обычно я поясняю, как это сделать, но там, где нет, всегда появляются вопросы, связанные именно с этим действием.
В этом руководстве опишу способы запуска командной строки от имени Администратора в Windows 10, 8.1 и 8, а также в Windows 7. Также на сайте доступны отдельные инструкции: Как открыть командную строку от имени Администратора в Windows 11, Как открыть командную строку в Windows 10)
Командная строка от имени администратора в Windows 10
Существует множество способов запуска командной строки от имени Администратора, многие из которых работают независимо от того, какая версия ОС у вас установлена. Но, пожалуй, самый удобный и быстрый способ запустить cmd.exe с правами администратора в Windows 10 — использовать поиск в панели задач:
Просто начните набирать «Командная строка» в поиске, а когда нужный результат будет найден, нажмите «Запуск от имени администратора» в правой части или, если такого не обнаружится (в ранних версиях Windows 10), нажмите по найденному результату правой кнопкой мыши и выберите нужный пункт контекстного меню.
Также, если в Windows 10 вы зайдете в Параметры — Персонализация — Панель задач и отключите пункт «Заменить командную строку оболочкой PowerShell», то пункт для запуска командной строки от имени администратора появится в контекстном меню кнопки пуск (открыть можно правым кликом по этой кнопки или сочетанием клавиш Win+X).
Запуск командной строки от администратора в Windows 8.1 и 8
Для того, чтобы запустить командную строку с правами администратора в Windows 8.1 есть два основных способа (еще один, универсальный способ, подходящий для всех последних версий ОС я опишу ниже).
Первый способ заключается в нажатии клавиш Win (клавиша с эмблемой Windows) + X на клавиатуре с последующим выбором из появившегося меню пункта «Командная строка (администратор)». Это же меню можно вызывать правым кликом мыши по кнопке «Пуск».
Второй способ запуска:
- Перейдите на начальный экран Windows 8.1 или 8 (тот, который с плитками).
- Начните на клавиатуре набирать «Командная строка». В результате слева откроется поиск.
- Когда в списке результатов поиска вы увидите командную строку, кликните по ней правой кнопкой мыши и выберите пункт контекстного меню «Запуск от имени администратора».
Вот, пожалуй, и все по этой версии ОС, как видите — все очень просто.
В Windows 7
Чтобы запустить командную строку от имени администратора в Windows 7, проделайте следующие шаги:
- Откройте меню Пуск, пройдите в Все программы — Стандартные.
- Кликните правой кнопкой мыши по «Командная строка», выберите пункт «Запуск от имени Администратора».
Вместо того, чтобы искать во всех программах, вы можете ввести «Командная строка» в поле поиска внизу меню Пуск Windows 7, а потом проделать второй шаг из описанных выше.
Еще один способ, для всех последних версий ОС
Командная строка — это обычная программа Windows (файл cmd.exe) и запустить ее можно как любую другую программу.
Находится она в папках Windows/System32 и Windows/SysWOW64 (для 32-разрядных версий Windows используйте первый вариант), для 64-разрядных — второй.
Так же, как и в описанных ранее способах, вы можете просто кликнуть по файлу cmd.exe правой кнопкой мыши и выбрать нужный пункт меню, чтобы запустить его от имени администратора.
Есть и еще одна возможность — вы можете создать ярлык для файла cmd.exe там, где вам нужно, например, на рабочем столе (например, перетащив правой кнопкой мыши на рабочий стол) и сделать так, чтобы он всегда запускался с администраторскими правами:
- Кликните правой кнопкой по ярлыку, выберите пункт «Свойства».
- В открывшемся окне нажмите кнопку «Дополнительно».
- Отметьте в свойствах ярлыка «Запуск от имени администратора».
- Нажмите Ок, затем снова Ок.
Готово, теперь при запуске командной строки созданным ярлыком, она всегда будет запускаться от администратора.
Все способы:
- Запускаем «Командную строку» с административными правами
- Способ 1: Меню «Пуск»
- Способ 2: Поиск
- Способ 3: Окно «Выполнить»
- Способ 4: Исполняемый файл
- Создание ярлыка для быстрого доступа
- Заключение
- Вопросы и ответы: 2
«Командная строка» — важный компонент любой операционной системы семейства Windows, и десятая версия не является исключением. С помощью данной оснастки можно управлять ОС, ее функциями и входящими в состав элементами посредством ввода и выполнения различных команд, но для реализации многих из них требуется обладать правами администратора. Расскажем, как открыть и использовать «Строку» с этими полномочиями.
Читайте также: Как запустить «Командную строку» в Виндовс 10
Запускаем «Командную строку» с административными правами
Вариантов обычного запуска «Командной строки» в Windows 10 существует довольно много, и все они подробно рассмотрены в представленной по ссылке выше статье. Если же говорить о запуске данного компонента ОС от имени администратора, то их существует всего четыре, по крайней мере, если не пытаться заново изобретать велосипед. Каждый находит свое применение в той или иной ситуации.
Способ 1: Меню «Пуск»
Во всех актуальных и даже морально устаревших версиях Виндовс доступ к большинству стандартных инструментов и элементов системы можно получить через меню «Пуск». В «десятке» же данный раздел ОС был дополнен контекстным меню, благодаря которому наша сегодняшняя задача решается буквально в несколько кликов.
- Наведите указатель курсора на значок меню «Пуск» и кликните по нему правой кнопкой мышки (ПКМ) либо же просто нажмите «WIN+X» на клавиатуре.
- В появившемся контекстном меню выберите пункт «Командная строка (администратор)», кликнув по нему левой кнопкой мышки (ЛКМ). Подтвердите свои намерения в окне контроля учетных записей, нажав «Да».
- «Командная строка» будет запущена от имени администратора, можете смело приступать к выполнению необходимых манипуляций с системой.
Читайте также: Как отключить средство контроля учетных записей в Windows 10
Запуск «Командной строки» с правами администратора через контекстное меню «Пуска» является наиболее удобным и быстрым в реализации, легким в запоминании. Мы же рассмотрим другие возможные варианты.
Способ 2: Поиск
Как известно, в десятой версии Windows была полностью переработана и качественно улучшена система поиска – сейчас она действительно удобна в использовании и позволяет легко находить не только нужные файлы, но и различные программные компоненты. Следовательно, воспользовавшись поиском, можно вызвать в том числе и «Командную строку».
- Нажмите по кнопке поиска на панели задач или воспользуйтесь комбинацией горячих клавиш «WIN+S», вызывающей аналогичный раздел ОС.
- Введите в поисковую строку запрос «cmd» без кавычек (или начните вводить «Командная строка»).
- Увидев в перечне результатов интересующий нас компонент операционной системы, кликните по нему ПКМ и выберите пункт «Запуск от имени администратора»,
после чего «Строка» будет запущена с соответствующими полномочиями.
С помощью встроенного в Виндовс 10 поиска можно буквально в несколько кликов мышки и нажатий по клавиатуре открывать любые другие приложения, как стандартные для системы, так и установленные самим пользователем.
Способ 3: Окно «Выполнить»
Существует и немного более простой вариант запуска «Командной строки» от имени Администратора, чем рассмотренные выше. Заключается он в обращении к системной оснастке «Выполнить» и использовании комбинации горячих клавиш.
- Нажмите на клавиатуре «WIN+R» для открытия интересующей нас оснастки.
- Введите в нее команду
cmd
, но не спешите нажимать на кнопку «ОК». - Зажмите клавиши «CTRL+SHIFT» и, не отпуская их, воспользуйтесь кнопкой «ОК» в окне или «ENTER» на клавиатуре.
Это, наверное, самый удобный и быстрый способ запуска «Командной строки» с правами Администратора, но для его реализации необходимо запомнить парочку простых шорткатов.
Способ 4: Исполняемый файл
«Командная строка» – это обычная программа, следовательно, запустить ее можно точно так же, как и любую другую, главное, знать месторасположение исполняемого файла. Адрес директории, в которой находится cmd, зависит от разрядности операционной системы и выглядит следующим образом:
C:\Windows\SysWOW64
– для Windows x64 (64 bit)
C:\Windows\System32
– для Windows x86 (32 bit)
- Скопируйте путь, соответствующий разрядности установленной на вашем компьютере Виндовс, откройте системный «Проводник» и вставьте это значение в строку на его верхней панели.
- Нажмите «ENTER» на клавиатуре или указывающую вправо стрелку в конце строки, чтобы перейти в нужное расположение.
- Пролистайте содержимое директории вниз, пока не увидите там файл с названием «cmd».
Примечание: По умолчанию все файлы и папки в директориях SysWOW64 и System32 представлены в алфавитном порядке, но если это не так, нажмите по вкладке «Имя» на верхней панели, чтобы упорядочить содержимое по алфавиту.
- Отыскав необходимый файл, кликните по нему правой кнопкой мышки и выберите в контекстном меню пункт «Запуск от имени администратора».
- «Командная строка» будет запущена с соответствующими правами доступа.
Создание ярлыка для быстрого доступа
Если вам часто приходится работать с «Командной строкой», да еще и с правами администратора, для более быстрого и удобного доступа рекомендуем создать ярлык этого компонента системы на рабочем столе. Делается это следующим образом:
- Повторите шаги 1-3, описанные в предыдущем способе данной статьи.
- Кликните ПКМ по исполняемому файлу «cmd» и поочередно выберите в контекстном меню пункты «Отправить» — «Рабочий стол (создать ярлык)».
- Перейдите на рабочий стол, найдите созданный там ярлык «Командной строки». Нажмите по нему правой кнопкой мышки и выберите пункт «Свойства».
- Во вкладке «Ярлык», которая будет открыта по умолчанию, нажмите по кнопке «Дополнительно».
- Во всплывающем окне установите галочку напротив пункта «Запуск от имени администратора» и нажмите «ОК».
- С этого момента, если использовать для запуска cmd ранее созданный на рабочем столе ярлык, она будет открываться с правами администратора. Для закрытия окна «Свойств» ярлыка следует нажать «Применить» и «ОК», но не спешите этого делать…
…в окне свойств ярлыка можно также задать комбинацию клавиш для быстрого вызова «Командной строки». Для этого во вкладке «Ярлык» кликните ЛКМ по полю напротив наименования «Быстрый вызов» и нажмите на клавиатуре желаемую комбинацию клавиш, например, «CTRL+ALT+T». Затем нажмите «Применить» и «ОК», чтобы сохранить внесенные изменения и закрыть окно свойств.
Заключение
Ознакомившись с этой статьей, вы узнали обо всех существующих способах запуска «Командной строки» в Windows 10 с правами администратора, а также о том, как ощутимо ускорить данный процесс, если приходится часто пользоваться этим системным инструментом.
Наша группа в TelegramПолезные советы и помощь
-
Home
-
News
- How Can You Run Command Prompt as Administrator on Windows?
By Stella | Follow |
Last Updated
In some certain situations, you need to run Command Prompt as Administrator and then you can use some command line that requires administrative privileges. But, do you know how to run CMD as administrator on Windows 10? In this post, MiniTool Solution will show you 3 easy methods to do this job.
Why Do You Need to Run CMD as Administrator?
In most instances, you just use the Command Prompt as a regular user. This can meet your basic requirements. In some other cases, you need to run CMD as administrator so as to run command line that needs administrative privileges.
You can use different ways to open the Command Prompt on your computer. Accordingly, you can use numerous ways to run command prompt as administrator.
In the next part, we will walk you through three different guides on the run as administrator command line topic. You can use the one you prefer to use to perform the Windows 10 command prompt admin.
How to Run Command Prompt as Administrator?
Method 1: Use the Power Users (Windows+X) Menu
Windows 10 has a Power Users menu that contains many options that allow you to quickly access some certain utilities. Command Prompt (Admin) is included in it.
To do this job, you need to follow these steps:
- Press the Windows key and X key at the same time to open the Power Users menu.
- Select the Command Prompt (Admin) option from the menu to run Command Prompt as admin.
You will see the Administrator: Command Prompt window as follows:
Then, you can type in the command and run it whether it requires administrative privileges or not.
Method 2: Use the Start Menu
The second way to run Command Prompt as administrator is to use the Start Menu. It is very simple to operate. You can follow these steps to do the job:
- Press the Start/Windows button on the lower-left corner of your computer.
- Type command prompt into the search box.
- Right-click on the first search result and select Run as administrator.
After these three simple steps, you can also see the Command Prompt Administrator interface.
Method 3: Use the Run Box
Some of you prefer to use the Run box to open applications on the computer. In this situation, you can run CMD as administrator via the Run box like this:
1. Press the Windows key and the R key at the same time to open Run.
2. Type cmd into the Run box.
3. Press Ctrl+Shift+Enter at the same time to run the command as an administrator.
Now, this is the end of these three methods to run CMD as administrator. You can just select one way according to your own requirements.
After running Command Prompt as Administrator on Windows, you can then run certain command lines to solve some issues like mark the offline disk online to fix Error code 0xc000000e, check hard disk drive using CHKDSK, and more.
We hope this post can completely solve your issue.
About The Author
Position: Columnist
Stella has been working in MiniTool Software as an English Editor for more than 8 years. Her articles mainly cover the fields of data recovery including storage media data recovery, phone data recovery, and photo recovery, videos download, partition management, and video & audio format conversions.