title: “How To Access Device Manager From The Command Prompt” ShowToc: true date: “2022-11-27” author: “Maria Wilson”
Just type the devmgmt.msc command, or one of the other three we describe below, and voilà…Device Manager starts right up!
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.
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.
or
Device Manager should open immediately.
Two of them, actually:
or
Both work equally well but must be executed from Command Prompt or the Run dialog box, not from Cortana or other universal search boxes.
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