The Windows error code 0xc0000005 is a particularly debilitating error that can break your workflow unless properly fixed. Although the precise cause of this error can vary wildly, it's generally caused by a problem in your memory or a general failure to process the app's settings by your operating system. There are many methods you can try to rescue your PC from this bug.

We have rounded up a variety of methods you can try your luck with. Let's look at how you can fix the error Code 0xc0000005 on Windows for good.

1. Deactivate Data Execution Prevention (DEP)

Data Execution Prevention is a security feature on Windows that prevents damage to your PC from malware and other malicious attacks on your PC. It does this by blocking out specific memory regions so that code cannot be executed from those locations, which in the absence of DEP, would be used for buffer attacks.

However, the only problem is that it can sometimes prevent the smooth functioning of some programs as well. While we don't recommend this as a solution for the long-term, see if you can get rid of the Error Code 0xc0000005 on your Windows by turning off the DEP for a while.

Here's how you can get started:

  • Head to the Start menu search bar, type in 'cmd,' and run the command prompt as an administrator.
  • Type in the following command in the cmd and hit Enter:
    bcdedit.exe /set {current} nx AlwaysOff

Note that if you have UEFI secure boot enabled, then you might encounter an error like this:

cmd

In this case, you will first have to disable the Windows secure boot, and then repeat the above steps again.

That's it—the DEP will be disabled from here on. Now, give your PC a quick reboot and see if the error 0xc0000005 persists.

2. Check Your App's and PC Version and Compatibility

One of the more common reasons for getting hit with the 0xc0000005 error is when your computer cannot process the files or settings necessary to your PC. While the causes of this can vary, a common one is that you've been using an outdated version of the app.

In fact, if you're using the app for the first time, the tool might be completely incompatible with your operating system.

Here's how you can check your PC's version:

  • Press the Win + I shortcut to launch Settings.
  • Click on About.

As soon as you do this, the Windows Device specification will be launched.

Similarly, to check the app's version, follow the steps below:

  • Head to the Settings menu, and select Apps > Installed Apps.
  • To check the app's version, click on any specific app.
  • If it's a Microsoft app, click on the Settings option (three dots) next to it and select Advanced options.
installed apps

Now check if the app and your operating system are compatible with each other.

3. Apply Some Generic Fixes for Fixing Errors on Windows

While the methods we have discussed have targeted the error code 0xc0000005 in particular, there are some quick fixes that come recommended for pretty much all Windows errors. Note that it's not the case that these solutions are bound to fix any particular error you are facing at a point in time, but if you have tried all the different methods from above, then the below methods are definitely worth a go.

Let's go over all of them one by one.

  1. Run an SFC scan: An SFC scan looks for and fixes any files that have, for a variety of reasons, become damaged on your PC.
  2. Use the Memory Diagnostic Tool: You can encounter the 0xc0000005 error on your PC if your PC has memory problems. Fortunately, the Memory Diagnostic tool is a built-in way to fix any issues with your memory.
  3. Run the Program Compatibility Troubleshooter: It's possible to face errors when running an app if it's incompatible with your PC, especially if it's older. Fortunately, the Program Compatibility Troubleshooter can help it run properly.
  4. Repair your app: It's possible that the app's files you're trying to run have become damaged and, as a result, your PC throws the 0xc0000005 error code. A quick app repair is a good possible solution in this scenario.
  5. Run a malware scan: A malware scan can break or create malfunctions for otherwise normal processes on your PC; run and see if that's the case in this error as well.
  6. Perform a Factory Reset: A Factory reset is, as I sometimes like to call it, the "all pulverizer" all Windows problems. It removes your operating system and reinstalls it so you can start again with a clean slate. It's a drastic measure, but sometimes it's the only way to get a Windows error fixed.

Fixing the Error Code 0xc0000005 on a Windows PC

Like most abrupt Windows errors, the 0xc0000005 error code can cause a sharp break in your workflow. Hopefully, using one of the methods from above, you managed to get rid of the Windows error for good.

However, it's a fact that Windows gets plagued by many such simple errors from time to time, that more often than not, can be fixed with little to no effort. So, make sure you keep tabs on all such errors, along with their solutions.