Apps
0xC0000005 - Access violation: a program touched memory it should not
0xC0000005 Microsoft name: STATUS_ACCESS_VIOLATION
What it means
A program tried to use memory it was not allowed to use. Microsoft names this STATUS_ACCESS_VIOLATION.
Where you see it
A crash window saying the program stopped, or a code in a log.
Likely causes
- A bug in the program.
- A damaged install.
- Faulty memory or driver.
Back up first. Before anything that resets, reinstalls or repairs the disk, copy your photos and documents to another drive or to the cloud. Back up your Windows PC. Do not reset, reinstall or format until your files are safe.
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.
- Restart and update the program and Windows.Related Microsoft page: Troubleshoot problems updating Windows
- Reinstall the program.Related Microsoft page: Fix problems that block programs from being installed or removed
- If many programs crash, run sfc /scannow and check memory using the Windows recovery tools.Related Microsoft page: What are the system recovery options in Windows?
Stop and get help when…
it happens in many programs, which can point to faulty memory.
Source and date
- Official Microsoft reference
- [MS-ERREF] NTSTATUS values
- More Microsoft help
- Fix problems that block programs from being installed or removed
- Date checked
- 24 November 2026. Microsoft changes its pages; if a step no longer matches, trust the Microsoft page.
NTSTATUS (status value used by the Windows kernel)
STATUS_ACCESS_VIOLATION
Source: [MS-ERREF] NTSTATUS values
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.