Sub topic 10
Microsoft Management Console and Computer Management
This chapter assumes you can open Command Prompt and the Run box, and that you know the difference between an administrator and a standard user. It also assumes you know what a service, a driver, and a partition are. The chapter explains the framework that hosts most Windows management tools and the console that groups them.
What MMC is
Microsoft Management Console (MMC) is a host program, mmc.exe. By itself it does nothing. It loads snap-ins, which are small modules that each manage one area, such as devices or disks. A saved set of snap-ins is a console file with the .msc extension. Many tools you use are .msc files that load one or more snap-ins:
| Tool | Command | Snap-in purpose |
|---|---|---|
| Computer Management | `compmgmt.msc` | Groups several snap-ins in one window |
| Device Manager | `devmgmt.msc` | Drivers and device status |
| Disk Management | `diskmgmt.msc` | Initialize, partition, assign letters |
| Event Viewer | `eventvwr.msc` | System and application logs |
| Services | `services.msc` | Start, stop, and configure services |
| Task Scheduler | `taskschd.msc` | Scheduled tasks |
| Performance Monitor | `perfmon.msc` | Counters and data collection |
| Local Users and Groups | `lusrmgr.msc` | Local accounts and groups |
| Local Group Policy Editor | `gpedit.msc` | Local policy settings |
| Local Security Policy | `secpol.msc` | Security settings subset |
| Windows Defender Firewall with Advanced Security | `wf.msc` | Inbound and outbound rules |
You can start any of them from the Run box (Win+R), from Command Prompt, or from the Start menu search.
compmgmt.msc
devmgmt.msc
diskmgmt.msc
mmcRunning mmc with no file opens an empty console. Use it to build your own tool, as described below.
Computer Management
Computer Management is a prebuilt console that puts the most common snap-ins in one tree. Open it by running compmgmt.msc or by right-clicking Start and choosing Computer Management. The tree has three branches.
Two items in the diagram are easy to overlook:
- Shared Folders has three nodes. Shares lists every folder shared from this computer, including hidden administrative shares such as
C$andADMIN$. Sessions lists users connected to this computer. Open Files lists the files they have open. This is where you find who is holding a file open before you close it. - WMI Control configures Windows Management Instrumentation, the interface that management software uses to query system information. You rarely change it on the exam, but you should recognize it.
Elevation and edition limits
Most changes in these consoles need administrator rights. If you open one from a standard account, Windows prompts for admin credentials through User Account Control (UAC). Some snap-ins open but show read-only data or refuse changes without elevation.
Edition matters too. Windows Home does not include Local Users and Groups (lusrmgr.msc), the Local Group Policy Editor (gpedit.msc), or Local Security Policy (secpol.msc). In Computer Management on Home, the Local Users and Groups node is missing. On Home you manage accounts through Settings, Control Panel, or net user.
Managing another computer
Right-click the top node, Computer Management (Local), and choose Connect to another computer. Enter a name, and the same tree then shows that machine's data. This works only when:
- You have administrator rights on the remote computer.
- The remote computer is reachable by name or IP address.
- Remote management is allowed through its firewall, for example the Remote Event Log Management and Remote Service Management rules.
Typical failures are "Access is denied" (wrong credentials or no admin rights) and "The network path was not found" (name resolution or firewall problems).
Building a custom console
A custom console shows only the tools you need. This is useful for a help desk technician who needs just Event Viewer and Services.
- Run
mmcand accept the UAC prompt. - Choose File, then Add/Remove Snap-in.
- Select a snap-in, such as Event Viewer, and choose Add. For snap-ins that can target other machines, choose Local computer or another computer.
- Repeat for each snap-in, then choose OK.
- Choose File, then Save As, and give the file a name. It is saved as
.msc.
Open a saved console with mmc C:\Tools\HelpDesk.msc or by double-clicking it. In File, then Options, you can set the console mode. Author mode lets users add or remove snap-ins and change the layout. User mode limits what they can change, so it suits consoles you hand to others.
mmc C:\Tools\HelpDesk.mscTools that are not MMC snap-ins
The exam often tests whether you can tell MMC tools from standalone ones. These open in their own windows and are not MMC snap-ins:
- Task Manager (
taskmgr) - Registry Editor (
regedit) - System Configuration (
msconfig) - System Information (
msinfo32) - Resource Monitor (
resmon)
Resource Monitor is also reachable from Task Manager and Performance Monitor, but it runs as its own program.
Common errors
- A node is missing. Check the edition first. Home lacks local users and groups and the policy editors.
- Changes fail or are denied. Close the console and reopen it with elevation, or approve the UAC prompt.
- Your custom console loses its snap-ins. You did not save it. MMC asks to save on close, and answering No discards the layout.
- A remote connection fails. Test reachability with
ping, then confirm admin rights and firewall rules on the target.
Exercise
A technician on a Windows 10 Home laptop runs compmgmt.msc to create a new local account, but the Local Users and Groups node is missing. Why, and how can the technician still create the account?
Show answer
Windows Home does not include the Local Users and Groups snap-in (lusrmgr.msc). The technician can create the account in Settings (Accounts), in Control Panel, or from an elevated Command Prompt with the net user command.
Exercise
You want a console that shows only Event Viewer and Services, and you want to hand it to a junior technician so they cannot add other snap-ins. What do you run, and which console mode do you save it in?
Show answer
Run mmc, use File > Add/Remove Snap-in to add Event Viewer and Services, then set the mode under File > Options to a user mode (not Author mode) and save the file as a .msc. Opening it with "mmc path\name.msc" loads the console without allowing snap-in changes.