Fix error 0xc0000005

0xc0000005 is STATUS_ACCESS_VIOLATION: an instruction referenced memory that could not be read, written or executed. It is a crash inside a program, usually from a bug, a bad plug-in or a damaged file. Update or reinstall the app, start it without add-ons, run Windows Memory Diagnostic, then repair system files with DISM and SFC.

Checked November 10, 2026 against the manufacturer's own pages.

The short version

What to install and where it comes from. Every link goes to the manufacturer or Microsoft, never to a copy.

Code0xC0000005
Official nameSTATUS_ACCESS_VIOLATION
Where it appearsApp crashes, The application was unable to start correctly, Event Viewer exception code
Most common causeA bug or faulty add-on in the program, less often faulty RAM
Windows versionsWindows 11 and Windows 10
Microsoft Learn: NTSTATUS values (0xC0000005 STATUS_ACCESS_VIOLATION)learn.microsoft.comMicrosoft Support: How to perform a clean boot in Windowssupport.microsoft.comMicrosoft Support: Use the System File Checker toolsupport.microsoft.com

Official files only, nothing bundled

Step by step

  1. Update the crashing program

    Open the program's own update option or the Microsoft Store Library page and install the newest version. Access violations are often bugs that the developer has already fixed.

  2. Start it without plug-ins or mods

    Disable add-ons, mods, macros or browser extensions. Many programs have a safe mode: hold Ctrl while you open an Office app, for example. If the crash stops, turn add-ons back on one by one.

  3. Find the faulting module

    Open Event Viewer, then Windows Logs, Application. Select the Application Error entry at the crash time. Exception code 0xc0000005 confirms it, and Faulting module name shows which file crashed, such as a graphics driver DLL or a plug-in.

  4. Test your memory

    Type Windows Memory Diagnostic in Start, open it and choose Restart now and check for problems. Results appear after sign-in. If errors appear, reseat or replace RAM and remove any memory overclock in the BIOS.

  5. Repair Windows files

    From an elevated Terminal run DISM /Online /Cleanup-Image /RestoreHealth and then sfc /scannow. Restart when both are done.

  6. Reinstall the program

    Uninstall it from Settings, Apps, Installed apps, restart, then install a fresh copy from the official source.

Faster option: let a PC tool do the clean-up

The steps above fix this error. Errors like this often come back on a PC full of junk files, broken registry entries and leftovers from removed programs. A maintenance tool clears those in one scan.

Scan and clean up Windows

Finds junk files, invalid registry entries, startup slowdowns and privacy traces, then fixes them in one click.

Auslogics BoostSpeed 14 · Free version · Windows 11, 10, 8, 7 · 30-day refund on Pro

What an access violation is

Every program gets its own range of memory, and each page of it has rules: readable, writable, executable or none of these. Microsoft’s description of STATUS_ACCESS_VIOLATION includes the instruction address, the memory address it touched, and whether it was a read or write that failed. When code breaks those rules, the processor raises an exception. If the program has no handler for it, Windows closes the program and logs exception code 0xc0000005.

Program bug, add-on or hardware?

Look at the pattern. One program crashing in the same spot each time is almost always a software problem in that program or something loaded into it, and Event Viewer’s faulting module tells you which. A crash that moves between programs, at random times, points more toward memory, overheating or an unstable overclock. A crash that started right after a driver update, with a driver file named as the faulting module, means that driver needs rolling back or replacing.

A less common cause: damaged program files on disk

If the program’s files were partly written during a power cut or sit on a failing drive, the code loaded into memory can be wrong and jump to invalid addresses. Reinstalling fixes the files. If it happens again, run chkdsk C: /scan from an admin Terminal and check the drive maker’s health tool.

Questions

Does 0xc0000005 mean my RAM is bad?

Not usually. Most access violations come from software. Suspect RAM when many unrelated programs crash with this code, or when you also see blue screens. The Windows Memory Diagnostic test helps decide.

Why does a game show 0xc0000005 right at launch?

Launch crashes often come from anti-cheat, overlays or a mod that loads early. Close overlay tools, verify the game files in its launcher, and update the graphics driver from your PC or chip maker.

Is 0xc0000005 related to blue screens?

The same exception code appears inside some stop errors, such as KMODE_EXCEPTION_NOT_HANDLED, when a driver causes it. In a normal app crash, only that app closes and Windows keeps running.

Should I turn off Data Execution Prevention?

No. DEP protects against attacks. Update or replace the program instead of weakening a Windows protection.