Windows 10 is undeniably one of the most powerful operating systems in the world. Despite this, it is still prone to issues and errors.
By now, Windows users do not panic when they see error messages on their computer. After all, they have become common occurrences in the operating system.
One of the issues you might encounter on Windows 10 is the error code 0xc0000005.
This can be caused by various problems, including malware infection, low or damaged RAM, corrupted registry files, or incorrect hardware configuration, among others.
As we’ve mentioned, errors like this are not uncommon on Windows. So, there are plenty of solutions available online. In this article, we will teach you how to resolve the error 0xc0000005.
Why Do I See the Error Code 0xc0000005 Notification?
Before we try to fix the error 0xc0000005, let us discuss the scenarios associated with it. This way, you will gain a better understanding of the reasons why it appears.
1. During Windows installation
While you’re installing the Windows OS, the error code 0xc0000005 can show up and disrupt the process. This is most likely caused by temporary hardware issues or a corrupt hard drive because of bad sectors.
Error Message: “Windows installation encountered an unexpected error…”
2. While launching an application
The error code 0xc0000005 can also show up while you’re trying to open a program like Google Chrome, VLC, or any other application on your Windows computer.
Since this is caused by some unsigned, invalid, or incomplete DLL files, re-installing the program will not fix the issue. If that’s the case, try one of our methods below.
Error message: “The application was unable to start correctly (0xc0000005).”
3. While Windows is accessing a location or data
You may be doing your regular computing tasks, and the exception code: 0xc0000005 will appear. This problem can affect any Windows application.
The reasons behind the error 0xc0000005 can include corrupted drivers, faulty RAM, registry issues, incorrect security update, and virus infection, among others.
Error message: “Exception: Access violation error (0xc0000005) at…”
This problem can also occur while you’re installing the latest updates for your system. Do not worry because you can still resolve the 0xc0000005 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.
How to Fix Error Code 0xc0000005 in Windows 10
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 0xc0000005 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
, 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.
Also Read: What is the Windows Registry And Why Do You Need a Registry Cleaner?
Solution 3: Performing an SFC scan
If the error 0xc0000005 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.
- Right-click Command Prompt from the results, then choose Run as Administrator from the options.
- Once Command Prompt is up, type
sfc /scannow
, then press Enter. The tool will automatically repair the corrupt system files it will find.
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 0xc0000005 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 under Performance.
- Go to the Data Execution Prevention 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
. Replace ‘X’ with the hard drive you need to repair, then press Enter.
Once the process is complete, check if the error 0xc0000005 has been resolved. To ensure that you will not have problems launching applications, we recommend using Auslogics Disk Defrag Ultimate.
Running this tool will ensure that you will have a consistently high HDD speed. It will optimize file placement on your hard drive, ensuring maximum efficiency.
Additional Tips to Prevent Error Code 0xc0000005
1. Keep your system and drivers updated
To avoid Windows error codes like 0xc0000005, you need to regularly update your OS and its components. Having the largest desktop OS market share, Windows 10 owes some of its recognition to Microsoft regularly providing timely updates.
Although this will end soon, as of this writing, you can easily get your system updated and make it more stable:
- Right-click the Start button and select the Settings option from the Power User menu.
- Click on the Update & Security“ tile and make sure you are on the Windows Update screen.
- If it offers updates, agree to install them. Otherwise, click Check for updates.
- If the tool finds updates for your system, install them.
Another way to keep the exception code: 0xc0000005 issue at bay is by running the latest driver versions.
We have a dedicated guide on how to update drivers in Windows, so make sure to check it if you want your OS to operate error-free.
Windows 10/11 (8, 7, Vista, XP)
Also Read: How to Get And Use Windows 10 Media Creation Tool
2. Use reliable antivirus software
The number of malware attacks across the world is frustratingly high, and they are often behind issues like the error 0xc0000005.
Malware constantly evolves, and while your OS is protected by Windows Security, you need to be vigilant. You should know how to eliminate common malware entry points and how to remove viruses and other malware from Windows.
3. Regularly clean your computer
Windows error codes, including exception code: 0xc0000005, tend to appear on cluttered computers, so you need to perform regular clean-ups.
From removing junk files to deleting unwanted apps to using Windows Update Cleanup, there are proven ways to clean Windows 10.
And the good news is, you can automate all the cleanup procedures with a dedicated PC optimizer such as Auslogics BoostSpeed:
- Download and install the Auslogics BoostSpeed tool.
- Go to File -> Settings -> Scheduler.
- Click on My Scanner and check the Enable automatic maintenance option.
- Configure your automatic maintenance settings under the What and When sections.
- Click OK to confirm your selections.
Also Read: How to Get More Storage on PC – Clean Up Your PC to Run Faster
Conclusion
The error code 0xc0000005 is one of those Windows error codes that seem to appear out of the blue and cause panic among users.
That said, in most cases, it is easily fixable, and you can prevent it by keeping your system clean, updated and protected.
FAQ
When troubleshooting the exception code: 0xc0000005 issue, you need to narrow down the list of possible culprits. If you suspect an app, update, or extension, try disabling or removing it. If a certain software or hardware component is acting up, perform a repair. Our guide covers the most common scenarios where the error code 0xc0000005 manifests itself and is likely to help you. The error 0xc0000005 often appears in Windows 10, preventing the OS from working as it should. Proven fixes to the problem include replacing the RAM, repairing the registry, and running the CHKDSK utility, among others. Check the tips above and apply them one by one until the error code 0xc0000005 disappears. From bad RAM to corrupted system files to nasty malware, there are various reasons you can encounter the error code 0xc0000005 on your PC. In some cases, the culprit can be easily identified, yet sometimes, troubleshooting the error 0xc0000005 requires time and patience. Following our guide will ease up the process for you