Originally Posted by Johnny C
Hello Johnny and Andy
I have this problem on my Win7 laptop too, so it's not only related to Vista64.
It is in fact a widely spread problem without a proper solution for Win7. I do have a few links to info on some solutions that might or might not work on Vista though:
I’m not the only one with this problem and nobody have found a working solution for Windows 7 yet. I now request the collective wisdom of the blogworld to come up with a workaround for this.
This error is hindering the start of any console-related programs . Not even cmd.exe will run! That means I can't run
the fix you suggested above, Johnny.
In my case I am trying to run gpg.exe of the GnuPG package for my Enigmail install in Mozilla Thunderbird. I have found two articles that I think are relevant, but I don’t feel confident enough to edit the registry in the way one of the “solutions” suggest and the other is a hotfix that isn’t made for Windows 7.
These links point to the articles:
Error message when you call the CreateProcess function to start a process of a console application by using an account other than the current logon account in Windows Server 2003: "The application failed to initialize properly (0xc0000142
Unexpected behavior occurs when you run many processes on a computer that is running SQL Server
All solutions suggested by Microsoft themselves for this issue on other OSs mention this file, Winsrv.dll, as the culprit. This reference can also be found in the kb/824422-article above, since that is listed in that particular registry value.
I will not, ever, use System Restore to fix anything on my computer, so that is never a valid solution. I should be able to fix anything on a current system, with replacing files or editing system settings. There’s no telling what changes has been made since last restore point was saved and will be lost forever if I “go back”. So, please, don’t suggest using system restore. A full reinstall is a much safer way to go, but I’d rather not do that, again (I just installed Win7 to start using during the Christmas holidays).
I’ve added my findings on several forums to see if I can get some help there:
Does Anyone Know of a Fix for the 0xc0000142 Problem - Windows 7 Forums
The application failed to initialize properly (0x0000142). Click OK to terminate the application.
I added it on my twitter and my own blog too:
Kim Nilsson (no_substitute) on Twitter
Somewhere, someone, anyone should be able to come up with something that will work. Maybe someone can get their friend/relative who works at Microsoft to raise attention to the problem.
Thank you in advance for any and all help you can give.