and run sfc /scannow from the run box, there may be more wrong !
Main Topics
Browse All TopicsHave been struggling with this error. Can't load cmd.exe. An error message, "The aaplication failed to initialize properly (0xc0000142)", pops up.
There are some posts as to Oxc0000142 error, not specifically related to cmd.exe. Posted answers are two types. Some say it's from Virus. Others say it's due to corrupted files to run cmd.exe. Also, one post from Microsoft, pointing out Roxio product's incompatibility. But no Roxio product is installed on my machine.
Suspecting a virus, tried various virus scans including McAfee, and regiestry cleaner such as RegistryFix.
But, didn't do any good.
Now, I would like to replace cmd.exe and dependent files with clean files from XP CD or other computer.
What files needs to be copied?
Thanks in advance
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I had a similar problem and i found two files which should not be there in c:\windows\system32\
cmd.com and regedit.com
I deleted them and this fixed the problem
The giveaway is when you run cmd from the run menu it runs cmd.com instead of cmd.exe. The same happened for my regedit.exe.
This might not be your problem but thought I should mention it
I've had a similar problem on two systems that had been using for localization testing and had the Asian languages installed and then removed.
Using Sysinternal's Process Explorer, I found (on a working system ) that cmd.exe reads the NLS (Native Language Support) registry key. (HKLM\System\Current Control Set\Control\Nls)
I exported the key from the working system to the other system and the command console now opens up correctly.
This error occurs when a program tries to use CreateProcess, but is denied by application interaction control. Typically this is due to antivirus software/security software.
For Zone Alarm, this issue can eb resolved by:
Go to the program control tab, click the main tab, click the custom button under program control and see if "integrated application control" is enabled. If so, view the alerts & logs to see which program tried to use CreateProcess but was denied. To allow application interaction for that program, go to program control > programs tab, right click the program, select options and check "allow application interaction"
HTH:)
Business Accounts
Answer for Membership
by: rossfingalPosted on 2005-12-11 at 09:24:51ID: 15462428
Place new copies of cmd.exe in these folders: he
C:\WINDOWS\system32
C:\WINDOWS\system32\dllcac
I had a similar problem and this solved it.
However, perhaps wait for added input.
Good luck!
RF