How to Access Device Manager From the Command Prompt
This trick works on almost any version of Windows
What to Know
- The Device Manager run command is handy to know for starting the Device Manager, updating drivers, and more.
- Enter devmgmt.msc into Command Prompt.
- You can also open Device Manager in Windows 11, 10, 8, 7, and Vista using a Control Panel applet.
One really easy way to start Device Manager in any version of Windows is from the Command Prompt.
Just type the devmgmt.msc command, or one of the other three we describe below, and voilà…Device Manager starts right up!
Instructions in this article apply to Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP.
Besides being one of the fastest ways to open it, knowing the run command for Device Manager should come in handy for other things, too. Advanced tasks like writing command-line scripts would call for the Device Manager command, as well as other programming tasks in Windows.
How to Access Device Manager From the Command Prompt
Time Required: Accessing Device Manager from Command Prompt, or another command-line tool in Windows, should take less than a minute, even if this your first time executing commands.
Follow these easy steps to access Device Manager from the Command Prompt:
-
Open Command Prompt. Search for cmd in the Start menu or search bar in most versions of Windows.
You could also do so with administrative privileges by opening an elevated Command Prompt, but you don’t need to open Command Prompt with admin rights in order to get to Device Manager from the command line.
Command Prompt is the most all-inclusive way to run commands in Windows, but the following steps could be performed via the Run tool, or even from Cortana or the search bar in newer versions of Windows.
The primary way to open the Run dialog box is with the keyboard: Press and hold the Windows key, and then press R once. Another way is through Task Manager, which you might do if the Windows desktop has crashed and you can only open Task Manager; to do that, go to Run new task at the top (Windows 11) or File > Run new task, and then enter one of the commands below.
-
Once either Command Prompt or the Run box is open, type either of the following, and then press Enter:
devmgmt.msc
or
mmc devmgmt.msc
Device Manager should open immediately.
MSC files, which are XML files, are used in these commands because Device Manager is a portion of the Microsoft Management Console, which is the built-in tool included with Windows that opens these kinds of files.
-
You can now use Device Manager to update drivers, view a device’s status, manage the system resources that Windows has assigned to your hardware, and more.
Two Alternative Device Manager CMD Methods
In Windows 11, 10, 8, 7, and Vista, Device Manager is included as an applet in Control Panel. This means that there’s an associated Control Panel applet command available.
Two of them, actually:
control /name Microsoft.DeviceManager
or
control hdwwiz.cpl
Both work equally well but must be executed from Command Prompt or the Run dialog box, not from Cortana or other universal search boxes.
No matter how you get it to open—via Control Panel, Run, a desktop shortcut, Command Prompt, a BAT file, PowerShell, etc.—Device Manager works the same, looks the same, and has the exact same features. You’re just picking one of several shortcuts to open the file.
Device Manager Resources
Here are some articles with more information and tutorials regarding Device Manager:
- How Do I Enable a Device in Device Manager in Windows?
- How Do I Disable a Device in Device Manager in Windows?
- How Do I View a Device’s Status in Windows?
- Why Is There a Red X in Device Manager?
- Why Is There a Black Arrow in Device Manager?
- Fixing a Yellow Exclamation Point in Device Manager
- Device Manager Error Codes
FAQ
-
Open the cmd prompt by pressing the Windows key + R and typing in cmd, then press Ctrl + Shift + Enter. Input your administrator account credentials when prompted, then type devmgmt.msc and press Enter.
-
First you’ll need to uninstall the keyboard from Device Manager. From the cmd, right-click Command Prompt and select Run as Administrator. Next, type in sc config i8042prt start= disabled and press Enter. Finally, close the cmd and restart your laptop.
Thanks for letting us know!
Get the Latest Tech News Delivered Every Day
Subscribe
С помощью диспетчера устройств можно управлять всеми подключенными гаджетами, обновить драйверы периферии и встроенного оборудования и т.д. Открыть приложение диспетчера просто — есть много способов.
1 Запустить диспетчер через поиск
Этот метод работает на любой версии ОС: он поможет открыть диспетчер устройств Windows 11/10/7 и других модификациях. Кроме того, именно такой способ рекомендует официальная поддержка Microsoft как самый простой.
Достаточно ввести слова «диспетчер устройств» в поле поиска на панели задач (в меню «Пуск»).
Выберите первый результат в списке выдачи — откроется нужное приложение.
Важно: если в качестве основного языка используется английский, то вводите в поиск словосочетание Device Manager.
2 Использовать интерфейс Windows
Еще один несложный метод открыть диспетчер устройств — это кликнуть правой кнопкой мыши (ПКМ) по иконке «Компьютер» и выбрать пункт «Управление» в контекстном меню. Также можно открыть папку «Мой компьютер» и выбрать раздел «Управление» на панели сверху.
В списке слева вы найдете нужный пункт — «Диспетчер устройств».
3 Открыть диспетчер устройств через Win R
Вызвать диспетчер устройств можно с помощью диалогового окна «Выполнить».
Используйте комбинацию клавиш [Win]+[R]. Win — это кнопка «Пуск», отмеченная символом Windows. Также получится запустить приложение через поиск: введите слово «выполнить» и откройте первую предложенную утилиту.
В поле «Открыть» вставьте команду devmgmt.msc и нажмите [Enter] или кнопку OK, чтобы подтвердить ввод.
Готово: откроется диспетчер устройств.
4 Открыть диспетчер устройств через командную строку
Командная строка является системным приложением Windows и находится в папке служебных программ. Также ее можно открыть, введя в поле «Выполнить» команду cmd.
Для открытия диспетчера нужно использовать ту же команду, что и в предыдущем способе: devmgmt.msc.
5 Запустить диспетчер через панель управления
Если вы не хотите использовать командную строку, то попробуйте этот метод.
- Откройте панель управления Windows. Можно найти ее через поиск или в списке служебных приложений.
- Перейдите к разделу «Оборудование и звук».
- В подразделе «Устройства и принтеры» будет кнопка для доступа к диспетчеру устройств.
6 Вызвать диспетчер из папки system32
Если ни один метод не работает или по каким-то причинам не нравится вам, то можете открыть диспетчер устройств на Виндовс прямо из системной папки system32. Она находится по адресу «C:\Windows\System32», где С — диск, на котором находятся файлы операционной системы.
Файл для запуска диспетчера называется devmgmt.msc. Откройте его с помощью двойного нажатия ЛКМ или через клик ПКМ — «Открыть».
7 Создать ярлык Диспетчера устройств
Если вы часто используете диспетчер, создайте ярлык для его быстро запуска и держите его на рабочем столе.
- Кликните по любому пустому месту на рабочем экране правой кнопкой мыши и выберите «Создать» — «Ярлык».
- Введите адрес расположения объекта: C:\Windows\System32\devmgmt.msc. Мы выяснили его в предыдущем пункте.
- Укажите название ярлыка.
Готово: новая иконка появится на рабочем столе.
8 Использовать меню Win X
Начиная с версии Windows 8, в системе появилось меню Win X. Его можно открыть соответствующим сочетанием клавиш. В списке также есть пункт для открытия диспетчера устройств.
Читайте также:
- Как задать формат А4 в фоторедакторах типа Adobe Photoshop
- Как установить сертификат Минцифры: подробная инструкция
- Мощный ноутбук для работы и развлечений: топ-10 лучших в 2023 году
The Device Manager is one of the key utilities on a Windows PC. It is really very important as it helps you to troubleshoot or configure the PC hardware and its drivers. Hence, it is quite obvious that you’ll have to use it at some stage of your Windows PC operation. So, here are the 4 different ways to open the Device Manager using the command lines on your Windows 11 and Windows 10 PC.
It is obvious that you can open any of the Windows programs and utilities by searching for them. But that way is quite lengthy and pathetic and to be a pro-Windows user, you should be familiar with the following Device Manager commands to open it.
Open Device Manager using Command Prompt
The first way that is one of the most convenient and simple is to open Device Manager using a CMD window. To open Device Manager using Command Prompt:
- Running any of the above Device Manager commands will launch the Device Manager window via the Command Prompt utility.
Open Device Manager using the Run command
The second way to use the Device Manager command is to execute it in the Windows Run Dialog box. To open Device Manager using the Run dialog box on your Windows PC:
Once done, the Device Manager windows will get loaded.
Bottom Line
So, this is how you can use the Device Manager commands in Command Prompt and Run to open the same very easily. There are a number of commands that you can use to open the Device Manager on your Windows 11 and Windows 10 PC. I am hoping that this short guide would have been a helpful one for you and you would have got to know something new and interesting.
You can Open Device Manager Using Command Prompt on Windows 10 instantly when other procedures fail to give the expected result. If you are fond of playing with commands then this method is especially for you. So, in this concern, the Device Manager command hardly takes less than one minute to launch the tool on the PC screen. Read our similar guide to know more about it – Windows 10 – How to Find Device Manager and Use its Functions.
Device Manager comes in handy when you face issues with drivers. This built-in tool lets you perform various tasks such manage installed drivers, enable or disable the devices, update them, see lost ones and so on. Though Windows provides other tools to deal the hardware problems, the smooth interface of Device Manager makes things easier. Follow our guide to Identify if a Driver is Causing Issues in Windows 10 with Verifier. So, if you are curious to know where is Device Manager on Windows 10, keep reading to quickly open this tool.
How to Open Device Manager Using Command Prompt in Windows 10
Step 1 – Type cmd on Cortana and when Cortana displays Command Prompt in the Best match section, click on it.
For reference, pursue Windows 10 – How to Launch and Use Command Prompt.
Step 2 – Copy-paste any of the below command lines of your choice and press Enter to open Device Manager.
devmgmt.msc
OR
mmc devmgmt.msc
Step 3 – Executing the above two command lines should immediately show Device Manager on the computer screen.
Note – You all know that Control Panel still contains Device Manager applet which indicates that there is a related Control Panel command working.
Step 4 – So, you have the below-mentioned two more Device Manager command lines to run.
control /name Microsoft.DeviceManager
OR
control hdwwiz.cpl
Moreover, the above two Device Manager commands can also be executed through Run along with Command Prompt. But make sure they will not work in Cortana or any other Universal search options.
Step 5 – Finally, no matter what version of Windows is running on your PC, just perform the above steps to Open Device Manager Using Command Prompt.
Conclusion
You may be aware of the fact that certain advanced tasks would also call for the Device Manager command line in Windows 10. Well, whatever method you choose to open it, Device Manager works the same. If you know more commands in this regard, feel free to write to us.
On Windows 10 computers, the Device Manager is where all hardware troubleshooting will take place. This quick tip will walk you through the different methods for accessing the Device Manager in Windows 10.
How to launch Device Manager from Search?
Type «Device manager» or «Update device drivers» in the Search bar of Windows 10 and press Enter:
Press [Windows key] + [X] (or right-click on Start) to bring up the Power User menu. Select Device Manager from the contextual menu options.
How to launch the Device Manager using the Run Command?
Open the Run command, type:
devmgmt.msc
and press Enter:
How to Launch the Device Manager from Windows 10 settings menu?
Click on Start > Settings > Devices > Connected Devices > Related Devices and click on Device Manager.
do you have more questions about windows? check out our forum!