0x00000051 - REGISTRY_ERROR: a serious registry problem
0x00000051 Microsoft name: REGISTRY_ERROR
What it means
Windows hit a severe error while reading its configuration database (the registry).
Where you see it
A blue screen (Windows 11 shows a black or blue screen with a sad face and a stop code name) followed by a restart.
Likely causes
- Disk errors.
- A damaged registry file.
- A bad update.
Three safe steps, in order
Try them one at a time and test after each. No registry edits, no repair tools to buy, and no switching off your security. If a step needs a driver, firmware or Windows installation media, get it only from Microsoft or your device maker.
- Use Startup Repair from the recovery environment.Related Microsoft page: Recovery options in Windows
- Use System Restore to go back to an earlier point.Related Microsoft page: System Restore
- Run chkdsk.Related Microsoft page: chkdsk command reference
Stop and get help when…
advice tells you to edit the registry. Do not.
Source and date
- Official Microsoft reference
- Bug check code reference
- More Microsoft help
- Resolving blue screen errors in Windows
- Date checked
- 24 November 2026. Microsoft changes its pages; if a step no longer matches, trust the Microsoft page.
Blue screen stop code (bug check)
Source: Bug check code reference (Microsoft Learn content, CC BY 4.0)
The wording above is ours. Where a box quotes Microsoft's description, it comes from Microsoft Learn documentation published under CC BY 4.0 and is credited to the page linked.
Related codes
- 0x00000074BAD_SYSTEM_CONFIG_INFO: a configuration error in the...
- 0x0000007AKERNEL_DATA_INPAGE_ERROR: Windows could not read data from...
- 0x0000007BINACCESSIBLE_BOOT_DEVICE: Windows lost the drive it starts...
- 0x0000007ESYSTEM_THREAD_EXCEPTION_NOT_HANDLED: a system thread had an...
- 0x0000008EKERNEL_MODE_EXCEPTION_NOT_HANDLED: a system-level program...
- 0x0000009CMACHINE_CHECK_EXCEPTION: the processor reported a fatal...