Windows – Error 0xc0000006 when I start certain .exe

runtime errorwindows 7

I'm running on Windows 7. When I start .exe like a game I got this error message :

The application was unable to start correctly (0xc0000006). Click OK to close the application

And it's impossible to launch my application. But it's not for all my .exe.

e.g : I can launch chrome but I can't launch any games.

So I found a way to by pass this error. I created a file .bat. In this .bat I start 500 time an application who gives me this error by this command :

start C:\Path\To\My\Exe\example.exe

And randomly (I have to wait 5 minutes to 3 hours), sometimes my .exe works and I can launch my application. once I managed to launch one .exe on my computer I don't have this error anymore. I can launch all .exe on my computer.

But when I restart my computer I got this error again. I don't know why it works sometimes with my .bat and I don't know how to fix this error.

Thanks for help.

Best Answer

Most possibly you have some bad sectors on your disk or a RAM problem. This sounds me like a hardware problem rather than software problem. Because Error 0xc0000006 is STATUS_IN_PAGE_ERROR which means program addressing the page which wasn't in the memory bacause of an I/O error (From TechNet):

//
// MessageId: STATUS_IN_PAGE_ERROR
//
// MessageText:
//
// The instruction at 0x%p referenced memory at 0x%p. The required data was not placed into memory because of an I/O error status of 0x%x.
// #define STATUS_IN_PAGE_ERROR             ((NTSTATUS)0xC0000006 L) // winnt

Try running

chkdsk /r /f /x

on your system partition. See if it solves the problem. If not trying

sfc /scannow

may help also. Maybe the bad sector corruption affected memory manager subsystem. SFC may fix that.

If all these doesn't fix the problem, you can try replacing the RAM module(s), one by one, if multiple.