Tuesday, November 22, 2011

How to resolve 'application failed to initialize properly (0XC0000005)'?

Problem

When we try to install or run an application we get the below error message. Sometimes the message doesn't appear on screen but it is logged in Windows Event Viewer.

"The application failed to initialize properly (0XC0000005). Click OK to terminate the application.”

 ‍Discussion

This problem is generated by Microsoft's Data execution prevention (DEP) . For more information, reference Microsoft Technet

Any application that is not registered with DEP will receive an exception with status code STATUS_ACCESS_VIOLATION (0xC0000005).

 ‍Solution

If you are logged on as an administrator, you can now easily configure DEP settings by using the System dialog box in Control Panel.

End users who are logged on as administrators can manually configure DEP between the OptIn and OptOut policies using the Data Execution Prevention tab inside the System Properties dialog box.

The following procedure describes how to manually configure DEP on the computer:

1.Click Start, click Control Panel, and then double-click System.
2.Click the Advanced tab (or Advanced System Properties in Vista and Windows7). Then, under Performance, click Settings.
3.Click the Data Execution Prevention tab.
4.Click Turn on DEP for essential Windows programs and services only to select the OptIn policy, or:
5.Click Turn on DEP for all programs and services except those I select to select the OptOut policy.
6.If you selected the OptOut policy, click Add and add the applications that you do not want to use DEP with.

http://win-techie.blogspot.com/2011/11/how-to-resolve-application-failed-to.html

References:

http://ambientweather.wikispaces.com/The+application+failed+to+initialize+properly+(0XC0000005).+Click+OK+to+terminate+the+application

No comments:

Post a Comment