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

Как выполнять команды от имени администратора в диалоговом окне «Выполнить»

Диалоговое окно «Выполнить» в Windows 11, Windows 10 и предыдущих версиях системы — один из самых часто используемых полезных системных элементов. По умолчанию команды в этом окне запускаются от имени обычного пользователя, однако при необходимости можно выполнить и запуск от имени Администратора.

В этой простой инструкции о способах запуска команд диалогового окна «Выполнить» с привилегиями Администратора. Также может пригодиться: Список полезных команд диалогового окна «Выполнить» в Windows.

Запуск команды диалогового окна «Выполнить» от имени Администратора с помощью сочетания клавиш

Первый и самый простой способ — использовать специальное сочетание клавиш при выполнении команды. Шаги будут следующими:

  1. Нажмите клавиши Win+R на клавиатуре для открытия окна «Выполнить». В Windows 11 и 10 также можно нажать правой кнопкой мыши по кнопке «Пуск» и выбрать соответствующий пункт контекстного меню.
  2. Введите нужную команду.
  3. Нажмите сочетание клавиш Ctrl+Shift+Enter
    Выполнение от имени Администратора из диалогового окна Выполнить

В результате введенная команда будет запущена именно от имени Администратора.

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

Дополнительные способы

Помимо описанного выше способа, пара дополнительных вариантов сделать то же самое:

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

Все способы:

  • Запускаем «Командную строку» с административными правами
    • Способ 1: Меню «Пуск»
    • Способ 2: Поиск
    • Способ 3: Окно «Выполнить»
    • Способ 4: Исполняемый файл
    • Создание ярлыка для быстрого доступа
  • Заключение
  • Вопросы и ответы: 2

«Командная строка» — важный компонент любой операционной системы семейства Windows, и десятая версия не является исключением. С помощью данной оснастки можно управлять ОС, ее функциями и входящими в состав элементами посредством ввода и выполнения различных команд, но для реализации многих из них требуется обладать правами администратора. Расскажем, как открыть и использовать «Строку» с этими полномочиями.

Читайте также: Как запустить «Командную строку» в Виндовс 10

Запускаем «Командную строку» с административными правами

Вариантов обычного запуска «Командной строки» в Windows 10 существует довольно много, и все они подробно рассмотрены в представленной по ссылке выше статье. Если же говорить о запуске данного компонента ОС от имени администратора, то их существует всего четыре, по крайней мере, если не пытаться заново изобретать велосипед. Каждый находит свое применение в той или иной ситуации.

Способ 1: Меню «Пуск»

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

  1. Наведите указатель курсора на значок меню «Пуск» и кликните по нему правой кнопкой мышки (ПКМ) либо же просто нажмите «WIN+X» на клавиатуре.
  2. Правый клик по меню Пуск для запуска Командной строки от имени администратора в Windows 10

  3. В появившемся контекстном меню выберите пункт «Командная строка (администратор)», кликнув по нему левой кнопкой мышки (ЛКМ). Подтвердите свои намерения в окне контроля учетных записей, нажав «Да».
  4. Выбор пункта контестного меню для запуска Командной строки от имени администратора в Windows 10

  5. «Командная строка» будет запущена от имени администратора, можете смело приступать к выполнению необходимых манипуляций с системой.
    Командная строка запущена от имени администратора на компьютере с ОС Windows 10

    Читайте также: Как отключить средство контроля учетных записей в Windows 10

  6. Запуск «Командной строки» с правами администратора через контекстное меню «Пуска» является наиболее удобным и быстрым в реализации, легким в запоминании. Мы же рассмотрим другие возможные варианты.

Способ 2: Поиск

Как известно, в десятой версии Windows была полностью переработана и качественно улучшена система поиска – сейчас она действительно удобна в использовании и позволяет легко находить не только нужные файлы, но и различные программные компоненты. Следовательно, воспользовавшись поиском, можно вызвать в том числе и «Командную строку».

  1. Нажмите по кнопке поиска на панели задач или воспользуйтесь комбинацией горячих клавиш «WIN+S», вызывающей аналогичный раздел ОС.
  2. Вызов окна поиска для запуска Командной строки с правами администратора в Windows 10

  3. Введите в поисковую строку запрос «cmd» без кавычек (или начните вводить «Командная строка»).
  4. Ввод запроса для поиска Командной строки и ее запуска в Windows 10

  5. Увидев в перечне результатов интересующий нас компонент операционной системы, кликните по нему ПКМ и выберите пункт «Запуск от имени администратора»,
    Запуск Командной строки, найденной через поиск, от имени администратора в Windows 10

    после чего «Строка» будет запущена с соответствующими полномочиями.

  6. Командная строка найдена и запущена от имени администратора на компьютере с ОС Windows 10

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

Способ 3: Окно «Выполнить»

Существует и немного более простой вариант запуска «Командной строки» от имени Администратора, чем рассмотренные выше. Заключается он в обращении к системной оснастке «Выполнить» и использовании комбинации горячих клавиш.

  1. Нажмите на клавиатуре «WIN+R» для открытия интересующей нас оснастки.
  2. Введите в нее команду cmd, но не спешите нажимать на кнопку «ОК».
  3. Вызов Командной строки с правами администратора через окно Выполнить в Windows 10

  4. Зажмите клавиши «CTRL+SHIFT» и, не отпуская их, воспользуйтесь кнопкой «ОК» в окне или «ENTER» на клавиатуре.
  5. Командная строка найдена и запущена от имени администратора на компьютере с ОС Windows 10

    Это, наверное, самый удобный и быстрый способ запуска «Командной строки» с правами Администратора, но для его реализации необходимо запомнить парочку простых шорткатов.

Способ 4: Исполняемый файл

«Командная строка» – это обычная программа, следовательно, запустить ее можно точно так же, как и любую другую, главное, знать месторасположение исполняемого файла. Адрес директории, в которой находится cmd, зависит от разрядности операционной системы и выглядит следующим образом:

C:\Windows\SysWOW64 – для Windows x64 (64 bit)
C:\Windows\System32 – для Windows x86 (32 bit)

  1. Скопируйте путь, соответствующий разрядности установленной на вашем компьютере Виндовс, откройте системный «Проводник» и вставьте это значение в строку на его верхней панели.
  2. Вставить адрес папки с Командной строкой в окно Проводника на Windows 10

  3. Нажмите «ENTER» на клавиатуре или указывающую вправо стрелку в конце строки, чтобы перейти в нужное расположение.
  4. Переод к месторасположению исполняемого файла Командной строки в Windows 10

  5. Пролистайте содержимое директории вниз, пока не увидите там файл с названием «cmd».
    Поиск Командной строки в ее папке для запуска в Windows 10

    Примечание: По умолчанию все файлы и папки в директориях SysWOW64 и System32 представлены в алфавитном порядке, но если это не так, нажмите по вкладке «Имя» на верхней панели, чтобы упорядочить содержимое по алфавиту.

  6. Отыскав необходимый файл, кликните по нему правой кнопкой мышки и выберите в контекстном меню пункт «Запуск от имени администратора».
  7. Запуск командной строки от имени администратора из ее папки выполнен в Windows 10

  8. «Командная строка» будет запущена с соответствующими правами доступа.
  9. Командная строка найдена в своей папке и запущена от имени администратора на компьютере с ОС Windows 10

Создание ярлыка для быстрого доступа

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

  1. Повторите шаги 1-3, описанные в предыдущем способе данной статьи.
  2. Поиск Командной строки в ее папке для запуска в Windows 10

  3. Кликните ПКМ по исполняемому файлу «cmd» и поочередно выберите в контекстном меню пункты «Отправить»«Рабочий стол (создать ярлык)».
  4. Создание ярлыка Командной строки на рабочем столе для ее быстрого запуска в Windows 10

  5. Перейдите на рабочий стол, найдите созданный там ярлык «Командной строки». Нажмите по нему правой кнопкой мышки и выберите пункт «Свойства».
  6. Открыть раздел Свойств ярлыка Командной строки на рабочем столе Windows 10

  7. Во вкладке «Ярлык», которая будет открыта по умолчанию, нажмите по кнопке «Дополнительно».
  8. Перейти к разделу дополнительных свойств ярлыка командной строки на рабочем столе Windows 10

  9. Во всплывающем окне установите галочку напротив пункта «Запуск от имени администратора» и нажмите «ОК».
  10. Настроить запуск ярлыка командной строки от имени администратора в Windows 10

  11. С этого момента, если использовать для запуска cmd ранее созданный на рабочем столе ярлык, она будет открываться с правами администратора. Для закрытия окна «Свойств» ярлыка следует нажать «Применить» и «ОК», но не спешите этого делать…
  12. Применить изменения для ярлыка свойств командной строки в Windows 10

    …в окне свойств ярлыка можно также задать комбинацию клавиш для быстрого вызова «Командной строки». Для этого во вкладке «Ярлык» кликните ЛКМ по полю напротив наименования «Быстрый вызов» и нажмите на клавиатуре желаемую комбинацию клавиш, например, «CTRL+ALT+T». Затем нажмите «Применить» и «ОК», чтобы сохранить внесенные изменения и закрыть окно свойств.

    Назначить комбинацию клавиш для быстрого запуска командной строки с правами администратора в Windows 10

Заключение

Ознакомившись с этой статьей, вы узнали обо всех существующих способах запуска «Командной строки» в Windows 10 с правами администратора, а также о том, как ощутимо ускорить данный процесс, если приходится часто пользоваться этим системным инструментом.

Наша группа в TelegramПолезные советы и помощь

Using the instructions here you will have the ability to open Command Prompt as administrator in Windows 10 from Start, Search, Run, taskmgr, PowerShell, and more. This application allows running commands that help you fix multiple issues, change settings, and access different files. When you stuck in anything on Windows 10 the first tool you remember is CMD. Administrative authority makes you capable to run a task in elevated mode.

We already discussed How to Launch Elevated Command Prompt on Windows 10 but now some additional ways are available for the same. So here we have come with a collection of all methods to open cmd with admin rights.

How to Open Command Prompt as Administrator in Windows 10

Here are 12 Ways to Open Command Prompt as Administrator in Windows 10 –

1] Quickest and easiest way to run cmd as admin

Step-1: Click on the Start icon.

Step-2: Type cmd.

Step-3: Press ctrl+shift+enter on keyboard.

Step-4: Once User Account Control (UAC) dialog appears, select Yes.

2] Open command prompt as administrator from Run dialog

  1. Press Win+R and let the Run dialog box appear.
  2. Write down either cmd or cmd.exe in the empty text field onward to Open.
  3. Press ctrl, shift, and enter simultaneously.
  1. Click Yes when a UAC dialog prompts to seek permission.

3] Take the help of Windows search bar

  1. Press Windows and S keys.
  2. Type “cmd”
  3. Click – Run as administrator.
  1. A UAC will prompt up for authentication; choose Yes.

4] Open Command Prompt as Administrator in Windows 10 Via Win+X menu

In the recent versions of Windows 10, you notice rather Windows PowerShell (Admin) in the Power user menu (Win+X). But for launching easily, you can replace it with Command Prompt (Admin) via a small tweak in Settings. This will help you to open cmd with administrative privilege in only 2 clicks. Here’s how –

  1. Open Windows Settings  (by pressing Win and I).
  2. Select Personalization.
  1. Select Taskbar from the left-pane and then shift to the right.
  2. Toggle on the option – “Replace Command Prompt with Windows PowerShell in the menu when I right-click the Start button or press Windows Key+X”.
  1. From now onward, whenever you will open the Power user menu, you will view Command Prompt (Admin) in the list.
  2. Simply press Win+X and choose the same.

5] Open command prompt as administrator by means of Task Manager

Important – Before proceeding forward, make sure that you have signed in as administrator.

  1. Right-click on the Taskbar and select Task Manager or directly press “Ctrl+Alt+Esc”.
  2. From the menu bar, click on File option.
  3. Press and hold the Ctrl key and at the same time click Run new task.
  1. It will right away open cmd as admin.

6] Again using Task Manager

  1. Open Task Manager using the method given in the previous way.
  2. Click on File from the uppermost menu bar and choose Run new task.
  3. Type either cmd.exe or cmd the provided space and check the box for “Create this task with administrative privileges”.
  4. Click – OK.

7] Through Start menu

  1. Press Windows key to bring up the Start menu
  2. Click on # from the top.
  1. Select W alphabet from the list.
  1. Click Windows System from here and to expand its options.
  2. Right-click on Command Prompt, move the cursor over “More”
  3. Then choose – “Run as administrator”.
  1. When you see a User Account Control popup, click the Yes to give consent.

8] Switch PowerShell to Command Prompt

  1. Press “Win+X” hotkey and select “Windows PowerShell (Admin)” from the Power user menu.
  1. When the User Account Control shows up in the display, click the Yes button to allow it.
  2. In the “Administrator: Windows PowerShell”, type cmd after PS C:\WINDOWS\system32> and hit the Enter key.
  1. This will immediately switch the PowerShell utility to Command prompt.

9] Open Command Prompt as Administrator in Windows 10 From System32 Directory

  1. Press – Win+E.
  2. Select This PC in Quick access and then Perform a double click on “(C:)” (we assume that this is your system drive).
  1. Double click –  Windows folder.
  1. From the next window, locate System32 and double-click on the same to enter it.
  1. Once this directory appears, find cmd.exe.
  2. Right click on the same and opt Run as administrator from the list.
  1. Finally, hit the Yes button once the UAC arrives.
  2. Alternatively, to get access to the location you may copy-paste “C:\Windows\System32” into the Run dialog box and hit Enter.

10] Via Run command

  1. Press Win+R.
  2. Paste C:\Windows\System32\cmd.exe in Run dialog
  3. Hit  – ‘ctrl+shift+enter’.
  1. Choose Yes when User account control prompt appears.

11] Create Desktop shortcut

  1. Right-click on the desktop.
  2. and move cursor on New and select Shortcut.
  1. A wizard entitled Create Shortcut will show up.
  2. Copy C:\Windows\System32\cmd.exe paste into the given area
  3. Click Next.
  1. Provide a name for this shortcut.
  2. Click on Finish.
  1. You will notice a new shortcut for the “CMD” on the desktop. Right-click on the same and select Properties.
  1. In the Shortcut tab, move down to the bottom and click the Advanced button.
  1. Mark – Run as administrator
  2. Hit the – OK.
  1. Finally, click on Apply and thereafter OK button to save the changes.
  1. In future, whenever you need to open command prompt as administrator, just double-click on the shortcut.

12] Assign a shortcut key to open cmd as admin

  1. Follow the previous method to create a shortcut key of Command Prompt and give it administrative authority.
  2. Right-click on the desktop shortcut and select – Properties.
  3. Go to Shortcut key area and click on the box located beside it.
  4. Now, press your preferred key from the keyboard. When you will type C and the system automatically generated a shortcut key Ctrl+Alt+C.
  5. Lastly, click on Apply and then OK to make the changes effective.
  1. To open cmd as admin, you just require hitting the shortcut key you just created.

Methods:
1] Quickest and easiest way to run cmd as admin
2] From Run dialog
3] Take the help of Windows search bar
4] Via Win+X menu
5] By means of Task Manager
6] Again using Task Manager
7] Through Start menu
8] Switch PowerShell to Command Prompt
9] From System32 Directory
10] Via Run command
11] Create Desktop shortcut
12] Assign a shortcut key

That’s all!!

The Command Prompt is considered to be an effective tool on the Windows Operating System. Whatever basic operations you do on Windows can also be carried out through the CMD. As you can see whether a code runs successfully or not, this helps to perform changes with authority. In this post, we will look into ways to run Command Prompt as an administrator in Windows 10. 

Why should I require running CMD as administrator?

One may perform different tasks on an elevated console, however, when it comes to making changes to the system level, Windows Console simply fails. This is because you don’t have administrative privileges to carry out that particular code on your PC. 

Launch Command Prompt as administrator and you become eligible to make any system-level changes to your PC. As it turns out, there are multiple ways using which you can open the elevated CMD on your Windows device. In this article, we will show you five methods to run Command Prompt as Administrator and they are using Windows Search box, Start Menu, and Run dialog box. So let’s see how to do it.

Here is how to open Command Prompt as Administrator in Windows 10 –

Methods List

  • Using Windows Search box
  • By using the Start Menu
  • Using the Run dialog box
  • Through the Task Manager
  • By creating a Desktop shortcut

1] Using Windows Search box

To open an elevated command prompt using the Windows search box, follow the below instructions:

  • Go to the Taskbar and click on the search box to open the Windows Search. Alternatively, you can also use the Shortcut keys like Win+S or Win+Q.
  • In the Search box, type cmd, so that it would make the command prompt appear in the result list.
  • Now right-click on the Command Prompt and select Run as administrator.

How to Run Command Prompt as Administrator in Windows 10

  • At this time, a UAC prompt will appear and ask you to allow the Command Prompt to make changes on your device.
  • Click on the Yes button to open the elevated Command Prompt on your computer screen.

2] By using the Start Menu

Here is how to open an elevated command prompt using the Start Menu.

  • Go to the Taskbar and click on the Start button.
  • In the menu list, scroll down until you get the Windows System.

Note: To make it easy, just click on the “#” symbol and then select the W alphabet. Now under the “W” category, you will get the Windows System.

  • Once you find the Windows System, expand it.
  • Now right-click on the Command Prompt > More > Run as administrator.

By using the Start Menu

  • Following this, the User Account Control will appear and ask for your consent.
  • Select the Yes button to run Command Prompt as Administrator.

3] Using the Run dialog box

Windows 10 comes with a built-in Run command dialog box, which you can use to open your favorite programs directly. Here is a quick guide to open an elevated command prompt using this method.

  • Right-click on the Start button and select the Run command. Alternatively, you can also use the Win+R shortcut key.
  • In the text area, type CMD and then press Ctrl + Shift + Esc key combination.

CMD through Run

  • If the UAC prompt appears, select the Yes button to open the elevated command prompt.

4] Through the Task Manager

In order to open an elevated command prompt using the Task Manager, follow the below guidelines: 

  • Press Ctrl+Shift+Esc key combination to open the Task Manager directly.
  • If the Task Manager is in the fewer details mode then expand it by clicking the More details.
  • Go to the menu bar and click on the File menu.
  • Now press and hold the Ctrl key and then select Run new task.
  • This will open the elevated command prompt directly.

5] By creating a Desktop shortcut

To create a Desktop Shortcut of the elevated command prompt, follow the below steps –

  • Right-click on a blank field on your desktop screen and select New > Shortcut.
  • In the new pop-up window, copy and paste the below commands and then hit Next.
C:\Windows\System32\cmd.exe
  • Give a suitable name you want for this shortcut and then click Finish to create the shortcut. This will create a new shortcut for the command prompt on the Desktop screen.
  • Right-click on this new shortcut and select Properties from the context menu.
  • In the Properties menu, go to the Shortcut tab and click the Advanced button.
  • Next, check the box next to Run as administrator and then click OK.
  • Now select Apply > OK button to apply the changes.

To open an elevated command prompt, you just need to double-click on the new desktop shortcut.

Related Post: How to open PowerShell as an administrator in Windows 10

open command prompt as administrator

Sometimes we need to open Command Prompt as an administrator to get certain information about the computer or change some settings. This page shows you four simple and quick ways to open Command Prompt as an administrator in Windows 10.

  • Way 1: Using the Search box
  • Way 2: Using the Win+X menu
  • Way 3: Using the Run dialog box
  • Way 4: Using Task Manager

Way 1: Using the search box

1. Click in the “Type here to search” box next to the Start (Windows) icon or press Win + S to bring up the search box.

2. Type cmd (or command prompt) in the search box.

3. The Command Prompt shortcut will appear in the search results. Right-click it and select Run as administrator. Or, you can directly click Run as administrator on the right panel.

4. If a User Account Control dialog pops up, click Yes to allow the Command Prompt to run as administrator.

Way 2: Using Win+X menu

Right-click the Windows icon on the left of the taskbar or press Windows key + X to bring up the Win+X menu (also called Power Users Menu). Then simply select Command Prompt (Admin) from the Win+X menu.

Tips: Starting with Windows 10 Creators Update, the Win+X menu does not contain Command Prompt by default, and instead is replaced by Windows PowerShell. If you want Command Prompt back to the Win+X menu, just go to Settings to replace Windows PowerShell with Command Prompt.

Way 3: Using Run dialog box

1. Press Win + R to quickly bring up the Run dialog box.

2. Type cmd in the box, and then press Ctrl + Shift + Enter on your keyboard. This will run Command Prompt as administrator.

Way 4: Using Task Manager

The former three are the easiest and fastest way to open Command Prompt as an administrator in Windows 10. Next, I will introduce another less common but useful method – using Task Manager.

1. Right-click the taskbar and select Task Manager to open Task Manager.

2. On Task Manager, click File > Run new task.

3. In the “Create new task” dialog that opens, type cmd in the box, check “Create this task with administrative privileges“, and then press Enter. This will run Command Prompt as administrator.

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

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Amd b550 windows 7
  • Программы для улучшения микрофона на компьютере windows 10
  • Minecraft for windows 2000
  • Как установить xbox на windows 10 без обновления
  • Windows 10 upgrade from windows 10 home