CreateProcess or CreateProcessAsUser failed to execute command line with non-recoverable error 2 execmgr.log

Recently i worked on issue with SCCM Client.Many applications are Advertised in Run Advertised programs as Optional(Optional can be set either not having mandatory schedule or allow users to run independently while creating Advertisement ).

But none of the applications are running successfully from RAP .So verified CAS.log ,Datatransfer.log to see if any issues with content downloading to cache but they do work it.

Next to look execmgr.log : From this log,what i noticed is ,Client is able to download the content and start the program command line but it failed with error message:

CreateProcess or CreateProcessAsUser failed to execute command line with non-recoverable error 2

if you try ctrl+L from your trace32.exe and look for Error 2, it tells you,system can not find the file specified.

There is nothing wrong with program command line as it works well on all other clients.

Why does all the applications failed on this particular computer ?? Because Script DLL files are corrupted ,it requires to reregister them again.

Below are the DLL files to register.

regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
regsvr32.exe wshom.ocx
regsvr32.exe msxml3.dll
regsvr32.exe -i shell32.dll
regsvr32.exe OLEAUT32.DLL

Restart the computer ,try to run the applications from RAP window. It works this time 🙂

Post Comment