Sub topic 18
Matching Tools to Exam Scenarios
This chapter assumes you know the commands and consoles from earlier chapters: ipconfig, ping, tracert, nslookup, netstat, sfc, chkdsk, Event Viewer, Task Manager, Resource Monitor, regedit, and the Windows Defender Firewall console. Here you practice choosing one tool from a symptom.
A selection method
Exam questions describe a symptom and ask for the best tool. Work through three steps:
- Name the layer that is failing: network, disk, system files, a process, a service, policy, or configuration.
- Decide whether you need to look (a read-only tool) or change something (a tool that alters the system).
- Pick the narrowest tool that answers the question.
Scenario table
| Symptom | First tool | Why |
|---|---|---|
| Address starts with 169.254 | ipconfig /release then /renew | The DHCP lease failed, so a new request is needed |
| Site name fails but the IP address works | nslookup, ipconfig /flushdns | The fault is name resolution, not connectivity |
| Traffic stops somewhere past the router | tracert -d | It shows which hop stops answering |
| Unknown program uses the network | netstat -ano, then Task Manager | The process ID links the connection to a program |
| Windows files seem corrupt | sfc /scannow | It repairs protected system files |
| File system errors on a drive | chkdsk /f | It fixes file system errors |
| New disk is not visible in File Explorer | Disk Management | The disk may need initializing and a drive letter |
| Service crashed overnight | Event Viewer, then Services | The log gives the cause, and Services sets recovery actions |
| Computer is slow right after sign-in | Task Manager Startup tab | You can disable high-impact startup items |
| Policy setting did not apply | gpupdate /force, gpresult /r | It reapplies policy, then shows what applied |
| Check a build or version number | winver | It shows the Windows edition and version |
Worked example
A user says a mapped drive is gone and web pages do not load. Test from the inside out:
ipconfig /all
ping -n 4 127.0.0.1
ping -n 4 example.com
nslookup example.com
net useIf ipconfig shows a 169.254 address, renew the lease. If the loopback ping works but the name fails while a ping to a known IP address works, DNS is at fault. Then run net use to see whether the drive mapping still exists.
Common traps
- Do not use a console when a one-line command is faster, and the reverse. Event Viewer explains the past. Performance Monitor tracks counters over time.
- Resource Monitor shows which process uses a disk or network resource right now. Task Manager gives the quick overview.
- msconfig changes boot and startup settings. Services changes how one service starts.
- Back up the registry before changing it in regedit.
Exercise
A technician sees that a laptop shows "Limited connectivity" with the address 169.254.12.7. Which commands should be tried first, and which tool would show whether the DHCP client service is running?
Show answer
Run ipconfig /release and then ipconfig /renew to request a new DHCP lease. Check the DHCP Client service in the Services console, and look in Event Viewer for related errors.
Exercise
A user reports that a drive added to a desktop does not appear in File Explorer. Which tool do you open first, and what will you likely need to do?
Show answer
Open Disk Management. The disk will likely need to be initialized, partitioned, formatted, and given a drive letter.