Have you ever experienced that when you start a program, a message suddenly appears that contains the exception code 0xc0000005? Usually it is issued not by the installed application itself, but by the operating system. But after all, it is absolutely impossible to determine the root cause of the failure by the code itself. In the best case, a description like "EXEPTION_ACCESS_VIOLATION" will appear, which indicates problems with RAM, which is currently overloaded and cannot process the request of the starting program. But, as it turns out, that's not even the point.
Exception code 0xc0000005: cause of failure
If we are talking about the seventh modification of Windows, the appearance of this error is most often associated with the installation of unfinished service packs. Alas, it is precisely for the “seven” that this is so. If when you start a program appearsa system notification containing a link to an error when starting the application 0xc0000005, this directly indicates that the failure was caused by the “unfinished” update package. But sometimes updates are installed correctly, but some device drivers do not want to accept them under any pretext.
Among other things, do not exclude from the list of reasons that cause the appearance of the exception code 0xc0000005 in Windows 7 and higher, the impact of all kinds of viruses. Surprisingly, even some free antiviruses can provoke such a system problem only because the application being launched is blocked by a standard antivirus. Unfortunately, this is exactly the situation that is very often observed in relation to Avast antivirus, which not only allows many dangerous threats to pass through, but also prevents the official versions of some programs from starting, giving false positives and alarms. We will dwell on this a little later, but for now let's proceed to the main technique that allows us to eliminate the error with the exception code 0xc0000005.
Remove system updates
It's not always easy to get rid of automatically installed updates. For starters, you can try removing them from the standard Programs and Features section.

The process, of course, is long, because you will have to remove updates one by one, identifying the failed package and constantly rebooting the system in the hope that the application you are launching will work again. But here, if there are no additional tools at hand, nothingyou can do it. Then, by the way, you will have to exclude a certain package from the list of updates required for installation. Using manual scanning for these purposes with subsequent blacklisting of the package looks very irrational.

Therefore, it is best to use the Show or hide updates utility, developed at one time by Microsoft specialists. It allows you to scan for the installation of the latest packages in automatic mode and add unnecessary or failed updates to the list of those that will not be installed in the future, and their detection as available by the "Update Center" will be ignored.
Method of removing updates if they are not removed
Unfortunately, almost all recent versions of Windows are such that it is simply impossible to get rid of some critical updates in them. In this case, we are not talking about assembly updates, but precisely those packages that quietly, without notifying the user, reflash the primary input / output system (BIOS / UEFI). And in this case, the exception code 0xc0000005 is also issued. But how to get rid of such updates? Most experts recommend using either the command line or the PowerShell console, which is somewhat like the command line, but with more features.
If the system boots normally, run a command prompt as an admin. Otherwise, use a similar tool when starting in safe mode, which is much preferable. ATconsole, enter the command DISM /Image:C:\ /Get-Packages to view all installed packages and copy the name of the failed package (all packages contain the identifier "KB" in the name). Next, execute the command DISM /Image:C:\ /Remove-Package /PackageName:KBXXXXXX, where XXXXXX is the number of the unnecessary update. Once the uninstall is complete, simply restart your computer. Similar actions can be performed in the PowerShell console by calling it through the Run menu with the command of the same name.
Exception code 0xc0000005: error offset 0x00012702. What's wrong with the drivers?
It was all about the software part of Windows. But what if the problem is with peripheral equipment, such as a printer? The exception code 0xc0000005 (as a consequence of the main error) can be issued at any time. This is a clear indication that there are problems with the drivers that control the device (sometimes connected external equipment may not even be detected at all).
Call "Device Manager" and look at the status of the driver. If the printer is marked with a yellow triangle with an exclamation point, this is a clear indication that the driver is not installed correctly or is missing. Reinstall the control software using the original driver media, or set the update using the system.
If it's an outdated driver, use automated applications to find and install the latest driver versions like iObit Driver Booster. If the driver is not found in this case, use the properties of the device with problems, determineDEV and VEN IDs on the details tab, search the Internet for the appropriate driver and install it yourself.
Note: The installer is usually shipped either as an EXE file or as an object with an INF extension. For the second file, select installation via the RMB menu or set the location of the object when updating via the "Device Manager" using the system tools.

Just in case, check the status of the print service in the system components, as disabling it can also lead to the described failure.
Checking the memory module
RAM can also cause quite serious failures in the operating system, despite the fact that it is an "iron" component. Removing the strips from the slots of the motherboard in the hope of identifying a faulty one is a very troublesome business.

The easiest way is to use the memory testing tool built right into Windows. But it is better to use specialized applications like Memtest86+, based on which you can create bootable media and test RAM without running the installed OS.
Troubleshooting registry issues
A corrupted registry can also cause a crash with exception code 0xc0000005. Outlook, other email clients and some programs may not work just because their keys have been deleted in the registry (or maybe the entries are simply outdated).

Of course cleanthe registry does not stand on its own (you never know what can be accidentally deleted), so the easiest way is to use optimizers like Advanced SystemCare or CCleaner. Well-targeted utilities like RegOrganizer or RegCleaner also look good, which find and remove obsolete keys or remnants of uninstalled programs without user intervention.
DEP service
One of the biggest problems is Data Execution Prevention enabled.

There are two options: either enter the system performance settings and enable its use only for system components, or add to the list in active mode exactly the application that constantly gives an error. It is believed that the best option is to activate this component for system services.
Viruses
It goes without saying that viruses are also capable of provocation. If you notice the above crash, but none of the suggested solutions worked, scan your computer with a portable utility like KVRT. If there are no obvious signs of viruses, use the Kaspersky Rescue Disk disk program, which, when started from a removable device, allows you to check the system for viruses without physically booting it.
Antivirus software
Finally, just temporarily disable the regular antivirus and check the performance of programs or installed peripheral equipment. If you have Avast installed, uninstall it entirely usingeither a special utility from the developer, or uninstallers, and then just install any other antivirus package (even if it's shareware). At the very least, user reviews on the Internet indicate that it is the free modification of Avast that is the worst antivirus known (misses threats, gives false positives, blocks user programs installed from official sources, etc.).