Windows OS Troubleshooting

Key Takeaways

  • A **Blue Screen of Death (BSOD)** is a kernel-level stop error; record the stop code and any named driver file first, then reboot once before assuming hardware failure.
  • **Safe Mode** loads Windows with minimal drivers and services so you can roll back a bad driver, remove malware, or undo a setting that blocks a normal boot.
  • **System Restore** reverts system files, the registry, drivers, and installed programs to a restore point but never touches personal files — it is not a backup.
  • The **Windows Recovery Environment (WinRE)** offers Startup Repair, System Restore, Command Prompt, System Image Recovery, and Reset this PC when Windows will not boot; trigger it by interrupting boot three times.
  • On the V15 Core 2 (220-1202) exam, Software Troubleshooting is 23% of objectives and is tested through scenario and performance-based questions — know the CLI repair sequence: sfc /scannow, DISM /RestoreHealth, then chkdsk /f /r.
Last updated: June 2026

Blue Screen of Death (BSOD)

A Blue Screen of Death (BSOD), formally a stop error, appears when the Windows kernel hits a fault it cannot safely recover from and halts to protect data on disk. CompTIA expects you to treat the on-screen stop code as the primary diagnostic clue rather than guessing. Modern Windows 10/11 screens show a short code (for example, DRIVER_IRQL_NOT_LESS_OR_EQUAL) and often the failing driver file name (such as nvlddmkm.sys), which points directly at the culprit.

Common Stop Codes and Their Real Causes

Stop CodeMost Likely CauseFirst Action
IRQL_NOT_LESS_OR_EQUALBad driver or faulty RAMRoll back driver, run Windows Memory Diagnostic
PAGE_FAULT_IN_NONPAGED_AREAFaulty RAM or corrupt driverTest RAM, update driver
SYSTEM_SERVICE_EXCEPTIONIncompatible driver, corrupt filesfc /scannow, update driver
CRITICAL_PROCESS_DIEDCorrupt system files or malwaresfc, DISM, malware scan
DPC_WATCHDOG_VIOLATIONStorage/SSD driver timeoutUpdate storage controller driver and firmware
UNMOUNTABLE_BOOT_VOLUMECorrupt boot sector, failing driveWinRE → chkdsk C: /f /r
INACCESSIBLE_BOOT_DEVICEChanged SATA/RAID mode in firmwareRestore prior SATA mode (AHCI/RAID)

Worked Triage Sequence

  1. Photograph or write down the stop code and any .sys file named — this is the single most testable habit.
  2. Reboot once. A lone BSOD can be a transient glitch; do not replace hardware on a single event.
  3. If it repeats, boot to Safe Mode and roll back or uninstall the most recently changed driver (Device Manager → driver → Roll Back Driver).
  4. Run sfc /scannow (repairs protected system files from a local cache), then DISM /Online /Cleanup-Image /RestoreHealth (repairs the component store that sfc relies on). Run DISM first if sfc cannot fix files.
  5. Run Windows Memory Diagnostic (mdsched.exe) if a code points to RAM, and review Event Viewer → Windows Logs → System for the matching error.

Exam trap: Stop codes ending in IRQL or naming a driver are driver/RAM problems, not malware. Reserve malware as the prime suspect for CRITICAL_PROCESS_DIED and unexplained reboots after a download.

Boot Sequence and Startup Repair

Knowing where a boot fails tells you which tool to reach for. The Windows boot order is: POST (hardware self-test) → UEFI/BIOS locates the boot device → Windows Boot Manager (bootmgr) reads the Boot Configuration Data (BCD)ntoskrnl.exe (kernel) loads drivers → smss.exe (Session Manager) → winlogon.exe presents the sign-in screen. A failure before the spinning logo is usually firmware or BCD; after the logo points to drivers or the user profile.

Boot Symptoms → Fix

SymptomLikely StageRepair
"Bootmgr is missing" / "BOOTMGR not found"Boot Manager / BCDWinRE Command Prompt → bootrec commands
Spinning dots, never reaches desktopDriver initSafe Mode, roll back recent driver
Boot loop before sign-inKernel/driver or BCDWinRE → Startup Repair, then System Restore
Black screen after sign-inexplorer.exe / profileCtrl+Alt+Del → Task Manager → run explorer.exe
"Automatic Repair" loopCorrupt filesWinRE Command Prompt → sfc, DISM, chkdsk

Boot Repair Commands (run from WinRE → Troubleshoot → Command Prompt)

CommandWhat It Does
bootrec /fixmbrWrites a fresh Master Boot Record (legacy BIOS disks)
bootrec /fixbootWrites a new boot sector to the system partition
bootrec /rebuildbcdScans for installs and rebuilds the BCD store
sfc /scannow /offbootdir=C:\ /offwindir=C:\WindowsOffline system file check when Windows will not boot
chkdsk C: /f /rFixes file-system errors and recovers readable bad sectors

Reach WinRE by holding Shift while clicking Restart, by booting installation media and choosing Repair your computer, or by powering off during boot three times so Windows triggers it automatically. Always try the least-destructive option first — Startup Repair before a reset, and Reset this PC (which can keep files) before a clean reinstall.

Safe Mode, Slow Performance, and System Restore

Safe Mode

Safe Mode boots Windows with only essential drivers and services, giving you a clean environment to undo whatever blocks a normal boot. There are three variants:

  • Safe Mode — minimal drivers, basic VGA display, no networking.
  • Safe Mode with Networking — adds network drivers so you can download a fixed driver or malware tool.
  • Safe Mode with Command Prompt — boots to cmd.exe instead of the desktop for scripted repair.

Access it from Settings → System → Recovery → Advanced startup, or WinRE → Troubleshoot → Advanced options → Startup Settings → Restart, then press 4 / 5 / 6 (or F4/F5/F6). msconfig (System Configuration → Boot tab) can also force the next boot into Safe Mode — remember to uncheck it afterward or the PC keeps booting safe.

Slow-Performance Triage

  1. Open Task Manager (Ctrl+Shift+Esc) and sort by CPU, Memory, and Disk to find the resource hog.
  2. Disable unneeded startup programs (Task Manager → Startup apps).
  3. Scan for malware — a hidden miner or adware is a classic cause.
  4. Confirm at least 15–20% free space on the system drive; a near-full SSD throttles hard.
  5. Check drive health via SMART (chkdsk, or a SMART utility) — rising reallocated-sector counts mean a failing disk.

Common Windows Issues

IssueCausesFix
Frequent freezesBad RAM, driver, overheatingTest RAM, update drivers, check temps
"Connected, no internet"DNS, proxy, IP conflictipconfig /flushdns, release/renew, check proxy
Profile won't loadCorrupt user profileCreate new profile, migrate data
Wrong time/dateDead CMOS battery, NTP offReplace battery, enable time sync

System Restore

System Restore rolls back system files, the registry, drivers, and installed programs to a saved restore point (launch with rstrui.exe). It is ideal after a bad update or driver. It does not touch personal documents, photos, or music, and it is not a backup — for user data you need File History or a real backup. Because malware can survive a restore, always run an antimalware scan after restoring.

Exam logistics: The current A+ Core 2 is 220-1202 (V15) — up to 90 questions in 90 minutes, passing score 700 of 900, including drag-and-drop and performance-based items. The retired 220-1102 listed this domain at 22%; V15 raises it to 23%.

Test Your Knowledge

A Windows PC shows a BSOD with stop code DRIVER_IRQL_NOT_LESS_OR_EQUAL and names the file nvlddmkm.sys. What is the BEST first action?

A
B
C
D
Test Your Knowledge

Windows fails to boot and keeps entering an Automatic Repair loop. From the WinRE Command Prompt, which command set repairs corrupted protected system files offline?

A
B
C
D
Test Your Knowledge

A technician used System Restore to recover a PC after a malware infection. The desktop is usable again. What should the technician do NEXT?

A
B
C
D
Test Your Knowledge

A user reports general slowness on an otherwise healthy Windows laptop. Which single check most directly identifies the cause before any changes are made?

A
B
C
D