P-TECH IT
All P-TECH sites online· 9:15 PM Eastern, open the status page

Lesson 12: Windows Tools, Command Line and Settings

CompTIA A+ Core 2 (220-1202) · Objectives 220-1202 1.4, 220-1202 1.5, 220-1202 1.6, 220-1202 1.7 · Download .docx

Objectives

Key terms

Task Manager
Windows utility, opened with Ctrl+Shift+Esc, for viewing and ending running apps and processes, checking resource use, and managing startup items and services.
cd
Windows command that changes the current working directory or displays its name; the same name navigates folders in Linux and macOS shells.
Control Panel
Classic Windows settings interface containing applets for hardware, programs, networking, and accounts, gradually being replaced by the Settings app.
Workgroup
Peer-to-peer Windows network arrangement in which each computer manages its own user accounts and security with no central server.
Task Manager Processes tab
Task Manager view listing every running application and background process with its CPU, memory, disk, and network usage.
dir
Windows command that lists the files and subfolders in a directory, with switches to show hidden items, sizes, and dates.
Settings app
Modern Windows configuration interface organized into categories such as System, Devices, Network and Internet, Accounts, and Privacy.
Domain
Centrally managed Windows network in which a domain controller holds user accounts, authentication, and policies for all joined computers.
Task Manager Performance tab
Task Manager view showing live graphs of CPU, memory, disk, network, and GPU utilization plus hardware details such as uptime.
ipconfig
Windows command displaying IP address, subnet mask, gateway, and DNS settings, and able to release and renew DHCP leases or flush the DNS resolver cache.
Internet Options
Control Panel applet holding system-wide web settings such as security zones, proxy configuration, privacy options, and certificate management.
Shared resources
Files, folders, printers, or other devices that one computer or server makes available for other users on the network to access.
Task Manager Startup tab
Task Manager view listing programs that launch automatically at sign-in, with their startup impact and the option to disable them.
ping
Command available on Windows, Linux, and macOS that sends ICMP echo requests to test whether a host is reachable and measure round-trip time.
Devices and Printers
Control Panel view showing connected peripherals and printers, used to set the default printer and open device properties.

The concept

220-1202 1.4 — Use Windows tools such as Task Manager, Event Viewer, Device Manager, Disk Management and Group Policy. Task Manager startup apps: The Startup apps page (a tab in older layouts, a navigation-pane page in current Windows 11) lists programs configured to launch at sign-in and shows their startup impact. Disabling the entry there keeps the program installed but stops it from launching automatically. Event Viewer System log: Event Viewer shows the Windows logs, and the System log records events such as unexpected shutdowns (for example, Kernel-Power critical errors) with timestamps and sources. It is the first place to look for what happened at a specific time. Device Manager driver rollback: Device Manager (devmgmt.msc) keeps the previously installed driver, and the Roll Back Driver button on the device's Driver tab reinstalls it. This directly reverses a driver update that caused a problem. Resource Monitor disk activity: Resource Monitor's Disk tab lists each process's disk activity and the individual files being read and written, with throughput and response times. This lets the technician identify both the culprit process and what it is doing. msconfig safe boot: On the System Configuration Boot tab, selecting Safe boot with the Network option makes Windows start in Safe Mode with networking on every restart until the option is cleared. The General and Services tabs also support diagnostic and selective startup. Performance Monitor baseline: Performance Monitor can create data collector sets that record chosen counters at a set interval over time and then produce reports. That makes it the tool for long-term baselines that later performance can be compared against.

220-1202 1.5 — Use Windows command-line tools: navigation, disk, network, file and system utilities. ipconfig renew: The exhibit shows an APIPA address (169.254.x.x with mask 255.255.0.0 and no gateway), which Windows assigns when it cannot reach a DHCP server. ipconfig /renew makes the adapter send a new DHCP request, so it can get a valid lease now that the server is back. Interpreting ping results: Pings to 192.168.1.1 (the local router) succeed, which proves the adapter, cable, and local IP configuration work. Pings to a public IP address time out, so traffic is failing past the gateway. pathping per-hop loss: pathping combines the route discovery of tracert with repeated pings to each hop over a sampling period, then reports packet loss and latency for each router and link. This pinpoints where intermittent loss is happening. netstat listening ports: netstat -a shows all connections and listening ports, -n displays addresses and ports as numbers without name lookups, and -o adds the owning PID. The PID can then be matched to a program in Task Manager's Details tab. nslookup against a specific server: nslookup sends a DNS query for the given name, and the optional second argument chooses which DNS server to ask. The response shows exactly what that server returns, which isolates whether the internal DNS record is missing or wrong. net use mapped drive: net use connects a drive letter to a UNC path (\\server\share), and /persistent:yes saves the mapping so Windows restores it at each sign-in. The same command with /delete removes a mapping.

220-1202 1.6 — Configure Windows Settings and Control Panel: accounts, apps, devices, display, privacy, update and power. Show file name extensions: By default Windows hides extensions for registered file types, so 'invoice.pdf.exe' displays as 'invoice.pdf'. Clearing 'Hide extensions for known file types' on the View tab shows full file names, which exposes double-extension tricks used by malware. Fast startup and multiboot: Fast startup makes Shut down hibernate the Windows kernel session to hiberfil.sys instead of fully shutting down, so the NTFS volume is left in a hibernated state. Other OSs refuse to write to it to avoid corruption. USB selective suspend: USB selective suspend lets Windows power down individual idle USB ports to save energy, and power plans often enable it on battery. Some devices do not wake cleanly, so they appear to disconnect. Hibernate vs. sleep: Hibernate writes the contents of RAM to hiberfil.sys on the drive and then powers the system off almost completely, so it uses essentially no battery and restores the open session on resume. Sleep keeps RAM powered, which slowly drains the battery over a long period. Internet Options security zones: Internet Options (inetcpl.cpl) contains the security zones (Internet, Local intranet, Trusted sites, Restricted sites). On the Security tab, the technician selects Trusted sites, clicks Sites, and adds the gradebook URL. Indexing Options: Windows Search finds content quickly only in locations included in the search index. Adding D:\Projects through Indexing Options > Modify makes the indexer catalog those files and their contents.

220-1202 1.7 — Configure Windows networking: IP settings, DNS, firewall, VPN, workgroup vs domain and metered connections. Workgroup printer sharing: In a workgroup, each PC shares its own resources. Other computers can reach a shared printer only if File and printer sharing (and usually network discovery) is turned on for the active network profile in Advanced sharing settings. UNC network paths: Windows uses Universal Naming Convention (UNC) paths in the form \\server\share\path to reach network resources. The same path can be used to map a drive or create a shortcut. Firewall app exceptions: Windows Defender Firewall keeps separate Domain, Private, and Public profiles. Using 'Allow an app through firewall' and selecting only Private opens the exception on trusted networks while it stays blocked on public networks. Public vs. private network profile: The Public profile hides the PC and turns off network discovery to protect it on untrusted networks. On a trusted home network, the Private profile turns network discovery on so the PC can find, and be found by, other devices and printers. Static IP gateway mismatch: With a /24 mask the PC's network is 192.168.10.0, so it can deliver traffic directly only to 192.168.10.x addresses. A default gateway of 192.168.1.1 is on a different subnet and cannot be reached, so all off-network traffic fails. Proxy setup script: Settings > Network & internet > Proxy lets Windows detect proxy settings automatically, use a setup script (a PAC file URL), or use a manual proxy server. Entering the district's script address matches the other PCs, so external web traffic is sent through the proxy.

Worked examples

Example 1: A temporary staff member's contract ended, but the department wants to keep that person's local account and profile on a Windows 11 Pro PC for 30 days before deleting it. In Local Users and Groups, what should the technician do? Answer: Select 'Account is disabled' in the account's properties. In lusrmgr.msc, the account properties include 'Account is disabled', which blocks sign-in while keeping the account, its SID and profile intact. This supports off-boarding: disable first, then delete after the retention period.
Example 2: A technician opens Command Prompt from the Start menu and runs sfc /scannow, but receives a message that the user must be an administrator running a console session. The account is a member of the Administrators group. What should the technician do? Answer: Rerun it from an elevated (admin) prompt. With User Account Control, even administrators get a standard-user token by default. System File Checker needs full administrative rights to verify and replace protected system files, so the command prompt must be opened elevated with Run as administrator.
Example 3: A teacher connects a laptop to a docking station with an external monitor and keyboard and wants to close the lid while still using the laptop. Each time the lid closes, the laptop goes to sleep. Which setting fixes this? Answer: Lid action: Do nothing when plugged in. Power Options includes 'Choose what closing the lid does', with separate actions for battery and plugged in: Do nothing, Sleep, Hibernate or Shut down. Setting 'Plugged in' to Do nothing keeps the laptop running when docked with the lid closed.

Common mistakes

Self-check

Try each one before you look. A miss here costs nothing and tells you exactly what to reread.

1. A setting must change for only the currently signed-in user on a shared PC, and other users' settings must not be affected. In Registry Editor, under which root key should the technician make the change?
2. A remote user calls the help desk, and the technician needs the exact name of the user's computer to start a remote session. Which command can the user type to display only the computer name?
3. A student's camera works in the built-in Camera app, but a videoconferencing desktop app shows a black square. The driver is working. Which Settings category is the most likely place to fix this?
4. A six-PC office uses a workgroup with no server. A USB printer attached to the front-desk PC has been shared in its printer properties, but other PCs still cannot see it. The network profile is Private. What else must be enabled on the front-desk PC?
5. A lab PC restarted unexpectedly overnight. The technician wants to see what the OS recorded about the shutdown, including any critical errors, at the time it happened. Which tool should be used?

Canvas is the official record. This companion enhances the PGCC curriculum; it does not replace it. Last name and class year only. Students with a 504 plan or IEP: your accommodations apply.

← Lesson 11: Operating Systems, Installation and Windows EditionsLesson 13: macOS and Linux →

↑ Back to top