The exception code is 0xc0000005. Error starting application 0xc0000005

Has it ever happened to you that when you start a program, a message suddenly appears in which the exception code 0xc0000005 was indicated? Usually it is not the installed application itself that issues it, but the operating system. But after all, by the code itself, it is absolutely impossible to determine the root cause of the failure. In the best case, a description like “EXEPTION_ACCESS_VIOLATION” appears, which indicates problems with RAM, which is currently overloaded and cannot process the request of the starting program. But the matter, as it turns out, is not even that.

Exception Code 0xc0000005: Causes 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 incomplete service packs. Alas, it is for the Seven. If a system notification appears at the start of a program containing a link to an error when starting the application 0xc0000005, this directly indicates that the failure was caused by the “unfinished” service pack. But sometimes updates are installed correctly, but the drivers of some devices do not want to perceive them under any pretext.

Among other things, one should not exclude from the list of reasons causing 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 the occurrence of such a system malfunction only because the application being launched by a regular antivirus is blocked. Unfortunately, such a situation is very often observed in relation to the Avast antivirus, which not only misses many dangerous threats, but also prevents the official versions of some programs from starting, giving false alarms and alarms. We will dwell on this a bit later, but for now we will proceed to the main methodology that allows us to eliminate the error with the exception code 0xc0000005.





Removing System Updates

Getting rid of automatically installed updates is not always easy. To get started, you can try to remove them from the standard section of programs and components.

Standard Update Uninstall Method




The process, of course, is a long one, because you will have to remove updates one by one, identifying a failed package and constantly rebooting the system in the hope that the launched application will work again. But here, if there are no additional tools at hand, nothing can be done. Then, by the way, you will have to exclude a specific package from the list of mandatory updates. Using manual scanning for these purposes, followed by adding the package to the "black list", looks very irrational.

Show or hide updates utility




Therefore, it is best to use the Show or hide updates utility, developed in due 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 definition as available by the Update Center will be ignored.





Method for removing updates if they are not deleted

Unfortunately, almost all the latest versions of Windows are such that it is simply impossible to get rid of some critical updates. In this case, we are not talking about assembly updates, but only those packages that quietly, without notifying the user, flash 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 a kind of command line, but with great features.

If the system boots normally, run the command line as administrator. Otherwise, use a similar tool when starting in safe mode, which is much preferable. In the console, enter the command DISM / Image: C: \ / Get-Packages to view all installed packages and copy the name of the failed one (all packages in the name contain the identifier "KB"). Next, issue the DISM / Image command : C: \ / Remove-Package / PackageName: KBXXXXXX, where XXXXXX is the number of the unnecessary update. When the removal is complete, simply restart the computer. Similar actions can be performed in the PowerShell console by calling it via the Run menu with the command of the same name.

Exception code 0xc0000005: error offset 0x00012702. What is wrong with the drivers?

All this concerned 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 problems are observed with device drivers (sometimes connected external equipment may not even be detected at all).

Call up “Device Manager” and look at the status of the driver. If the printer is marked with a yellow triangle with an exclamation mark, this is a clear indication that the driver is not installed correctly or is missing. Reinstall the control software using the original media with the drivers, or set the update using the system tools.

If it’s a matter of driver obsolescence, use automated applications to find and install the latest drivers like iObit Driver Booster. If in this case the driver cannot be found, use the properties of the device with the problems, determine the identifiers DEV and VEN on the information tab, search the Internet for the appropriate driver and install it yourself.

Note: usually the installer is supplied either as an EXE file or as an object with the .inf extension. For the second file, select the installation via the RMB menu or specify the location of the object when updating through the “Device Manager” using the system tools.

print service activation




Just in case, check the status of the print service in the system components, since disabling it can also lead to the described failure.

Memory module check

RAM can also cause quite serious failures in the operating system, despite the fact that it is an "iron" component. To remove the strips from the slots of the motherboard in the hope of identifying a bad one is a very troublesome task.

Checking RAM using Windows




The easiest way is to use the memory testing tools built right into Windows. But it is better to use specialized applications like Memtest86 +, on the basis of which you can create bootable media and check RAM without starting the installed OS.

Fix registry problems

A damaged 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 records are just out of date).

Fixing registry errors in CCleaner




Of course, cleaning the registry yourself is not worth it (you never know what can be accidentally deleted), so it’s easiest to use optimizers like Advanced SystemCare or CCleaner. Narrowly targeted utilities like RegOrganizer or RegCleaner also look good, which find and delete obsolete keys or remnants of remote programs without user intervention.

DEP Service

One of the biggest problems is the activated Data Execution Prevention service.

DEP Actions




There are two options: either go into 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 still to activate this component for system services.

Viruses

Needless to say, viruses are also capable of provocation. If you notice the appearance of the above failure, but none of the proposed solutions have a positive effect, scan your computer with some portable utility like KVRT. If no obvious signs of viruses are detected, use the Kaspersky Rescue Disk, which when starting from a removable device allows you to check the system for viruses without physically loading it.

Antivirus software

Finally, just disconnect the full-time antivirus for a while and check the operability of programs or installed peripheral equipment. If you have Avast installed, uninstall it completely and completely, using either a special utility from the developer or uninstall programs, and then simply install any other anti-virus 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 of all known ones (skips threats, issues false positives, blocks user programs installed from official sources, etc.).




All Articles