0x00000051
Microsoft Windows
Severity: CriticalWhat Does This Error Mean?
The 0x00000051 blue screen means Windows encountered a serious error while reading or writing to the registry. The Windows registry is a large database that stores settings for Windows itself and all installed programs. When Windows cannot read the registry reliably, it cannot function and crashes. This is called REGISTRY_ERROR.
Affected Models
- Windows 10
- Windows 11
- Windows 8.1
- Windows Server
Common Causes
- The hard drive or SSD is failing, causing read errors when Windows tries to access registry data
- Windows system files have become corrupted, including the registry hive files
- A power outage or forced shutdown occurred while Windows was writing to the registry
- Malware or ransomware has modified or corrupted registry files
- A bad Windows update or software installation damaged the registry
How to Fix It
-
Run a hard drive health check. Download the free tool CrystalDiskInfo and check the status of your hard drive or SSD. Look for any Caution or Bad status indicators.
A failing drive is the most common hardware cause of REGISTRY_ERROR. If the drive shows problems, back up your files immediately.
-
Run System File Checker to repair corrupted Windows files including registry files. Open Command Prompt as Administrator and type: sfc /scannow and press Enter.
SFC can repair corrupted registry hive files if the damage is not too severe. Let it complete fully before restarting.
-
Run DISM to repair the Windows component store. In Administrator Command Prompt, type: DISM /Online /Cleanup-Image /RestoreHealth and press Enter.
DISM downloads clean replacement files from Microsoft's servers. It needs an internet connection and can take 15 to 30 minutes.
-
Run a full antivirus scan. Use Windows Defender or your preferred antivirus tool to perform a full system scan. Malware that modifies registry files can cause this blue screen.
For a thorough check, use Windows Defender Offline Scan, which runs before Windows starts and can catch malware that hides during normal operation.
-
Use System Restore to go back to a point before the crashes started. Search for Create a restore point in the Start menu. Click System Restore and choose a restore point from before the problem began.
System Restore rolls back Windows settings and registry files to an earlier state. It does not affect your personal files — photos, documents, and music are not changed.
When to Call a Professional
If your hard drive health check shows errors or warnings, back up your data immediately and see a technician. A failing drive that corrupts the registry will only get worse over time. If you suspect malware, a security professional can help clean the system safely.
Frequently Asked Questions
Can I fix a corrupted registry myself?
In many cases, yes — using the SFC and DISM commands described above. These tools repair corrupted registry files automatically without you needing to manually edit the registry. Never manually edit the registry unless you are confident in what you are doing — mistakes can make Windows unbootable.
Will System Restore delete my files?
No. System Restore only rolls back Windows settings, drivers, and the registry. Your personal files — documents, photos, videos, downloads — are not affected by System Restore. However, any programs installed after the restore point was created will be removed.
My computer will not boot because of this error. What can I do?
If Windows will not boot, restart and press F8 or Shift+F8 to access Advanced Boot Options. From there, choose Startup Repair or System Restore. Alternatively, boot from a Windows installation USB, choose Repair your computer, and access System Restore or Command Prompt to run SFC and DISM.