Error "0xc0000005" - How To Fix The Windows Problem - IONOS
Error "0xc0000005" - How To Fix The Windows Problem - IONOS
Digital Guide
(/digitalguide/)
Contents
1. What’s Behind the Windows Error “0xc0000005”? (server/configuration/resolving-0xc0000005-
errors/#c247883)
2. The Most Frequent Causes of the 0xc0000005 Error (server/configuration/resolving-0xc0000005-
errors/#c247884)
3. How to Fix Access Errors with the Error Code “0xc0000005” (server/configuration/resolving-
0xc0000005-errors/#c247885)
4. How to Resolve the 0xc0000005 Error when Starting Applications (server/configuration/resolving-
0xc0000005-errors/#c247900)
5. 0xc0000005 Errors When Installing Windows: The Best Solutions (server/configuration/resolving-
0xc0000005-errors/#c247907)
The fault associated with the error code “0xc0000005” is one of the more well-known Windows errors. It not
only affects Windows 10 users, but also users of older versions such as Windows 8 and Windows 7. Generally,
there are three different scenarios in which the error occurs:
1. Installing Windows: “Unexpected error when installing Windows. Make sure the installation source can
be accessed and restart the installation. Error code: 0xC0000005”
2. Starting applications: “The application could not be started correctly (0xc0000005). Click on “OK” to close
the application.”
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 1/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
3. Access violations by applications: “0xC0000005: Access violation when reading position ...”
Digital Guide
Moreover, the error (without an additional message) can also appear when updating Windows, thereby
preventing the installation of operating system improvements. In all these cases, it’s advisable to try to solve
(/digitalguide/)
the problem yourself, since Windows does not provide any specific troubleshooter here.
Depending on the context in which error 0xc0000005 appears, there can be a wide range of causes. For
example, the hardware may not be working properly or it may be configured incorrectly. Alternatively, the
error may be due to the executed software, meaning the problem could be fixed with a reinstallation. In most
instances, however, the problem is attributable to specific errors or damages to the operating system. Here,
the range of errors can include erroneous or invalid registry entries, missing or incomplete DLL files (Dynamic
Link Library) or damaged system files and configurations. In addition, malware may be responsible for causing
the “0xc0000005” message.
We’ve compiled the most promising approaches to solving the various 0xc0000005 error situations for you
below.
In the case of access violation errors (also known as protection violation errors), these errors always occur
when an executed program attempts to access a certain resource (particularly storage space) that’s protected
from such access or is unreachable. These kinds of errors – associated with the code “0xc0000005” – are
always accompanied by the respective software crashing.
You can first try to remove the relevant application from your PC and then reinstall it. If software files or
settings caused the access error, this fault will likely no longer appear afterwards. But if reinstallation doesn’t
provide the intended outcome, you should try out the following solution strategies.
Windows offers an integrated feature for protecting working memory – called Data Execution Prevention (DEP)
– which may accidentally cause access problems like 0xc0000005. This is because some programs are
incompatible with this security feature, meaning certain actions will always result in the error. The simplest
solution in this case is to deactivate the protection mechanism for the respective application. To do so, make
sure you have administrator rights and follow these steps:
1. Start the “Run” dialog via the Start menu or using the key combination [Windows] + [R].
2. Enter “sysdm.cpl” and press the [Enter] key to open the System Settings.
3. Switch to the “Advanced” tab and click on the “Settings” button in the “Performance” section.
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 2/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
4. Go to the “Data Execution Prevention” tab and select the point “Activate Data Execution Prevention for
all programs and services except for those selected”. Digital Guide
5. Click on “Add” and search for the .exe file (server/know-how/exe-file/) of the problematic program.
6. Save the change by clicking “Apply” and then “OK”. (/digitalguide/)
(fileadmin/DigitalGuide/Screenshots_2020/0xc0000005-solution1.jpg)
Once you’ve placed programs on the DEP blacklist, you can remove them again at any time by clearing the exception via the
button with the same name.
One possible solution to the 0xc0000005 error is to deactivate the AppInit_DLLs function, which allows you to
load any selection of DLLs (Windows libraries) in any process executed in the user mode. The use of DLLs
enables a more efficient use of storage space, which is why affected programs load faster and take up less
hard drive space. However, sometimes the “AppInit_DLLs” entry can cause problematic access violations.
Provided you have administrator rights, you can deactivate this feature in the Windows Registry. You can open
it as follows:
1. Open the “Run” dialogue via the button with the same name in the Start menu or using the key
combination [Windows] + [R].
2. Type in “regedit” and press [Enter].
Note
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 3/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
Changes to the Windows registry database should only be applied after careful thought. Careless,
Digital Guide
incorrect changes can quickly result in the system no longer working properly. It is therefore a good idea
to create a backup of the present state of the registry before making any changes. Simply click on “File”
(/digitalguide/)
in the registry editor and choose “Export”. Next, enter a suitable name and save the backup copy
wherever you wish.
After you’ve opened the Registry Editor, look for the following key:
1 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
Here, you’ll find the entry “LoadAppInit_DLLs”, which you should double-click to change the assigned value to
“0”:
(fileadmin/DigitalGuide/Screenshots_2020/0xc0000005-solution2.jpg)
Deactivate the entry “AppInit_DLLs” by inserting the value “0” instead of completely removing it from the registry.
Click on “OK” to confirm the change. After restarting the system, you can then attempt to start the problematic
software again.
Windows errors like “0xc0000005” can also be the result of harmful software – especially if the error occurs in
relation to access to certain system resources. Although the Windows security suite provides good protection
against viruses, bots, Trojan horses, and other malware (server/security/how-to-recognize-and-remove-
malware/), which can be complemented with third-party tools like Kaspersky, Bitdefender or Avira Antivirus,
even the best programs are unable to offer absolute security. Start your malware scanners manually to
actively check the current security situation of your system and clear any discovered malware.
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 4/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
Digital Guide
(/digitalguide/)
In order to protect your privacy, the video will not load until you click on it.
Microsoft also offers a tool for removing harmful software, called the Malicious Software Removal Tool (MSRT).
It’s updated on a monthly basis as standard as part of the Windows update and examines the system in the
background for threats. However, this tool doesn’t always work correctly, which is why Microsoft also makes
the latest version of MSRT (https://www.microsoft.com/en-us/download/malicious-software-removal-tool-
details.aspx) available on its website for download.
(fileadmin/DigitalGuide/Screenshots_2020/0xc0000005-solution3.jpg)
MSRT offers three different checking modes: the quick check, full check, and user-defined check.
Solution 4: Run the Windows Memory Diagnostic and Replace Any Defective
RAM
If the access problem with the error code “0xc0000005” persists despite following these solution suggestions,
you’ll have to check whether there is a hardware defect – specifically in the form of damaged RAM storage. In
this case, the solution is to replace the defective working memory with a new one.
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 5/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
To replace your computer’s working memory, you’ll need to be able to open your computer’s housing,
(/digitalguide/)
identify the RAM slot, and remove and replace the respective modules. If you don’t have the required
expertise, we recommend that you seek assistance from a hardware expert and entrust them with
replacing the storage medium.
First of all, you should be sure that the access error is actually the result of a defective storage module. A
solution already integrated in the system is the Windows Memory Diagnostic, which you can find via the Start
menu under “Windows Administration Programs” or using the search function. Start the tool by double-
clicking and then select the option “Restart now and check for problems”. The PC will subsequently shutdown
and then run the memory diagnostic when it restarts.
(fileadmin/DigitalGuide/Screenshots_2020/0xc0000005-solution4.jpg)
Close all opened programs and save your data before you perform the restart with the Windows Memory Diagnostic.
Once the check process is completed, Windows will start up as normal. In the info bar (in the bottom right),
you’ll receive a message about the results of the check. This tells you whether memory problems were
detected or whether the RAM is working properly.
As with access violation errors, it’s just as annoying and frustrating if the 0xc0000005 message is displayed
when running one or more applications. In this case, it’s not even possible to launch the relevant software. The
attempt is usually aborted with the text “The application could not be started correctly”. Reinstalling the
programs affected by the problem can be a quick fix. Any important program files lost during installation or an
update can be restored in this way. A malware scan (see Solution 3 for access errors) can also resolve the
issue.
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 6/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
If neither malware nor the software itself are responsible for the error “0xc0000005”, the following specific
Digital Guide
solutions offer the best chances of success.
(/digitalguide/)
Solution 1: Update Device Drivers
If you get a 0xc0000005 message when starting applications, this could be due to missing or outdated device
drivers. Although Windows automatically looks for the latest drivers for the underlying hardware as standard,
the operating system doesn’t always find the current version. Windows also frequently has problems installing
the right device drivers when hardware is replaced. Because of this, you should always keep an eye on the
hardware compatibility.
You can get an overview of the installed hardware at any time via the Device Manager, which can be opened
via the button with the same name in the Control Panel (symbol view). To search for the latest drivers for a
certain device and install them, you can either visit the manufacturer’s website and download them directly
from the website or use the search feature integrated in the Device Manager. You can open the Device
Manager by selected the relevant hardware component with a right click and choosing the option “Update
drivers”. You can then look for available drivers online or on the computer.
(fileadmin/DigitalGuide/Screenshots_2020/0xc0000005-solution1b.jpg)
Searching for current driver software online only if you have activated the feature in the device installation settings and your
computer is connected to the internet.
Another possible cause of the application launch issue with the error code “0xc0000005” is erroneous boot
configuration data – usually as a result of a malware infection. Here, it’s not enough to simply remove the
relevant malware, as the false entries would still remain in the boot database. Specifically, this concerns the
boot loader pathsxOsload.exe and xNtKrnl.exe, which also have to be deleted to fix the problem.
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 7/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
You can check the current boot loader paths at any time via the command prompt by running the
(/digitalguide/)
command line as administrator and entering the command “bcdedit”.
To remove the erroneous boot paths and reset the boot configuration data to the original condition, you’ll
need a Windows installation medium (CD, DVD or USB stick). This allows you to start the command prompt
outside regular system operation. Boot your PC from the medium of your choice and then follow the steps
below:
1. Click on “Next” in the language settings and then on “Computer Repair Options”.
2. In this order, press the buttons “Troubleshooter”, “Advanced Options”, and “Command Prompt” (in
Windows 10 and 8) or “Use Recovery Tools...”, “Next”, and “Command Prompt” (in Windows 7).
Now enter the following commands in the command line – you can change the drive letter D: if necessary
(Windows installation drive):
1 del D:\windows\system32\xntkrnl.exe
2 del D:\windows\system32\xosload.exe
3 del D:\windows\system32\drivers\oem-drv64.sys
4 attrib c:\boot\bcd -h -r -s
6 bootrec /rebuildbcd
Next, restart your PC and enter your Windows key or digital license (Windows 10) if you’re prompted to
reactivate Windows.
Thanks to the user-friendly assistant, installing Windows poses no major challenge even for non-techies. But if
the 0xc0000005 error occurs during this process, sound advice will almost certainly be necessary. One
possible cause of this issue is that the installation medium used is damaged. If you have an alternative to
hand, you should first try to install Windows again from this data medium before applying the following two
solution strategies.
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 8/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
Damaged or incompatible partitions on the hard drive, which are intended for installing the operating system,
Digital Guide
are a potential source of the 0xc0000005 error when installing Windows (particularly for new installations).
You can fix this problem by deleting the partitions and creating them again. To do so, select the user-defined
(/digitalguide/)
installation type (for advanced users) and proceed as follows:
1. Select the partition intended for Windows (type: “Primary”), click on “Delete”, and confirm this step.
2. Repeat this process for the partition with the description “System reserved” as well as for all other
partitions belonging to older Windows installations.
3. As soon as you’ve deleted all partitions, the installation assistant will show the entry “Non-allocated
storage space on drive 0” in the list. Select this entry and press “New”.
4. The setup will automatically calculate the maximum storage space. Confirm this change via the “Apply”
button. At least two new partitions will be created as a result.
5. Ignore the partition with the attribute “System reserved” and instead click on the alternative partition
(with far more storage space) to define it as the installation drive for Windows.
6. Begin the installation by clicking on the “Next” button.
In order to protect your privacy, the video will not load until you click on it.
Also when installing Windows, the cause of the 0xc0000005 error can be defective hardware. In this case, you
should first check the working memory using the Windows Memory Diagnostic mentioned earlier – at least for
a new installation to replace a running Windows system (see Solution 4 for access errors). Besides RAM, the
hard drive on which Windows is to be installed is also a likely candidate for the source of the error. If it doesn’t
work properly, it’s highly probable that the installation will fail. Here, other error codes than “0xc000005” are
also possible.
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 9/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
g gg
lgui 000 algu /dig
Digital Guide
Windows (tags/windows/)
(/digitalguide/)
Related articles
(server/configuration/0x80070005-error/)
There may be different reasons when applications or files won’t open in Windows, and error code
“0x80070005” is displayed. Possible causes include errors in the file system or the registry database,
as well as issues with rights management. But how exactly do these errors occur and how can the
0x80070005 error be fixed?
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 10/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
Digital Guide
(/digitalguide/)
(server/configuration/fixing-0x80070057-error/)
Windows systems use error messages to inform their users that a system function could not be
executed properly. The major problem is the fact that most messages only contain error codes such
as “0x80070057”, which are of little help to many users. For example, the code provided here
represents a parameter error – but how do you fix it?
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 11/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
Digital Guide
(/digitalguide/)
(server/configuration/0x80004005-error/)
The big problem with many Windows error messages is that users hardly ever understand them. For
instance, messages with the code “0x80004005” indicate an “unspecified” error. Since these kinds of
errors can occur in all sorts of scenarios, we present a range of solution strategies that can prove
helpful.
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 12/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
Digital Guide
(/digitalguide/)
(server/configuration/resolving-0x8024200d-errors/)
Windows update errors can often be especially tricky. For instance, if the 0x8024200d error occurs
while installing a new patch, even a restart won’t usually help. However, since continuous updates to
Windows are vital for stability and security, you may have to fix this problem yourself if necessary.
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 13/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
Digital Guide
(/digitalguide/)
(server/configuration/0x80070002-error/)
Microsoft provides Windows users with the latest features and security patches via the Update
Center. It’s therefore very important to regularly update your system to secure it in the most secure
and stable way possible. This means faults like the 0x80070002 error are a risk to be taken seriously.
We show you a range of strategies for solving this update problem.
Related Products
Cloud Servers
See packages
July Sale
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 14/15
7/23/2021 Error “0xc0000005”: How to Fix the Windows Problem - IONOS
Get a free first-year .us domain when you register a .com for one year.
(/digitalguide/)
Hurry, sale ends on July 31st!
Popular Articles
.ly/
.ly/I
ly/
os.l
-fee
uid
https://www.ionos.com/digitalguide/server/configuration/resolving-0xc0000005-errors/ 15/15