NTOSKRNL BSOD Windows 11: Step-by-Step Fix
In this article
An NTOSKRNL BSOD in Windows 11 is usually caused by a driver conflict, corrupted system file, or faulty hardware. To fix it, start by booting into Safe Mode, then run the System File Checker (SFC) and DISM, update or roll back drivers, and check your disk and RAM for errors. If the blue screen appears before Windows loads, use the Windows Recovery Environment to run these tools. This guide walks you through each step in order, from the safest checks to more involved repairs.
What You'll Need
- A Windows 11 PC that can boot, or a Windows 11 installation USB for recovery if it cannot.
- Administrator access to run command-line tools.
- At least 1–2 hours, as some scans take time.
- Your device manufacturer's support page open for driver downloads (optional but helpful).
Step-by-Step
- Note the stop code and any file name. When the blue screen appears, write down the stop code (e.g., IRQL_NOT_LESS_OR_EQUAL) and any file name shown (e.g., ntoskrnl.exe). This helps narrow down the cause. If the screen flashes too fast, disable automatic restart: go to Settings > System > About > Advanced system settings > Startup and Recovery > Settings, and uncheck “Automatically restart.”
- Boot into Safe Mode. Safe Mode loads only essential drivers, which can stop the BSOD from appearing. From Settings > System > Recovery, click “Restart now” next to Advanced startup. After restart, choose Troubleshoot > Advanced options > Startup Settings > Restart, then press 4 or F4 for Safe Mode. If you cannot reach Settings, hold Shift while clicking Restart on the sign-in screen.
- Run the System File Checker (SFC). In Safe Mode, open Command Prompt as administrator (search “cmd,” right-click, Run as administrator). Type
sfc /scannowand press Enter. Wait for the scan to finish; it repairs corrupted system files, including ntoskrnl.exe. Restart normally and see if the BSOD returns. - Run DISM to repair the system image. In the same elevated Command Prompt, type
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. This fixes deeper corruption that SFC cannot. It may take 10–30 minutes. Restart afterward. - Update or roll back drivers. Open Device Manager (right-click Start > Device Manager). Look for devices with a yellow warning icon. Right-click each and choose “Update driver” > “Search automatically.” If the BSOD started after a recent driver update, right-click the device, choose Properties > Driver > Roll Back Driver. Focus on graphics, chipset, network, and storage drivers. For best results, download the latest versions from your PC manufacturer's support site.
- Check your disk for errors. In an elevated Command Prompt, type
chkdsk /f /rand press Enter. Type Y to schedule the check on restart, then restart. This scans for bad sectors and file system errors. It can take an hour or more depending on drive size. - Test your RAM. Type
mdsched.exein the Run dialog (Win+R) and press Enter. Choose “Restart now and check for problems.” Windows Memory Diagnostic will run at boot. If it reports errors, one or more RAM sticks may be faulty; reseat them or test one at a time. - Uninstall recent updates or software. If the BSOD began after a Windows update, go to Settings > Windows Update > Update history > Uninstall updates, and remove the most recent one. Also uninstall any newly installed antivirus, VPN, or system utility that might conflict.
- Perform a clean boot. Type
msconfigin Run, go to Services, check “Hide all Microsoft services,” then click “Disable all.” Go to Startup, open Task Manager, and disable all startup items. Restart. If the BSOD stops, re-enable items one by one to find the culprit. - Use System Restore. If you have a restore point from before the issue started, go to Settings > System > Recovery > Open System Restore, and follow the wizard. This reverts system files and settings without affecting personal files.
- Reset Windows 11 as a last resort. Go to Settings > System > Recovery > Reset this PC. Choose “Keep my files” to preserve personal data, but note that installed apps and settings will be removed. If the BSOD prevents booting, use the Windows Recovery Environment (Troubleshoot > Reset this PC).
Common Mistakes
- Skipping Safe Mode. Running repairs in normal mode may trigger the BSOD again before the fix completes.
- Ignoring the stop code. The code often points directly to the cause (e.g., a specific driver or hardware). Searching for it can save time.
- Updating all drivers blindly. Sometimes the latest driver is the problem. If the BSOD started after an update, rolling back is smarter than updating further.
- Not backing up data before a reset. A reset with “Keep my files” still removes apps; always back up important files first.
- Overlooking hardware. Persistent NTOSKRNL errors can indicate failing RAM or a bad hard drive. Software fixes won't help if hardware is faulty.
Tips
- Create a restore point before making major changes (search “Create a restore point” in Start).
- Use reliability Monitor (search “Reliability” in Start) to see a timeline of crashes and what changed.
- Keep Windows updated, but delay feature updates for a few weeks if you rely on specific drivers.
- Run
sfc /scannowand DISM periodically as preventive maintenance. - If you overclock your CPU or RAM, revert to default settings to rule out instability.
Troubleshooting
If the steps above don't resolve the BSOD, try these:
- Cannot boot at all: Use a Windows 11 installation USB to access the Recovery Environment. From there, run Command Prompt and perform SFC and DISM offline:
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows(adjust drive letters as needed). - BSOD during Windows setup: This often indicates faulty RAM or an incompatible driver. Test RAM first, then try installing with only essential peripherals connected.
- Stop code points to a specific file: Search online for that file name plus “BSOD” to identify the associated driver or software, then update or remove it.
- No restore points available: Enable System Protection for future use, and consider using a third-party backup tool.
- Hardware diagnostics: Run manufacturer diagnostics (e.g., Dell SupportAssist, HP PC Hardware Diagnostics) to check for failing components.
Frequently Asked Questions
What does NTOSKRNL mean?
NTOSKRNL is the Windows kernel, the core of the operating system. A BSOD mentioning it means the kernel encountered a critical error, often due to a driver or hardware issue.
Can I fix NTOSKRNL BSOD without reinstalling Windows?
Yes, in most cases. Running SFC, DISM, updating drivers, and checking hardware resolve the issue without a full reinstall.
Is NTOSKRNL BSOD a sign of failing hardware?
It can be. If software fixes don't help, test your RAM and hard drive. Persistent errors often point to failing memory or storage.
How do I find the stop code if the BSOD disappears too fast?
Disable automatic restart as described in step 1, or check Event Viewer (search “Event Viewer” in Start) under Windows Logs > System for critical errors.
Will System Restore remove my personal files?
No, System Restore only reverts system files and settings. Your documents, photos, and other personal files are not affected.
What if none of these steps work?
Consider a clean install of Windows 11 or professional hardware diagnostics. Back up your data first.