Page 1 of 1

Error trying to start shell

PostPosted: 26. April 2017 12:38
by NorthLake
Hey,
I'm still fairly new to setting up servers and stuff, so i don't think I'll use the function any time soon anyway. Still, it bothers me experiencing this error. Everytime I click on the Shell button in the control panel it comes up with an error:

cmd.exe - Process error
Could not start process correctly (0xc0000142). Click OK to close the process.

At least it's something along those lines (I have the Dutch version of Windows, so I had to translate it). Is this something that more people have experienced? Is it fixable?

Re: Error trying to start shell

PostPosted: 27. April 2017 02:06
by cmindyke
I am receiving the same error. new pc out of the box. is it possible there is some kind of issue with this recent version?

Re: Error trying to start shell

PostPosted: 27. April 2017 08:05
by Altrea
Which XAMPP version are you using exactly? 3.2.2 is not the xampp version number.

Re: Error trying to start shell

PostPosted: 29. April 2017 11:17
by sinfuljosh
Having the same issue. Fresh install of XAMPP 7.0.15

using the exe installer https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/7.0.15/

Windows Event Viewer only shows the alert window showing the same information mentioned above.

I've found that it will work and the shell will open about 1 out of 10 attempts.

Re: Error trying to start shell

PostPosted: 30. April 2017 02:04
by faospark
try running setup_xampp.bat

Re: Error trying to start shell

PostPosted: 29. June 2017 17:20
by VD17593
Have the same problem.
All worked fine till a few weeks ago :didn't change Xampp (version 5.5.37).

I've the impression that Win10 (build 1703) could be the cause.
Found that when I open internet conncetion, the shell has a bigger chance to start.

Someone found a reason yet?

Re: Error trying to start shell

PostPosted: 09. July 2017 19:58
by Neusbeer
I had same problem. New install on Windows 10.

Quick Fix:
set compatibility of xamp-control file to Windows 8.
and run as administrator

0xc0000142 has something to do with dll code-signing
Other option would be to run regedit.
find: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Windows
set LoadAppInit_DLLs to 0
(untested by me because first option worked for me right away)