locked
SCCM 2012 deployment fails to install with exit code is -2146233079 RRS feed

  • Question

  • <![LOG[  Processing [{5ACBB418-E040-4144-9FFA-77116B1A151D}, 0]: OnContentAvailable ]LOG]!><time="12:25:28.377+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="contentavailablehandletask.cpp:156">
    <![LOG[[{5ACBB418-E040-4144-9FFA-77116B1A151D}]: Content Version 1 is available for advert AWI20656, pkg: AWI000C5, program Per-system unattended.]LOG]!><time="12:25:28.387+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="executionrequest.cpp:4921">
    <![LOG[An existing MTC token was not supplied, using ExecutionRequest's Id as MTC token and this execution request is the owner of resultant MTC task.]LOG]!><time="12:25:28.387+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="executionrequest.cpp:8960">
    <![LOG[Request a MTC task for execution request of package AWI000C5, program Per-system unattended with request id: {3969BFC3-0C4A-4A43-9728-1044332E2EE2}]LOG]!><time="12:25:28.387+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="executionrequest.cpp:8984">
    <![LOG[Execution Request for advert AWI20656 package AWI000C5 program Per-system unattended state change from WaitingContent to Ready]LOG]!><time="12:25:28.560+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="executionrequest.cpp:513">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="AWI000C5",ProgramID="Per-system unattended", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="12:25:28.564+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="event.cpp:405">
    <![LOG[MTC task with id {3969BFC3-0C4A-4A43-9728-1044332E2EE2}, changed state from 0 to 4]LOG]!><time="12:25:28.575+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="execreqmgr.cpp:6288">
    <![LOG[  Processing [{5ACBB418-E040-4144-9FFA-77116B1A151D}, 0]: RemoveNotification]LOG]!><time="12:25:28.580+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="contentavailablehandletask.cpp:164">
    <![LOG[MTC signaled SWD execution request with program id: Per-system unattended, package id: AWI000C5 for execution.]LOG]!><time="12:25:28.605+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="execreqmgr.cpp:6406">
    <![LOG[Sending ack to MTC for task with id: {3969BFC3-0C4A-4A43-9728-1044332E2EE2}]LOG]!><time="12:25:28.610+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="executionrequest.cpp:9023">
    <![LOG[Executing program install.vbs in Admin context]LOG]!><time="12:25:28.620+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="executionrequest.cpp:3251">
    <![LOG[Execution Request for advert AWI20656 package AWI000C5 program Per-system unattended state change from Ready to NotifyExecution]LOG]!><time="12:25:28.620+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="executionrequest.cpp:513">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="AWI000C5",ProgramID="Per-system unattended", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="12:25:28.622+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="event.cpp:405">
    <![LOG[Checking content location C:\WINDOWS\ccmcache\10 for use]LOG]!><time="12:25:28.678+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="executioncontext.cpp:1663">
    <![LOG[Successfully selected content location C:\WINDOWS\ccmcache\10]LOG]!><time="12:25:28.678+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="executioncontext.cpp:1719">
    <![LOG[Executing program as a script due to file association]LOG]!><time="12:25:28.679+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="executionengine.cpp:91">
    <![LOG[Successfully prepared Command Line "C:\WINDOWS\System32\WScript.exe" "C:\WINDOWS\ccmcache\10\install.vbs"]LOG]!><time="12:25:28.680+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="fileassocexecution.cpp:316">
    <![LOG[Command line = "C:\WINDOWS\System32\WScript.exe" "C:\WINDOWS\ccmcache\10\install.vbs", Working Directory = C:\WINDOWS\ccmcache\10\]LOG]!><time="12:25:28.680+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="scriptexecution.cpp:352">
    <![LOG[Created Process for the passed command line]LOG]!><time="12:25:28.696+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="scriptexecution.cpp:513">
    <![LOG[Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramStartedEvent
    {
    AdvertisementId = "AWI20656";
    ClientID = "GUID:91d58dce-0160-4bf6-a33d-d396bd6eb6e0";
    CommandLine = "\"C:\\WINDOWS\\System32\\WScript.exe\" \"C:\\WINDOWS\\ccmcache\\10\\install.vbs\"";
    DateTime = "20151103172528.699000+000";
    MachineName = "NLVADC-DT";
    PackageName = "AWI000C5";
    ProcessID = 3592;
    ProgramName = "Per-system unattended";
    SiteCode = "AWI";
    ThreadID = 4040;
    UserContext = "NT AUTHORITY\\SYSTEM";
    WorkingDirectory = "C:\\WINDOWS\\ccmcache\\10\\";
    };
    ]LOG]!><time="12:25:28.701+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="event.cpp:715">
    <![LOG[Raised Program Started Event for Ad:AWI20656, Package:AWI000C5, Program: Per-system unattended]LOG]!><time="12:25:28.702+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="executioncontext.cpp:459">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="AWI000C5",ProgramID="Per-system unattended", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="12:25:28.703+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="event.cpp:405">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="AWI000C5",ProgramID="Per-system unattended", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="12:25:28.709+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="event.cpp:405">
    <![LOG[MTC task with id {3969BFC3-0C4A-4A43-9728-1044332E2EE2}, changed state from 4 to 5]LOG]!><time="12:25:28.716+300" date="11-03-2015" component="execmgr" context="" type="1" thread="4040" file="execreqmgr.cpp:6288">
    <![LOG[Program exit code -2146233079]LOG]!><time="12:26:01.741+300" date="11-03-2015" component="execmgr" context="" type="1" thread="3808" file="scriptexecution.cpp:676">
    <![LOG[Looking for MIF file to get program status]LOG]!><time="12:26:01.741+300" date="11-03-2015" component="execmgr" context="" type="1" thread="3808" file="executionstatus.cpp:282">
    <![LOG[Script for Package:AWI000C5, Program: Per-system unattended failed with exit code 2148734217]LOG]!><time="12:26:01.743+300" date="11-03-2015" component="execmgr" context="" type="3" thread="3808" file="executionstatus.cpp:252">
    <![LOG[Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramErrorEvent
    {
    AdvertisementId = "AWI20656";
    ClientID = "GUID:91d58dce-0160-4bf6-a33d-d396bd6eb6e0";
    DateTime = "20151103172601.746000+000";
    ExitCode = "-2146233079";
    MachineName = "NLVADC-DT";
    PackageName = "AWI000C5";
    ProcessID = 3592;
    ProgramName = "Per-system unattended";
    SiteCode = "AWI";
    ThreadID = 3808;
    UserContext = "NT AUTHORITY\\SYSTEM";
    };
    ]LOG]!><time="12:26:01.751+300" date="11-03-2015" component="execmgr" context="" type="1" thread="3808" file="event.cpp:715">
    <![LOG[Raised Program Error Event for Ad:AWI20656, Package:AWI000C5, Program: Per-system unattended]LOG]!><time="12:26:01.758+300" date="11-03-2015" component="execmgr" context="" type="1" thread="3808" file="executioncontext.cpp:572">
    <![LOG[Execution is complete for program Per-system unattended. The exit code is -2146233079, the execution status is FailureNonRetry]LOG]!><time="12:26:01.772+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="execreqmgr.cpp:4165">
    <![LOG[Requesting MTC to delete task with id: {3969BFC3-0C4A-4A43-9728-1044332E2EE2}]LOG]!><time="12:26:01.805+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="executionrequest.cpp:9054">
    <![LOG[MTC task with id: {3969BFC3-0C4A-4A43-9728-1044332E2EE2} deleted successfully.]LOG]!><time="12:26:01.806+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="executionrequest.cpp:9083">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="AWI000C5",ProgramID="Per-system unattended", actionType 10l, value Result:FALSE, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="12:26:01.811+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="event.cpp:405">
    <![LOG[Requesting MTC to delete task with id: {3969BFC3-0C4A-4A43-9728-1044332E2EE2}]LOG]!><time="12:26:01.818+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="executionrequest.cpp:9054">
    <![LOG[This execution request does not have a corresponding task in MTC.]LOG]!><time="12:26:01.818+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="executionrequest.cpp:9072">
    <![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="AWI000C5",ProgramID="Per-system unattended", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="12:26:01.820+300" date="11-03-2015" component="execmgr" context="" type="1" thread="5088" file="event.cpp:405">
    Tuesday, November 3, 2015 7:16 PM

All replies

  • From the log above: "Execution is complete for program Per-system unattended. The exit code is -2146233079, the execution status is FailureNonRetry"

    This exit code is being returned by whatever command-line that you have configured (the vbscript). You'll have to troubleshoot and debug your script.


    Jason | http://blog.configmgrftw.com | @jasonsandys

    Tuesday, November 3, 2015 7:30 PM
  • Have you verified that the install.vbs is working "outside" of ConfigMgr? Meaning that you run it on a machine from a command prompt. If you put cscript.exe in front of "install.vbs" it will show you what's not working in your script including the line number. If you could share your script, we could take a look.

    Nickolaj Andersen | www.scconfigmgr.com | @NickolajA

    Tuesday, November 3, 2015 8:21 PM
  • Thank you Jason!!
    Wednesday, November 4, 2015 1:15 PM
  • When verified script "outside" SCCM, did you test the script when running with SYSTEM account?

    Wednesday, November 4, 2015 1:34 PM
  • yes Pete..

    Wednesday, November 4, 2015 2:03 PM
  • Just WOW! :)

    May I ask what the end goal with that script is? It seems terribly complex for installing something.


    Nickolaj Andersen | www.scconfigmgr.com | @NickolajA

    Wednesday, November 4, 2015 2:07 PM
  • I agree with NickolaJ, the first thing I would do is ditch the script.

    Keep things as simple as they need to be.

    What documentation does the vendor provide on how to install their software?

    it's probably going to be a simple one liner.



    Wednesday, November 4, 2015 2:38 PM
  • Hi

    We created a program in SCCM, by calling SQL Express edition.exe file with the switches "/QUIETSIMPLE /ACTION=INSTALL /FEATURES=Tools /IACCEPTSQLSERVERLICENSETERMS". However experiencing the same error. Any idea to resolve this?

    Thursday, November 5, 2015 4:00 PM