Task Manager and the MMC Snap-Ins
Unit 2: Windows Tools, Commands, Settings, and Networking. Lesson 5 of 41 in APlus Academy Core 2.
Core 2 asks for tools by name, including the .msc file that opens them. Learn each tool as "the place you go to do X."
Task Manager
Open with Ctrl+Shift+Esc, right-click the taskbar, or run taskmgr. Its tabs:
- Processes: every running app and background process with CPU, memory, disk, and network use; right-click to end a hung task. Sort by a column to find the hog.
- Performance: live graphs of CPU, memory, disk, Ethernet and Wi-Fi, and GPU; opens Resource Monitor for detail.
- App history: resource use over time for store apps.
- Startup (Startup apps): programs that launch at sign-in with their startup impact; disable the ones slowing the boot. (This moved here from msconfig.)
- Users: who is signed in and what each session uses; sign a user off.
- Details: every process by executable name with PID, priority, and the option to set affinity.
- Services: running and stopped services; start, stop, or open the Services console.
The Microsoft Management Console
The MMC (mmc.exe) is a shell that hosts snap-ins; each .msc file is a saved console with one snap-in. Computer Management (compmgmt.msc) bundles many of them.
- Event Viewer (
eventvwr.msc): the Windows logs. Application (program errors), Security (audits, logons), System (drivers, services, hardware, shutdowns), plus Setup and application-specific logs. Levels: Critical, Error, Warning, Information. The first place to look for why a service failed or a machine crashed; filter by time and level. - Disk Management (
diskmgmt.msc): initialize new disks (MBR or GPT), create, shrink, extend, and delete partitions, format, assign drive letters, mark active, convert basic to dynamic, mount a volume in a folder. A disk that shows as "Not initialized" is new; "Unallocated" space is not yet a partition. - Task Scheduler (
taskschd.msc): run a script or program on a schedule or when an event occurs, with a chosen account and conditions (only on AC power, wake the machine). - Device Manager (
devmgmt.msc): every hardware device and its driver. A yellow triangle means a problem (missing driver, conflict); a down arrow means disabled. Update, roll back (after a bad update), disable, or uninstall a driver; view resources; show hidden devices. - Certificate Manager (
certmgr.msc): the current user's certificates: personal, trusted root authorities, intermediate; import and export; a missing root certificate causes trust errors. - Local Users and Groups (
lusrmgr.msc): create and disable local accounts, reset passwords, set account options, manage group membership (Administrators, Users, Remote Desktop Users). Pro and above; Home uses the Settings app. - Performance Monitor (
perfmon.msc): counters (processor time, available memory, disk queue, network bytes) graphed over time, data collector sets, and reports; the tool for baselining and for catching a slow leak. - Group Policy Editor (
gpedit.msc): Local Computer Policy with Computer Configuration and User Configuration: password policy, lockout, software restrictions, desktop settings, Windows Update behavior; Pro and above. In a domain, the same settings come from Group Policy Objects on the domain controller.
Choosing the tool from the scenario
- Why did the service fail at 3 a.m.? Event Viewer, System log.
- A new drive shows nothing in File Explorer. Disk Management: initialize and format.
- Run a backup script nightly. Task Scheduler.
- A device stopped working after a driver update. Device Manager, roll back.
- Enforce a password length on a standalone PC. Group Policy Editor.
- Find what is eating memory right now. Task Manager, Processes, sort by memory.
- Track disk activity over a week. Performance Monitor.
Task Manager and the MMC Snap-Ins, explained slowly
A tool for every question
Windows administration is a set of consoles, each answering one question. The exam gives the question and expects the console, often by its .msc name. Memorize the pairs and the one distinguishing detail for each.
Task Manager, tab by tab
tab question it answers action Processes what is running and what is it consuming right now end task; sort by CPU, memory, disk, network Performance how busy is each resource, graphed open Resource Monitor App history which store apps used the most over weeks Startup what launches at sign-in and how much it slows boot disable Users who is signed in and what their sessions use sign off, disconnect Details every process by executable, PID, priority set priority or affinity, end process tree Services which services run and under what PID start, stop, open Services console
Open it with Ctrl+Shift+Esc; it works even when the desktop is unresponsive.
The snap-ins, by scenario
scenario console what you would see or do a service failed overnight; why? eventvwr.msc, System log Error events with the service name and reason a program crashes on launch eventvwr.msc, Application log faulting module name who logged on or failed to eventvwr.msc, Security log audit events 4624 and 4625 a new disk does not appear in File Explorer diskmgmt.msc Not initialized: initialize as GPT, New Simple Volume, format extend C: into unallocated space diskmgmt.msc Extend Volume (space must be adjacent) a hardware device stopped working after an update devmgmt.msc yellow triangle; Roll Back Driver a device is present but should not be used devmgmt.msc Disable device (down arrow) run a cleanup script every Sunday at 2 a.m. taskschd.msc Create Basic Task, weekly trigger, run whether logged on or not an HTTPS site is not trusted only on this PC certmgr.msc missing or expired root certificate add a local admin on a standalone Pro machine lusrmgr.msc New User, add to Administrators find a slow memory leak over a week perfmon.msc data collector set logging Available MBytes require 12-character passwords on a standalone PC gpedit.msc Computer Configuration, Windows Settings, Security Settings, Account Policies
Event Viewer levels and habits
Levels: Critical (the system could not recover, such as an unexpected shutdown), Error (a problem that did not stop the system), Warning (something to watch), Information (normal events). Filter the log by level and time window around the incident. Custom views collect what you care about. The Source column names the component; the Event ID is what you search for.
Disk Management vocabulary
state or action meaning Not initialized brand new disk; choose MBR or GPT Unallocated no partition yet; New Simple Volume creates and formats one Healthy (Primary) a normal partition Healthy (Boot, System) the Windows partition and the EFI or system partition Extend Volume grow into adjacent unallocated space Shrink Volume free space at the end for a new partition Change Drive Letter reassign; also mount into an empty NTFS folder Dynamic disk software spanning, striping, or mirroring; rarely used now (Storage Spaces instead)
Device Manager icons
A yellow triangle with an exclamation mark: the device has a problem (no driver, driver failed, resource conflict). A gray down arrow: disabled by an administrator. A device in "Other devices" with a question mark: unknown, no driver at all. "View, Show hidden devices" reveals ghosts from unplugged hardware. Roll Back Driver is only available if a previous driver exists.
Worked example
A user reports the PC "freezes for a second every few minutes." Task Manager shows disk at 100 percent in bursts; Resource Monitor names a backup agent scanning files; Event Viewer's Application log shows the agent logging errors about a locked file; Task Scheduler shows the agent's task running every five minutes; the fix is the task's schedule, and Performance Monitor logging disk queue length over the next day proves it.
How the exam asks it
- "Which tool shows why a service failed to start?" Event Viewer.
- "Which snap-in initializes a new disk?" Disk Management.
- "A technician needs to roll back a driver." Device Manager.
- "Automate a script to run nightly." Task Scheduler.
- "Log processor use over several days." Performance Monitor.
- "Set a local password policy on a Pro workstation." Group Policy Editor.
- "Which Task Manager tab disables programs that launch at login?" Startup.
What to memorize
- Task Manager tabs and Ctrl+Shift+Esc.
- eventvwr (Application, Security, System; levels), diskmgmt (initialize, unallocated, extend), taskschd, devmgmt (yellow triangle, roll back), certmgr, lusrmgr, perfmon, gpedit; compmgmt bundles them.