How to Fix Error Code 0xc0000005 in Windows

Oops Sign On Laptop Screen
Quick Fix

Click to download Outbyte PC Repair and discover its benefits for your Windows system.

Designed for Windows 10 and 11.

Take advantage of our special offer to enhance your PC performance. For more details, please read About Outbyte, and Uninstall Instructions. Also, please review our End User License Agreement (EULA) and Privacy Policy.

Windows 10/11 is a powerful OS, yet it’s not without flaws. Users often encounter diverse error messages that impact their experience. While some errors are familiar, others are novel occurrences.

One of these errors is the Windows error code 0xc0000005. What is it and what triggers it to appear? Continue reading to find out more about this error.

What Is Error Code 0xc0000005 in Windows?

The Windows error code 0xc0000005 is one of the many issues one may encounter on Windows 10/11. It has many possible causes, but the most common ones include malware infection, corrupted registry files, and incorrect hardware configuration.

When this error occurs, it can lead to direct or indirect data loss, especially if not resolved quickly.

Expert Tip: For smoother PC performance, consider using a PC optimization tool. It handles junk files, incorrect settings, and harmful apps. Make sure it's right for your system, and always check the EULA and Privacy Policy.

Free Scan for PC Issues
Compatible with: Windows 10/11, Windows 7, Windows 8

Special offer. About Outbyte, uninstall instructions, EULA, Privacy Policy.

Because this is a common Windows error, there are plenty of available solutions you can try. But before we share them with you, let us first dig deeper into its causes.

What Causes Error Code 0xc0000005?

Again, the error code 0xc0000005 on Windows 10/11 can be caused by different things, including a corrupt registry file, problematic Windows update, incorrect hardware configuration, or a malware attack. However, research suggests that it mainly appears in these three different scenarios:

  • Windows Installation Issue – In this case, the error code is associated with some temporary hardware problems, such as corrupted RAMs or hard drives. This usually comes with the error message, “Windows installation encountered an unexpected error.”
  • Access Violation Error – This happens when a Windows application tries to access data or a location from a certain location that it isn’t assigned to it. It may show due to a faulty RAM, registry problems, virus or malware infection, corrupt device drivers, or a faulty security update. This is often accompanied by the error message, “Exception: Access violation error 0xc0000005…”
  • Application Unable to Launch – It pops up whenever you try launching a program installed on your computer such as Chrome, VLC, or Mozilla Firefox. In this scenario, a reinstallation won’t resolve the issue because the error is triggered by an unsigned, incomplete, or an invalid DLL file, which is needed by a program to run on a Windows platform.

9 Ways to Fix Windows Error Code 0xc0000005

Here, you will find various ways to resolve the error code 0xc0000005 on Windows 10/11.

Solution #1: Check your computer’s RAM.

One of the easiest fixes to the error code on Windows 10/11 is to check your device’s RAM. To do so, begin by switching off your system and trying to replace your RAM with a new one. You may also transfer your RAM into another slot and reboot your device. After which, check if the error is still there.

If your device is still under warranty, we suggest not opening it. This will make the warranty null and void. Instead, take your computer to the shop where you bought it. Let the professionals handle the RAM-checking task for you. If they find it faulty, they will replace it without any added cost.

But if the warranty has already lapsed and you don’t feel confident with troubleshooting the hardware components, we still suggest taking your computer to an authorized service center to have it checked.

Solution #2: Repair the Windows Registry.

Corrupt or damaged registry files can cause serious system issues, such as the error code 0xc0000005. If you have prepared a backup of your registry files, then great. You can use it to restore your system’s registry and resolve the problem.

It is worth noting, though, that modifying registry files is a complex task and can be fatal to the system if not done properly. Any incorrect or invalid move can cause serious system consequences. For this reason, experts always suggest backing up registry files before attempting to make any change.

Here’s how to repair the Windows registry:

  1. Press the Windows + R keys simultaneously to launch the Run utility.
  2. Into the text field, input regedit and hit Enter.
  3. Next, go to this location: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_Dlls.
  4. Double-click on the LoadAppInit_DLLs section and change the value from 1 to 0.
  5. Hit OK to save the changes.
  6. Exit the Registry Editor and reboot your computer.
  7. Try launching an application and check if the error still appears.

Solution #3: Run an SFC Scan.

Your Windows device has this in-built utility that can be used to repair corrupted system files. It’s called the System File Checker. So, if you suspect that the error code 0xc0000005 is showing because of a corrupted system file, use the SFC utility to perform a scan.

Running an SFC scan is pretty straightforward and easy. Here’s how:

  1. Press the Windows button and input cmd into the Search
  2. Right-click on Command Prompt and select the Run as Administrator This will open an elevated Command Prompt.
  3. Into the command line, input the sfc /scannow command and hit Enter.
  4. Wait for the SFC scan to complete. Make sure you don’t interrupt the scanning process.
  5. Once the scan is done, check if the error persists.

Solution #4: Run the CHKDSK Utility.

Bad sectors or a corrupt hard drive can also trigger the error code 0xc0000005 to appear. To fix this, you need to run the CHKDSK utility.

To fix any disk corruption issues caused by bad sectors, launch an elevated Command Prompt. Into the command line, input the chkdsk X: /f /r command. Change the value of X to the hard drive that you want to fix. Hit Enter to execute the command.

Solution #5: Switch Off the DEP.

Data Execution Prevention or DEP is a built-in system-level protection feature for the memory that is designed to keep your system free of damage caused by malware entities, viruses, and other forms of security threats. While it seems like a useful utility, some programs are incompatible with this feature, causing the error code 0xc0000005 to appear.

To turn off the DEP feature and resolve the 0xc0000005 error code, follow these steps:

  1. Sign in to an administrator account.
  2. Press the Windows + R keys simultaneously to launch the Run utility.
  3. Into the text field, input sysdm.cpl and hit Enter.
  4. Navigate to the Advanced tab and click the Settings button.
  5. Go to the Data Execution Protection tab and tick the Turn on DEP for all programs and services option, except those I select.
  6. Hit the Add button and find all the EXE files that may be causing the issue.
  7. Click OK to proceed.
  8. Restart your computer and try running other applications.

Solution #6: Use the Hardware Troubleshooter.

Sometimes, a problematic hardware component may trigger the error code 0xc0000005 to appear on your Windows 10/11 device. But the good news is that it can be easily repaired using the built-in hardware troubleshooter utility. Here’s how to use it:

  1. Press the Windows key.
  2. Into the Search bar, input troubleshooting.
  3. Hit Enter to continue.
  4. Scroll down to the Hardware and Devices section.
  5. Click the Run the Troubleshooter button.
  6. Wait for the troubleshooter to find any problem and resolve it.
  7. If an issue is detected, hit the Apply Fixes button.
  8. Restart your computer once done.

Solution #7: Update Your Device Drivers.

Yes, your system may have the latest device drivers. But you may still encounter issues with them. One is the error code 0xc0000005.

If the error code 0xc0000005 is triggered by an outdated device driver, update it by following these steps:

  1. Press the Windows key.
  2. Into the Search box, input device manager and click on the most relevant search result.
  3. Double-click on Disk Drives.
  4. Right-click on the drive where Windows and other applications are installed.
  5. Select Update Driver and click the Search automatically for updated driver software option.
  6. Wait for Windows to find a compatible driver. If it cannot find a new one, download it manually from the official site of your device manufacturer.

Alternatively, you may use Auslogics Driver Updater to update all your device drivers in just a click.

Now, if updating your device drivers does not fix the problem, try reinstalling the drivers. To do so, right-click on the disk where Windows and other programs are installed. Select Uninstall Device and restart your computer. Windows will then reinstall the drivers automatically.

Solution #8: Perform a Complete Antivirus Scan.

No matter what safety measures you practice, you may still find your device infected with viruses or malware entities that trigger error messages to appear. This scenario may not be fun as it can greatly affect your computer’s functionality. But you can always take proactive steps to ensure your computer is free of these threats. One is by running a virus scan using Windows Defender.

To perform a scan using Windows Defender, follow these easy steps:

  1. Go to the Settings window and select Update and Security.
  2. Click Windows Defender.
  3. The Windows Defender dialog box should now appear. Go to the Windows Defender Security Center section.
  4. In the next window, hit the Virus and Threat Protection button.
  5. Press the Quick Scan button.
  6. Windows Defender will start scanning your computer and report any threats it finds.
  7. Once the scan is complete, restart your computer and check if the error is already resolved.

For best results, you may also perform another virus scan using a third-party antivirus suite. You can perform a quick Google search for some of the best anti-malware programs today. But when downloading, make sure you visit the product’s official website to avoid further complications.

Solution #9: Use System Restore.

If all else fails, use System Restore. This Windows feature only works when there is an available restore point on your system.

To revert your system to a point prior to the occurrence of the error code 0xc0000005, refer to the steps below:

  1. Open the Start menu.
  2. Into the Search box, input Create a restore point and click the most relevant result. This should launch the System Properties utility.
  3. Hit the System Restore button.
  4. Click Next to continue.
  5. Choose a restore point prior to the appearance of the error code.
  6. Hit the Scan for affected programs button. This will show you the programs and apps that will be removed should you choose the restore point.
  7. If you are okay with deleting the displayed apps, hit Close.
  8. And then, click Next.
  9. Finally, hit the Finish button and check if the error code persists.
  10. If no restore point is detected, you may use a data recovery tool instead. This will allow you to recover any lost data caused by a corrupt hard drive.


The error code 0xc0000005 on Windows can be resolved by following the solutions above. Also, it can be prevented by performing regular CHKDSK scans, scheduling RAM diagnostics, and updating your operating system.

If you need further help in resolving this error code, please comment down below. We’ll do our best to get back to you with answers.

Give us some love and rate our post!
[Total: 0 Average: 0]
Notify of
Inline Feedbacks
View all comments
Featured Stories
How to use Windows 10 Shutdown Command
Speak Freely: How to Fix Mic Not Working on Discord
Complete List of Windows 10 and 11 Keyboard Shortcuts
Resolving the ‘Windows 10 Critical Process Died’ Error
Best Apps for Screen Sharing in Windows 10: Navigating Your Choices
How to Check Your Computer’s Hardware: CPU, GPU, and Motherboard
Unlock the Secrets of Windows PowerShell: from Beginner to Expert in Minutes!
How to Fix Windows Update Replacing AMD Drivers
How to Update Drivers on Windows 10