If a Windows 11 crash report names ntoskrnl.exe, record the actual stop code and the change that preceded the crashes before replacing a driver or testing memory. The kernel's name identifies code involved in the crash; it doesn't establish that the kernel file is damaged or that a RAM stick has failed. Start with the relevant recent change, preserve the crash evidence, and use the branches below to choose one repair.

I'd keep the report's filename separate from its diagnosis. Replacing Windows files or updating every driver because a viewer highlights ntoskrnl.exe can hide the evidence you need to find the cause.

Choose a branch from the crash evidence

Windows can stop because of hardware, a driver or software. Microsoft's stop-error explanation distinguishes the stop code from the module that was executing at the time. The screen can be blue or black depending on the Windows 11 version; its color doesn't identify the cause.

What you haveUseful next step
A viewer names only ntoskrnl.exe, with no clear recent change.Read the code, parameters and dump context before choosing a component to repair.
Crashes began after one device's driver changed.Inspect that device and consider its driver rollback.
New RAM, a memory-profile change or a diagnostic error.Use the memory-evidence branch; preserve the actual test report.
A crash happens at one game's launch or during one task.Record the exact trigger and associated changes. Investigate that path without assuming the application caused the kernel failure.
Windows cannot stay at the desktop.Use a recovery route or trusted support before attempting repairs that require a running Windows session.

Back up important files while Windows is usable. Note the crash time, exact stop-code text, any named driver, Windows build, affected activity and recent hardware, driver or software changes. If your problem is a usable desktop with high System disk activity rather than a stop error, use the separate ntoskrnl.exe high-disk investigation.

Read the report beyond the module name

The Windows kernel provides core functions such as thread scheduling and interrupt handling. Its presence in a crash report needs context. A module name, an address after nt+, or a red highlight from a crash viewer isn't a repair instruction.

Preserve the original report and available dumps before cleanup tools remove them. The Windows crash-log collection guide explains where to find the timeline and existing dump files. Keep copies for a trusted support channel; don't upload raw dumps publicly by default because they can expose system and activity information.

For an existing dump opened in WinDbg, Microsoft's kernel-dump analysis guidance starts with !analyze. The !analyze -v form displays verbose analysis, and .bugcheck displays the stop code and parameters. These are commands for the debugger's command window after loading a dump, not commands to paste into Terminal.

Read the stop-code description and parameters first, then the module information and STACK_TEXT. Microsoft's analysis-field explanation describes a stack trace and a probable faulting instruction. A probable attribution still needs investigation. Record symbol-loading errors rather than making a diagnosis from incomplete output.

Compare several real crashes when available: do the stop code, third-party module, activity and recent change recur together? A repeated kernel label alone supplies much less direction than a consistent device-driver pattern. Microsoft's small-dump documentation also explains a limit: failures outside the captured thread may not be discoverable from that file. An empty dump folder or an inconclusive analysis isn't a clean bill of health. If you have no usable report, follow the collection guide first and tell support what was unavailable; don't manufacture a crash to fill the gap.

Keep the exact code when moving to a repair. MEMORY_MANAGEMENT checks address 0x1A and its parameters; CRITICAL_PROCESS_DIED recovery addresses 0xEF. Neither code becomes the same problem merely because a report also names the kernel.

Check the relevant driver change

For a crash involving an NVIDIA graphics package, use the NVIDIA stop-code and package recovery checks before the generic rollback steps below. NVIDIA warns that Windows rollback may not restore all its previous driver files; the exact stop code and full supported package determine that route.

Use this branch when a particular device update lines up with the first crashes or the report gives a credible lead to that device. Record its installed driver version before changing it. Save open work before a driver change that may require a restart. For a work-managed device, have IT handle the approved package and any access requirements.

  1. Right-click Start and select Device Manager.
  2. Expand the affected device category and identify the actual device. For a graphics change, this is Display adapters; don't choose an unrelated device simply because it appears in the example below.
  3. Right-click that device, select Properties, then open the Driver tab.
  4. If the crashes followed its driver update and Roll Back Driver is available, select it, choose a reason and confirm with Yes. Administrator permissions are required. Restart if prompted.
  5. Repeat the ordinary activity that previously triggered the crash once the PC is usable. Record whether the same stop code returns and keep any new dump.
Device Manager with Display adapters expanded to show two example graphics devices
Choose the affected device under its category before opening Properties. These graphics-device names are examples. Enlarge Device Manager.

Microsoft's driver rollback instructions document that sequence. If rollback is unavailable, use Windows Update or the manufacturer's official package for the exact model, Windows version and architecture. Don't download a guessed old driver or replace every driver in one batch. A viewer's ntoskrnl.exe label doesn't identify which package to choose. If you can't connect the evidence to a device, stop this branch and ask support to review the report before selecting a package.

If a rollback restores stability, keep the old and new versions in your support record. A single quiet session doesn't establish that an intermittent crash is resolved; check the usual trigger and subsequent normal use. If the same failure returns, stop repeating that rollback and return to the evidence.

Follow memory evidence without guessing a bad stick

New memory, changed timings or reported diagnostic errors justify checking the memory configuration. The kernel filename alone doesn't. Use the memory-test and configuration route for the restart precautions, Windows Memory Diagnostic steps, test-result handling and manufacturer-supported settings.

Keep the actual result: completed without errors, errors reported, or test incomplete. PassMark's memory-error guidance explains that testing also exercises the CPU, caches and motherboard, and that incompatibility can produce errors. A reported error needs investigation; it doesn't automatically name a defective stick. A clean run doesn't explain a continuing intermittent crash.

I'd return an identified memory-tuning change to the manufacturer's supported standard settings before comparing another test. Use the exact device manual for that change. Don't load all firmware defaults, raise voltages or copy another board's settings just to clear a kernel label. Those changes can affect unrelated boot, storage and security configuration. If you can't identify the setting safely, give the vendor the exact hardware and test report.

When only one game or task triggers the crash

Record the game's version, when the failure occurs, and any recent graphics-driver, game, anti-cheat or hardware change. Microsoft's advanced stop-error guidance explains that an application can expose an underlying driver, hardware or operating-system problem. A repeatable trigger helps narrow the investigation; it doesn't prove which component failed.

Use the publisher's current support route for that exact game and report. Don't delete anti-cheat driver files, disable security protections or switch virtualization off from a generic ntoskrnl.exe checklist. For firmware, check the PC or motherboard vendor's guidance for the exact model and symptom. A forum post saying a BIOS update helped is insufficient reason to flash a different system.

What the reported fixes establish

In a Tom's Hardware troubleshooting case, a Windows 10 user reported weeks without another crash after returning memory from its XMP setting to base frequency. The thread also included driver changes and system-file repairs. The result supports investigating that system's memory configuration; it doesn't establish a universal Windows 11 fix.

A game-triggered crash discussion had a different result: the original poster reported a BIOS fix, while other users continued reporting crashes across different systems. Later posts showed more than one stop code with the kernel still named. One shared filename did not produce one shared diagnosis.

These are reports from different configurations with multiple changes, so they don't form a repair-success percentage or a comparable timing test. Their practical lesson is to record the trigger, make one justified change and compare the next observation.

Repair system files on the appropriate branch

If Windows is usable and the investigation hasn't exposed an unresolved hardware error, system-file repair is a separate check. It can repair Windows components; it doesn't establish that a driver or memory configuration is stable. Don't download a replacement ntoskrnl.exe file or delete the existing kernel.

Follow Microsoft's System File Checker procedure: install applicable Windows updates and restart, then search for Command Prompt, choose Run as administrator and confirm the prompt. Run DISM first:

DISM.exe /Online /Cleanup-image /Restorehealth

Wait for successful completion before running:

sfc /scannow

These commands target the running Windows installation. Don't paste the online repair command into recovery Command Prompt expecting it to repair an offline installation. Save any error or repair result; don't rerun a failing command indefinitely. Even if files are repaired, verify the original crash trigger afterward.

If Windows won't stay running

Use the recovery and Safe Mode instructions when normal startup isn't usable. Have the BitLocker recovery key and account password available before following the applicable recovery path; keep private keys out of public reports. Don't repeatedly force shutdowns merely to test whether the crash will return.

I wouldn't enable Driver Verifier on an everyday PC as the next experiment. Microsoft's Driver Verifier warning says it can crash the computer and restricts it to testing and debugging systems. A support-directed investigation needs a recovery plan before deliberate crash testing.

If crashes persist, send trusted support the exact stop code and parameters, relevant driver versions, recent-change timeline, normal trigger, diagnostic reports and available dumps. Say explicitly if the analysis names only ntoskrnl.exe or cannot load symbols. Use the startup and recovery hub to follow the actual stop or startup symptom while preserving the evidence from this investigation.