The exception code 0xc0000005 indicates a memory access violation.
This problem can also occur while you’re installing the latest updates for your system. Do not worry because you can still resolve this issue using our methods below. However, address it immediately because it can cause indirect or direct data loss. Check out some of the best ways to learn how to resolve the error code 0xc0000005.
Solution 1: Checking your RAM
One of the best ways to fix the error code 0xc0000005 is to replace your RAM. Before you do that, you must confirm that the RAM is the culprit behind the issue. So, switch off your computer, try using another RAM. Once you’ve done that, turn on your computer, then check if the error persists. This is the ideal solution when the problem is caused by physical damage on the RAM connectors or hardware.
Solution 2: Repairing your Registry
When there are corrupt files or keys in your registry, they can cause serious system issues, including the error code 0xc0000005. So, if you previously created a registry backup, we recommend restoring it to fix the problem. However, before you proceed, do note that modifying your registry can be tricky and risky. The simplest invalid or incorrect alteration can cause major problems on your PC. So, follow the instructions below only if you’re confident that you will be able to do them correctly.
- On your keyboard, press Windows Key+R. This should bring up the Run dialog box.
- Type “regedit” (no quotes), then press Enter.
- Navigate to this path: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
- Go to the right pane, then double-click LoadAppInit_DLLs.
- Change the value data from 1 to 0.
- Save the changes by clicking OK.
- Exit the Registry Editor, then restart your computer.
Solution 3: Performing an SFC Scan
If the error is caused by corrupted system files, you can fix it by using the System File Checker (SFC). You can run an SFC scan by following the steps below:
- Click the Search icon on your taskbar.
- Type “cmd” (no quotes).
- Right-click Command Prompt from the results, then choose Run as Administrator from the options.
- Once Command Prompt is up, type “sfc /scannow” (no quotes), then press Enter. The tool will automatically repair the corrupt system files it will find.
- If sfc /scannow end with error, type “DISM.exe /Online /Cleanup-image /Restorehealth” (no quotes). This step may take a few minutes to start and up to 30 minutes to complete.)
- After you see a message that says “The operation completed successfully.”
Solution 4: Disabling DEP
Windows has a built-in feature that protects the system from damages caused by viruses and other security threats. The Data Execution Prevention or DEP feature is useful in many cases. However, there are programs that are incompatible with it, which is why the error code 0000005 shows up. You can disable this by following these steps:
- Launch Windows with administrative rights.
- Press Windows Key+R on your keyboard.
- Type “sysdm.cpl” (no quotes), then hit Enter.
- Go to the Advanced tab, then click Settings.
- Go to the Data Execution Protection tab.
- Click the ‘Turn on DEP for all programs and services except those I select’ option.
- Click Add, then look for the executable files that are causing the problem. Add them to the list.
- Click OK.
- Restart your computer, then check if the issue persists.
Solution 5: Running CHKDSK Utility
It is possible that bad sectors or corruption on the drive are causing the error code 0xc0000005. In this case, try running the CHKDSK utility to fix the error. To do that, follow the instructions below:
- Right-click the Windows icon on your taskbar.
- Select Command Prompt (Admin) or Windows PowerShell (Admin) from the list.
- Type “chkdsk X: /f /r” (no quotes). Replace ‘X’ with the hard drive you need to repair, then press Enter.
Once the process is complete, check if the error has been resolved.