How to Fix Error Code 0xc0000005 in Windows OS

Summary:The occurrence of error code 0xc0000005 cause data loss directly or indirectly. Thus, it has to be sorted out quickly. If there is data loss due to this error, then no need to worry, you may recover the lost data hassle-free.

  • Windows Installation Error

The error affects the Windows Operating System installation and is connected to temporary hardware issues with the RAM or damaged hard drive because of bad sectors.

Error:Windows installation encountered an unexpected error ….

  • Access Violation Error

The error appears when a program in Windows attempts to access the location of data from the location which is not allotted to it. This may take place with any Windows app because of registry issues, faulty RAM, damaged drivers, virus, or inapt security update, etc.

Error:Exception: Access violation error (0xc0000005) at ….

  • Application unable to start

The error flash on the screen after a program's installation on your Windows PC such as Mozilla, VLC, Chrome browser, etc. If you attempt re-installation, it doesn't help much in fixing the issue as it is caused due to some invalid, unsigned, or incomplete DLL files that help software to run on Windows.

Error: The application was unable to start correctly (0xc0000005)

The error code 0xc0000005 badly affects data may be directly or indirectly if not sorted out on time. However, a solution for everything is there so don't worry, as an alternate is surely available.

The error may also appear while you are trying to install Windows updates. Make sure that you don't panic in any error situations, as they all can be resolved when you are mindful.

1.Check RAM

First, turn off your PC and replace the RAM with another RAM. You may try to swap the RAM slots and after that boot your PC. Now, check if the error persists. Swapping of the RAM is needed in the situation where RAM causes physical damage to RAM to the hardware or connectors.

You may conduct a memory diagnostic test on your RAM by using Memtest86+ to solve the unexpected situation.

2. Fix Registry

Damaged registry files may cause severe issues in your PC including the error message. If you have a backup of your registry files, try to restore your system's registry. On the contrary, if you modify registry files, then the process is a little complex and affects your computer badly. Avoid using inapt alteration as this may lead to serious problems further. Thus, it is recommended to backup your current registry files before trying any way out. The following steps will fix the registry:

  • Begin the process, by pressing 'Windows + R'>>type regedit>>'Enter'
  • After this, Navigate to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_Dlls
  • Now, double click LoadAppInit_DLLs and modify the value from 1 to 0
  • Next, click 'OK' to confirm the changes
  • In the next step, close the Registry Editor Window and again start the system
  • Lastly, check if the error still appears when you try to launch the application.

3. Run System File Checker (SFC)

SFC is a helpful way to fix Windows system file damage that might be causing this error. To run SFC is complex-free., check the simple steps below:

  • First, press the Windows key and after that type cmd
  • Now, right-click on 'Command Prompt' and select 'Run as Administrator. A command prompt window will pop up on the screen
  • Type sfc/scannow and press the Enter key
  • After the SFC scan gets over, it will automatically detect damaged system files and replace them with new ones from the cache

4. Turn off Data Execution Prevention (DEP)

First, know about DEP. DEP is shortened for Data Execution Prevention, which is a Windows in-built system-level memory protection feature that protects your system from corruption caused by viruses and various other threats. There are some programs not compatible with DEP feature in Windows and results in causing 0xc0000005 error. It is thus better to turn off DEP in certain error-based situations.

  • First Sign in to Windows as Administrator
  • Then, Press 'Windows+R' and type sysdm.cpl. After this, click Enter
  • Click 'Advanced'>>'Settings'
  • Next, Click on Data Execution Protection>>'Turn on DEP for all programs and services except those I select'
  • Now, click 'Add' button, browse and add all the executable (.exe) files that are causing the problem.
  • Press 'OK'
  • Now, restart the system and try to run the programs

5. Run CHKDSK Utility

  • A damaged hard drive or bad sectors on the drive may cause the error message 0x0000005. You can try to run CHKDSK (check disk) utility to fix the disk corruption because of bad sectors.
  • Make sure you open the command prompt in administrator mode and type chkdsk X: /f /r where X is the hard drive letter that has to be repaired and press 'Enter'.

6. Use Hardware Troubleshooter

  • To use Hardware Troubleshooter, first press the Windows key and type Troubleshooting in Search Bar. After this press Enter
  • If you use Windows 8 and above versions, click on 'View All' in the top left to display all built-in troubleshooters, and after that click on 'Hardware and Devices' to run the troubleshooter
  • If you use Windows 10, then scroll down and click on 'Hardware and Devices' and click 'Run the troubleshooter'
  • Wait for a little while for the troubleshooter to search for the fixes. Next, click 'Apply fixes' and after that restart the system

7. Update Disk Drivers or Re-install them

Your PC already has the latest drivers. Still, if you are facing an issue with the device, then update the device driver and fix it. This will fix most of the issues and ensure that your system has the latest fix for errors and bugs. Use the below-given steps in this regard:

  • First, click the 'Windows' key and type Device Manager. Then click on 'Device Manager'
  • Next, double-click the Disk Drives and right-click on the drive where the Windows and other programs are installed
  • Select Update Driver and click Search for updated driver software in the Update Driver dialog box
  • You need to wait till Windows finds the driver. If it fails to find the new driver, then download it from your disk manufacturer's site and update by clicking on Browse my computer for driver software in the Update Drivers dialog box
  • In case, updating drivers fails to lend any help, try reinstalling the drivers. Right-click on the disk and select 'Uninstall device' and restart the system. This will lead to automated re-installation of drivers.

8. Restore System

System Restore option can fix the error code 0xc0000005. It is important to know that System Restore will work when your system has a restore point before the error appeared.

Conclusion: It is difficult to overcome the error code 0xc0000005. You can try using antivirus software, Scheduled CHKDSK scans, S.M.A.R.T. disk monitoring system, scheduled RAM diagnostics, and update the PC with the latest available Windows updates, etc. If the error caused a data loss situation then look for some other reliable way out.

tools-security