Error 0xC0000005 is an access violation crash that happens when a program tries to read or write memory Windows blocks.
When you see a crash tied to 0xc0000005, it can look like pure luck. A game closes to desktop. A desktop app quits mid task. An installer stops with a blunt message. The code is still useful, because it points to one theme: a memory access that got rejected.
This article gives you a practical path for Windows 10 and Windows 11. Start with the quick checks, then work down into repairs, driver sanity checks, and hardware tests. You’ll stop as soon as the crash stops.
What Error 0xC0000005 Means In Plain Terms
Windows uses exception codes to describe why a process ended. The value 0xc0000005 maps to an access violation. In normal language, the app attempted to use memory it did not own, or tried to execute code from a memory region that is meant for data.
That can happen for a few reasons. The app itself can be corrupted. A plug-in, overlay, or injector can hook into the app and trigger a bad call. A driver can feed the app bad data. RAM instability can flip bits at the worst moment. Windows system files can be damaged and break common libraries that many apps rely on.
The quickest way to narrow it down is to watch the pattern. One program only points to that program’s files or add-ons. Lots of programs points to drivers, RAM, storage, or Windows files.
| What You See | Likely Source | First Move |
|---|---|---|
| Only one game crashes | Game files, mods, overlays | Verify files, remove add-ons |
| Multiple apps crash | Drivers, RAM, system files | Repair Windows image, test RAM |
| Installer fails every time | Permissions, blocked writes | Run as admin, change install path |
| Crashes after updates | Driver conflict | Update or roll back that driver |
Fast Checks That Clear A Lot Of Crashes
These are low-risk steps that often fix the problem without deeper digging. Do them in order, then retest the same action that triggers the crash.
- Restart The PC — A reboot clears stuck processes and reloads drivers with a clean state.
- Install Pending Windows Updates — Apply updates, reboot, then try again so fixes are actually active.
- Run The App As Administrator — Right-click the shortcut, choose Run as administrator, then repeat the failing action.
- Turn Off Overlays — Disable Discord overlay, Steam overlay, GeForce overlay, Xbox Game Bar, and similar tools.
- Remove Injectors — Disable tools like ReShade and performance tuners that hook into graphics calls.
- Free Up System Drive Space — Keep a buffer of free space so temp files and paging can work normally.
If you recently changed one thing before crashes started, undo that one thing and retest. A fresh GPU driver, a new antivirus, a new overclock, or a new mod pack can be the single trigger.
Fixing 0xC0000005 Access Violation With Windows Repairs
If crashes happen in more than one app, treat it as a system stability issue first. The goal is to repair Windows files, then confirm drivers and memory are stable.
Repair Windows Files With DISM And SFC
DISM repairs the Windows image that system files come from. SFC scans protected files and restores clean copies when it finds corruption. Run both, then reboot.
- Open An Admin Command Window — Search for Command Prompt, then choose Run as administrator.
- Run DISM RestoreHealth — Enter
DISM /Online /Cleanup-Image /RestoreHealthand wait for completion. - Run SFC ScanNow — Enter
sfc /scannow, let it finish, then reboot.
After the reboot, test again. If the crash is gone, you can stop here.
Update Drivers In A Controlled Way
Drivers sit between apps and hardware. A buggy GPU, audio, storage, or chipset driver can crash user apps with the same exception code. Change one thing at a time so you can tell what helped.
- Update The GPU Driver — Install the latest stable release from your GPU vendor, then reboot.
- Update Chipset Drivers — Install the chipset package from the PC maker or motherboard maker.
- Roll Back A Recent Driver — If crashes began right after a driver update, roll back that device in Device Manager.
- Remove Driver Add-Ons — Uninstall tuning suites that add filters, overlays, or monitoring hooks.
Check RAM Stability Without Guessing
Access violations are a classic symptom of unstable RAM. Even if you never see a blue screen, a small memory error can crash an app at random times.
- Reset Overclocks — Set CPU and RAM back to stock settings in BIOS, including XMP or EXPO.
- Run Windows Memory Diagnostic — Use the built-in tool, reboot for the test, then read results in Event Viewer.
- Reseat The RAM — Power off, unplug, remove modules, clear dust, then reinstall firmly.
- Test One Module At A Time — Boot with one stick to isolate a bad stick or bad slot.
If one module fails alone, replace it. If both pass alone but crash together, keep settings stock and update BIOS, then retest.
Error 0xC0000005 When It Hits One App Or One Game
If only one title fails, start with its files and add-ons. This is often faster than system-wide repairs, and it avoids changing things you don’t need to touch.
Repair The Install And Strip Add-Ons
- Verify Or Repair Files — Use the game launcher or installer repair option to scan and restore damaged files.
- Remove Mods — Move mod folders out, delete injected DLL files, then test a clean run.
- Reset Config Files — Rename the app’s settings folder so it rebuilds fresh settings on next launch.
- Reinstall Cleanly — Uninstall, delete leftovers, reboot, then reinstall to a new folder.
Fix Permissions And Blocked Writes
An access violation can be triggered by blocked writes during patching, saving, or first-run setup. This is common when a program sits under protected folders.
- Install Outside Protected Folders — Use a simple path like
C:\AppsorC:\Gamesinstead of Program Files. - Add A Security Exclusion — Allow the app folder in your security tool, then test again.
- Test With Controlled Folder Access Off — Toggle it off for a short test, then add allow rules if that solves it.
If the program works as admin but fails as a standard user, folder rights or security rules are the usual suspects.
Deeper Checks When The Crash Keeps Coming Back
If you still see error 0xc0000005 after the steps above, you need better clues. The goal is to find the faulting module, then target the component that owns it.
Find The Faulting Module In Event Viewer
- Open Event Viewer — Search for Event Viewer, then open Windows Logs and choose Application.
- Filter For Errors — Filter the log to show Error and Critical entries.
- Read The Crash Entry — Open the entry and note the faulting module name and exception code.
If the module name matches a game DLL, repairing the install often fixes it. If it matches a driver DLL, driver updates and clean installs tend to pay off. If it matches a security DLL, test with that tool disabled for a short run.
Use A Clean Boot To Catch Conflicts
Background services can hook into apps, scan memory, or inject overlays. A clean boot starts Windows with a minimal set of third-party services so you can see if a background app is the trigger.
- Open System Configuration — Press Win plus R, type
msconfig, then press Enter. - Disable Third-Party Services — Hide Microsoft services, then disable the rest.
- Disable Startup Apps — Open Task Manager and disable non-essential startup items.
- Reboot And Retest — Launch the failing app and repeat the same steps that caused the crash.
If the crash stops, re-enable items in small batches until the crash returns. The last batch contains the conflict.
Handle DEP Triggers Without Lowering Safety
Data Execution Prevention, also called DEP, blocks code from running in memory regions meant for data. Some older apps and badly-written plug-ins can trip DEP and crash with an access violation.
- Confirm The App Source — Only change DEP settings for software you trust and that you installed from a known source.
- Add A Single-App Exception — Use System Properties to add an exception for that one app, then test.
- Remove The Exception If It Fails — If it does not help, undo the change and move to the next fix.
Avoid disabling DEP system-wide. If an app needs that to run, treat it as a warning sign and look for an updated version.
Simple Habits That Cut Repeat Crashes
Once you fix the root cause, a few habits make repeat crashes less likely. None of these are fancy. They just keep Windows and apps in a clean state.
- Stick To Stable Drivers — Skip beta drivers unless you need them for a specific bug fix.
- Limit Overlays — Run one overlay at a time and remove injectors you no longer use.
- Watch Storage Health — Check SSD health tools and replace drives that report read or write errors.
- Create Restore Points — Make one before driver swaps, BIOS updates, or big installs.
- Keep Memory Settings Calm — If you enable XMP or EXPO, test with long gaming sessions and a memory test before trusting it.
If the crash returns later, repeat the same sequence that worked: repair Windows files, confirm drivers, then test memory. If you still see error 0xc0000005 after that, the faulting module from Event Viewer will usually point you to the next move.
This is the moment to be patient and methodical. One change, one retest. That’s how you turn a messy crash code into a clean fix.
