Kernel
Cheat sheet · https://pcornel.dk/topic.php?topic=2927
Answer
The Windows NT kernel is the low-level privileged core responsible for mechanisms such as thread scheduling, interrupt and exception dispatch, trap handling and synchronization. It operates in kernel mode and works closely with the Executive, which provides higher-level operating-system managers.
Remember
- The kernel is not the whole operating system and not even the whole kernel-mode Executive.
ntoskrnl.execontains both the kernel and major Executive components.- Kernel code runs with high privilege and shares kernel address space, so corruption can have system-wide consequences.
- Scheduling/interrupt mechanics are different boundaries from I/O, memory, security and object management even when they live in the same kernel image.
First checks
Get-WinEvent -FilterHashtable @{LogName='System';Id=41,1001,6008}— unexpected shutdowns and bugchecksGet-ChildItem C:\Windows\Minidump— crash dumpswinver— kernel buildverifier /query— Driver Verifier status
Verify in this order
hardware/driver event → kernel handles it → failure → bugcheck → dump written → logged at next boot
Where it usually breaks
First mismatch in target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence; preserve identity/native error/pre-state before mutation.
Kernel vs adjacent components
| Component | Core role | Do not infer |
|---|---|---|
| NT kernel | scheduling, interrupts, traps, synchronization | every OS manager lives in the narrow kernel |
| NT Executive | higher-level OS managers and services | it is user-mode just because it is distinct from the kernel |
| Device/filter drivers | hardware and stack-specific kernel functions | a kernel stack automatically makes the driver faulty |
ntoskrnl.exe image | contains kernel + Executive code | the image name alone identifies root cause |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2927