Close Menu
    Facebook X (Twitter) Instagram
    Tuesday, May 20
    X (Twitter) LinkedIn
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»SCCM 2007»CreateProcess or CreateProcessAsUser failed to execute command line with non-recoverable error 2 execmgr.log

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

    Eswar KonetiBy Eswar KonetiMay 31, 3:15 pm2 Mins Read SCCM 2007 4,989 Views
    Share
    Facebook Twitter LinkedIn Reddit

    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 🙂

    Applications failed to run from RAP CreateProcess or CreateProcessAsUser failed execmgr.log non-recoverable error 2 Run Advertised prorgams
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    How to detect the source of registry key modifications on windows devices – Intune

    November 21, 8:49 pm

    Identifying devices managed by Intune but not reporting to WUfB using KQL

    November 09, 10:28 am

    Application Deployment with Hybrid Joined Requirement Rules in Intune

    October 06, 8:59 pm

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2024 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.