Sub topic 14
Core 2 domain: Software troubleshooting
This chapter assumes you have read the earlier chapters on the Core 2 (220-1202) scope, the operating systems domain, the security domain, and the CompTIA troubleshooting methodology. You should know what Windows Safe Mode, Task Manager, and an antivirus scanner are. Software troubleshooting is the third domain of Core 2. CompTIA has weighted it at roughly a quarter of the exam, so check the current official objectives for the exact percentage.
What the domain covers
The domain applies the troubleshooting methodology to software and security problems. It has four areas:
- Common Windows OS problems
- Common PC security symptoms
- The best-practice procedure for malware removal
- Mobile OS, application, and mobile security issues
Questions in this domain usually give you a symptom and ask for the most likely cause or the best next step. They rarely ask for a definition. You need to connect symptoms to causes, and then pick the least destructive action that tests your theory.
Common Windows problems
Learn each symptom with its likely causes and a first action.
| Symptom | Likely causes | Good first steps |
|---|---|---|
| Blue screen of death (BSOD) | Bad driver, failing RAM or disk, corrupt system files | Note the stop code, boot to Safe Mode, roll back the driver, run `sfc /scannow` |
| "No operating system found" or boot failure | Wrong boot order, damaged boot record, failed drive | Check boot order, disconnect removable media, use recovery tools to repair startup |
| Slow performance | Too many startup items, low memory, full disk, malware | Check Task Manager, disable startup apps, check free disk space, scan for malware |
| Service fails to start | Dependency stopped, bad credentials, corrupt file | Open `services.msc`, check dependencies and logon account, read Event Viewer |
| Application crashes | Bad update, missing runtime, corrupt profile | Check Event Viewer, repair or reinstall the app, test with a new user profile |
| Slow profile load | Large or corrupt profile, network-stored profile | Test with a new profile, check the network connection to the profile server |
| Time drift | Dead CMOS battery, wrong time source | Replace the battery on a PC that keeps losing time, resync with a time server |
Most of these problems have more than one possible cause. Test the cheapest, least destructive theory first. Rolling back a driver costs less than reinstalling Windows.
System file repair
When Windows behaves strangely after a crash or a failed update, protected system files may be damaged. System File Checker (SFC) scans them and replaces corrupted copies from a local cache. Run it from an elevated command prompt, which means one opened with "Run as administrator."
sfc /scannowIf SFC cannot repair the files, the local cache itself may be damaged. Deployment Image Servicing and Management (DISM) repairs that cache. Run DISM first, then run SFC again.
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannowSecurity symptoms
A PC that is slow or acting oddly may be infected. Learn to recognize the symptoms that suggest malware:
- Unexpected pop-ups, or a browser that redirects you to other sites
- Certificate warnings on sites that normally load fine
- Antivirus alerts, or a fake alert that tells you to call a phone number
- Renamed or disappearing files, or changed file permissions
- A hijacked email account that sends messages you did not write
- Unwanted browser notifications
- A sudden slowdown or heavy network use
Some symptoms point to a different problem. A certificate warning can also mean the PC's clock is wrong, so check the date and time before you assume an attack.
The malware removal procedure
CompTIA expects you to know the seven steps in order. The order matters, because exam questions often ask what comes next.
Notes on each step:
- Investigate and verify. Confirm that the symptoms really are malware before you act.
- Quarantine. Disconnect the system from the network so the infection cannot spread. Unplug the cable or turn off Wi-Fi.
- Disable System Restore. Malware can hide in old restore points, and a scanner cannot clean them while System Restore is on.
- Remediate. Update the anti-malware tool, then scan and remove. If the malware resists, boot into Safe Mode or a preinstallation environment and scan from there.
- Schedule scans and run updates. Patch the OS and apps so the same hole is closed.
- Enable System Restore and create a fresh restore point, now that the system is clean.
- Educate the end user. Explain what happened and how to avoid it next time.
Mobile OS and application issues
Mobile problems follow the same methodology, with different tools. Common symptoms and first steps:
- App will not launch or keeps crashing: Force-close it, clear its cache, update or reinstall it, and check that the OS is up to date.
- Short battery life or overheating: Look for apps that use a lot of power in the battery settings, lower the screen brightness, and check for a swollen battery. A swollen battery is a safety problem, so stop using the device.
- Slow performance: Close background apps, free up storage, and restart the device.
- No connectivity: Toggle airplane mode, check Wi-Fi and cellular settings, and forget and rejoin the network. Check Bluetooth pairing for peripherals.
- Inaccurate GPS: Check that location services are on and the app has permission.
Mobile security issues
Some mobile symptoms point to a security problem:
- A rooted (Android) or jailbroken (iOS) device has had its built-in restrictions removed. This exposes it to malware.
- Sideloaded apps come from outside the official app store, so nobody has vetted them.
- A sudden spike in data usage or a very fast battery drain can mean a hidden app is running.
- Signs of unauthorized account access include login alerts you did not trigger.
- A leaked personal file or photo suggests a compromised account or app.
A typical response is to remove the suspicious app, run a mobile security scan, change passwords, and, if needed, restore the device to factory settings.
Applying the methodology
Each scenario should follow the same sequence. For example, a user says their laptop is slow and shows pop-ups.
- Identify the problem: ask when it started, what changed, and whether the pop-ups appear in the browser only.
- Establish a theory: probable cause is malware from a recent download.
- Test the theory: check installed programs and run a scan.
- Establish a plan and implement it: follow the malware removal steps above.
- Verify full functionality and apply preventive measures.
- Document findings, actions, and outcomes.
Exercise
A technician confirms that a workstation has malware and disconnects it from the network. What is the next step in the CompTIA malware removal procedure, and why does it come before scanning?
Show answer
Disable System Restore. Malware can hide in saved restore points, and a scanner cannot clean those files while System Restore is on. Scanning and removal come after that, in the remediation step.
Exercise
After a failed Windows update, sfc /scannow reports that it found corrupt files but could not repair some of them. Which command should you run next, and what do you do after it finishes?
Show answer
Run DISM /Online /Cleanup-Image /RestoreHealth to repair the local component store that SFC uses as its source. Then run sfc /scannow again.