98-349 · Question #341
You are an intern at a small company. You are learning how to run some of the system management tools from a command line. You want to access Device Manager from a command prompt. Which command…
The correct answer is D. devmgmt.msc. To open Device Manager from the command prompt, you should use the devmgmt.msc command, as Device Manager is an MMC snap-in.
Question
Options
- Adevmgmt.cpl
- Bdevmgmt.dll
- Cdevmgmt.exe
- Ddevmgmt.msc
How the community answered
(16 responses)- B6% (1)
- D94% (15)
Why each option
To open Device Manager from the command prompt, you should use the devmgmt.msc command, as Device Manager is an MMC snap-in.
.cpl files are Control Panel items, but Device Manager is not accessed via a .cpl file.
.dll files are Dynamic Link Libraries, which are code libraries used by programs, not direct commands to launch an application.
While some tools have .exe files, Device Manager is specifically an MMC snap-in, and its direct executable form is not devmgmt.exe.
The devmgmt.msc command is the correct way to open Device Manager from a command prompt or the Run dialog, because Device Manager is implemented as a Microsoft Management Console (MMC) snap-in with the .msc file extension. Executing this command launches the specific MMC console pre-loaded with the Device Manager snap-in.
Concept tested: Command line tools and MMC snap-ins
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/mmc
Topics
Community Discussion
No community discussion yet for this question.