none
Execmgr.log error: CreateProcess or CreateProcessAsUser failed to execute command line with recoverable error 267

    Question

  • Hello,

    I hope that there is someone who can help me with the following...

    I've created a VB Script which automatically creates the following in SCCM:
    - a Package.
    - a Program.
    - a Task Sequence with an Install Software Action and the Install Multiple Applications options enabled.
    - a Task Sequence Advertisement.

    In the Collection I created Collection Variables.

    When the Task Sequence runs on the client, it will not correctly install the application (VisioViewer).
    In the Execmgr.log the following error occurs:

    <![LOG[Executing program as a MSI script]LOG]!><time="11:56:14.811+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="executionengine.cpp:121">
    <![LOG[Valid MSI Package path = D:\_SMSTaskSequence\Packages\034000C7\VVIEWER.MSI]LOG]!><time="11:56:14.811+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="msiexecution.cpp:312">
    <![LOG[Found executable file msiexec.exe with complete path C:\WINDOWS\system32\msiexec.exe]LOG]!><time="11:56:14.811+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="execengnutility.cpp:264">
    <![LOG[Successfully prepared command line "C:\WINDOWS\system32\msiexec.exe" ALLUSERS=2 REBOOT=ReallySuppress /qb-! /i "VVIEWER.MSI"]LOG]!><time="11:56:14.811+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="scriptexecution.cpp:523">
    <![LOG[Current MSI script is an installation script]LOG]!><time="11:56:14.811+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="msiscriptexecution.cpp:132">
    <![LOG[Advertising MSI package D:\_SMSTaskSequence\Packages\034000C7\VVIEWER.MSI to user]LOG]!><time="11:56:14.811+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="msiexecution.cpp:116">
    <![LOG[Command line = "C:\WINDOWS\system32\msiexec.exe" ALLUSERS=2 REBOOT=ReallySuppress /qb-! /i "VVIEWER.MSI", Working Directory = D:\_SMSTaskSequence\Packages\034000C7\ \]LOG]!><time="11:56:16.098+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="scriptexecution.cpp:284">
    <![LOG[CreateProcess or CreateProcessAsUser failed to execute command line with recoverable error 267]LOG]!><time="11:56:16.098+-120" date="05-11-2009" component="execmgr" context="" type="3" thread="844" file="scriptexecution.cpp:424">
    <![LOG[Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistWarningProgramUnableToExecuteEvent
    {
     AdvertisementId = "SMS10000";
     ClientID = "GUID:5AD18E76-87F4-4926-BE6F-A02644E7B6D0";
     CommandLine = "\"C:\\WINDOWS\\system32\\msiexec.exe\" ALLUSERS=2 REBOOT=ReallySuppress /qb-! /i \"VVIEWER.MSI\"";
     DateTime = "20090511095616.160000+000";
     MachineName = "XP-TEST";
     PackageName = "034000C7";
     ProcessID = 120;
     ProgramName = "Install";
     SiteCode = "034";
     ThreadID = 844;
     Win32ErrorCode = 2147942667;
     WorkingDirectory = "D:\\_SMSTaskSequence\\Packages\\034000C7\\ \\";
    };
    ]LOG]!><time="11:56:16.160+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="event.cpp:525">
    <![LOG[Raised Warning Program Unable to Execute Event for Ad:SMS10000, Package:034000C7, Program: Install]LOG]!><time="11:56:16.160+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="executioncontext.cpp:820">
    <![LOG[EnterRsRuningState failed to run script msiexec.exe ALLUSERS=2 REBOOT=ReallySuppress /qb-! /i "VVIEWER.MSI" 0x80008100]LOG]!><time="11:56:16.160+-120" date="05-11-2009" component="execmgr" context="" type="2" thread="844" file="executionrequest.cpp:3318">
    <![LOG[CreateMandatoryRequestRecursively Install failed at EvaluateRequestForExecution]LOG]!><time="11:56:16.191+-120" date="05-11-2009" component="execmgr" context="" type="2" thread="844" file="execreqmgr.cpp:3765">
    <![LOG[Policy deleted for advertisement SMS10000 package 034000C7 program Install]LOG]!><time="11:56:24.502+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="execreqmgr.cpp:6519">
    <![LOG[Mandatory execution requested for program * and advertisement 0342006C]LOG]!><time="12:07:27.767+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="3936" file="execreqmgr.cpp:3317">
    <![LOG[Creating mandatory request for advert 0342006C, program *, package 034000C6]LOG]!><time="12:07:27.767+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="3936" file="execreqmgr.cpp:3440">
    <![LOG[Policy is updated for Program: *, Package: 034000C6, Advert: 0342006C]LOG]!><time="12:07:27.829+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="3960" file="execreqmgr.cpp:6706">
    <![LOG[The created request is a Task Sequence request]LOG]!><time="12:07:27.860+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="3936" file="execreqmgr.cpp:979">
    <![LOG[Execution Request for package 034000C6 program * state change from NotExist to WaitingDependency]LOG]!><time="12:07:28.125+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="3936" file="executionrequest.cpp:488">
    <![LOG[CExecutionRequest::Service Windows Manager has allowed us to run.]LOG]!><time="12:07:28.125+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="3936" file="executionrequest.cpp:3071">
    <![LOG[Executing program  in Admin context]LOG]!><time="12:07:28.125+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="3936" file="executionrequest.cpp:3277">


    I see that the Working Directory variable contains a extra Backslash ..???
    thus: "Working Directory = D:\_SMSTaskSequence\Packages\034000C7\ \


    In the SMSTs.Log the following is logged:

    <![LOG[Downloading content for SMS Package 034000C7 successful]LOG]!><time="11:54:44.708+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="3024" file="dsutils.cpp:901">
    <![LOG[SoftDist paused cookie = 8423]LOG]!><time="11:54:44.708+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="3024" file="installsoftware.cpp:181">
    <![LOG[SMS PkgID '034000C7' resolved to location 'D:\_SMSTaskSequence\Packages\034000C7']LOG]!><time="11:54:44.708+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="3024" file="installsoftware.cpp:145">
    <![LOG[Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace]LOG]!><time="11:54:44.755+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="3024" file="utils.cpp:2224">
    <![LOG[waiting for local policy to take effect]LOG]!><time="11:54:44.817+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="3024" file="policyutil.cpp:7720">
    <![LOG[Policy evaluation initiated]LOG]!><time="11:56:14.129+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="3024" file="utils.cpp:3229">
    <![LOG[Waiting for policy to be compiled in 'root\ccm\policy\machine' namespace ]LOG]!><time="11:56:14.129+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="3024" file="installsoftware.cpp:401">
    <![LOG[Verified policy is compiled in 'root\ccm\policy\machine' namespace]LOG]!><time="11:56:14.144+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="3024" file="installsoftware.cpp:457">
    <![LOG[Failed to invoke Execution Manager to Install Software for PackageID='034000C7' ProgramID='Install' AdvertID='SMS10000' hr=0x80004005]LOG]!><time="11:56:16.191+-120" date="05-11-2009" component="InstallSoftware" context="" type="3" thread="3024" file="installsoftware.cpp:282">
    <![LOG[InstallSoftware failed, hr=0x80004005]LOG]!><time="11:56:16.191+-120" date="05-11-2009" component="InstallSoftware" context="" type="3" thread="3024" file="installsoftware.cpp:293">
    <![LOG[Step 2 out of 2 complete]LOG]!><time="11:56:16.641+-120" date="05-11-2009" component="InstallSoftware" context="" type="0" thread="3024" file="dsprogress.cpp:226">
    <![LOG[Install Dynamic software action failed to install packageID: '034000C7', programID: 'Install'. Error Code 0x80004005]LOG]!><time="11:56:16.641+-120" date="05-11-2009" component="InstallSoftware" context="" type="3" thread="3024" file="dsinstaller.cpp:324">
    <![LOG[Sending error status message]LOG]!><time="11:56:16.641+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="3024" file="dsinstaller.cpp:328">
    <![LOG[Formatted header:]LOG]!><time="11:56:16.749+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="3024" file="libsmsmessaging.cpp:1500">
    <![LOG[<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:5AD18E76-87F4-4926-BE6F-A02644E7B6D0</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2009-05-11T09:56:16Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="1812"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
    ]LOG]!><time="11:56:16.749+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="3024" file="libsmsmessaging.cpp:1501">
    <![LOG[Successfully sent status messgae for installation of"Install"]LOG]!><time="11:56:16.811+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="3024" file="dsutils.cpp:979">
    <![LOG[Process completed with exit code 0]LOG]!><time="11:56:16.842+-120" date="05-11-2009" component="TSManager" context="" type="1" thread="2964" file="commandline.cpp:1102">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="11:56:16.842+-120" date="05-11-2009" component="TSManager" context="" type="1" thread="2964" file="instruction.cxx:3010">


    I've tried other applications, which are also automatically created, but they show the same problem.


    When I change the program's Comment Field, Update the Distribution Point and Re-Advertise the Task Sequence, then the application will install correctly!!!

    EXECMGR.LOG:

    <![LOG[Executing program as a MSI script]LOG]!><time="12:09:09.020+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="executionengine.cpp:121">
    <![LOG[Valid MSI Package path = D:\_SMSTaskSequence\Packages\034000C7\VVIEWER.MSI]LOG]!><time="12:09:09.020+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="msiexecution.cpp:312">
    <![LOG[Found executable file msiexec.exe with complete path C:\WINDOWS\system32\msiexec.exe]LOG]!><time="12:09:09.020+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="execengnutility.cpp:264">
    <![LOG[Successfully prepared command line "C:\WINDOWS\system32\msiexec.exe" ALLUSERS=2 REBOOT=ReallySuppress /qb-! /i "VVIEWER.MSI"]LOG]!><time="12:09:09.020+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="scriptexecution.cpp:523">
    <![LOG[Current MSI script is an installation script]LOG]!><time="12:09:09.020+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="msiscriptexecution.cpp:132">
    <![LOG[Advertising MSI package D:\_SMSTaskSequence\Packages\034000C7\VVIEWER.MSI to user]LOG]!><time="12:09:09.020+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="msiexecution.cpp:116">
    <![LOG[Command line = "C:\WINDOWS\system32\msiexec.exe" ALLUSERS=2 REBOOT=ReallySuppress /qb-! /i "VVIEWER.MSI", Working Directory = D:\_SMSTaskSequence\Packages\034000C7\]LOG]!><time="12:09:10.173+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="scriptexecution.cpp:284">
    <![LOG[Created Process for the passed command line]LOG]!><time="12:09:10.173+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="scriptexecution.cpp:407">
    <![LOG[Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramStartedEvent
    {
     AdvertisementId = "SMS10000";
     ClientID = "GUID:5AD18E76-87F4-4926-BE6F-A02644E7B6D0";
     CommandLine = "\"C:\\WINDOWS\\system32\\msiexec.exe\" ALLUSERS=2 REBOOT=ReallySuppress /qb-! /i \"VVIEWER.MSI\"";
     DateTime = "20090511100910.266000+000";
     MachineName = "XP-TEST";
     PackageName = "034000C7";
     ProcessID = 120;
     ProgramName = "Install";
     SiteCode = "034";
     ThreadID = 844;
     UserContext = "NT AUTHORITY\\SYSTEM";
     WorkingDirectory = "D:\\_SMSTaskSequence\\Packages\\034000C7\\";
    };
    ]LOG]!><time="12:09:10.313+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="event.cpp:525">
    <![LOG[Raised Program Started Event for Ad:SMS10000, Package:034000C7, Program: Install]LOG]!><time="12:09:10.329+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="executioncontext.cpp:523">
    <![LOG[Program exit code 0]LOG]!><time="12:09:27.500+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="3936" file="scriptexecution.cpp:547">
    <![LOG[Looking for MIF file to get program status]LOG]!><time="12:09:27.500+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="3936" file="executionstatus.cpp:282">
    <![LOG[Script for  Package:034000C7, Program: Install succeeded with exit code 0]LOG]!><time="12:09:27.500+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="3936" file="executionstatus.cpp:259">
    <![LOG[Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramCompletedSuccessfullyEvent
    {
     AdvertisementId = "SMS10000";
     ClientID = "GUID:5AD18E76-87F4-4926-BE6F-A02644E7B6D0";
     DateTime = "20090511100927.500000+000";
     MachineName = "XP-TEST";
     PackageName = "034000C7";
     ProcessID = 120;
     ProgramName = "Install";
     SiteCode = "034";
     ThreadID = 3936;
     UserContext = "NT AUTHORITY\\SYSTEM";
    };
    ]LOG]!><time="12:09:27.516+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="3936" file="event.cpp:525">
    <![LOG[Raised Program Success Event for Ad:SMS10000, Package:034000C7, Program: Install]LOG]!><time="12:09:27.516+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="3936" file="executioncontext.cpp:551">
    <![LOG[Execution is complete for program Install. The exit code is 0, the execution status is Success]LOG]!><time="12:09:27.516+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="2404" file="execreqmgr.cpp:3908">
    <![LOG[Execution Request for package 034000C7 program Install state change from Running to Completed]LOG]!><time="12:09:27.781+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="2404" file="executionrequest.cpp:488">
    <![LOG[Policy deleted for advertisement SMS10000 package 034000C7 program Install]LOG]!><time="12:09:35.743+-120" date="05-11-2009" component="execmgr" context="" type="1" thread="844" file="execreqmgr.cpp:6519">


    SMSTS.LOG:

    <![LOG[Downloading content for SMS Package 034000C7 successful]LOG]!><time="12:07:38.576+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="dsutils.cpp:901">
    <![LOG[SoftDist paused cookie = 10960]LOG]!><time="12:07:38.576+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="installsoftware.cpp:181">
    <![LOG[SMS PkgID '034000C7' resolved to location 'D:\_SMSTaskSequence\Packages\034000C7']LOG]!><time="12:07:38.576+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="installsoftware.cpp:145">
    <![LOG[Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace]LOG]!><time="12:07:38.607+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="utils.cpp:2224">
    <![LOG[waiting for local policy to take effect]LOG]!><time="12:07:38.623+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="policyutil.cpp:7720">
    <![LOG[Policy evaluation initiated]LOG]!><time="12:09:08.350+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="utils.cpp:3229">
    <![LOG[Waiting for policy to be compiled in 'root\ccm\policy\machine' namespace ]LOG]!><time="12:09:08.350+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="installsoftware.cpp:401">
    <![LOG[Verified policy is compiled in 'root\ccm\policy\machine' namespace]LOG]!><time="12:09:08.365+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="installsoftware.cpp:457">
    <![LOG[Installing software for PackageID='034000C7' ProgramID='Install' AdvertID='SMS10000' has started, jobID='{DF983D29-9766-40DC-87F1-37E5B9078317}']LOG]!><time="12:09:10.391+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="installsoftware.cpp:286">
    <![LOG[Waiting for installation job to complete..]LOG]!><time="12:09:10.391+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="installsoftware.cpp:839">
    <![LOG[Received job completion notification from Execution Manager]LOG]!><time="12:09:27.609+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="installsoftware.cpp:889">
    <![LOG[Installation completed with exit code 0x00000000]LOG]!><time="12:09:27.609+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="installsoftware.cpp:906">
    <![LOG[Install successful]LOG]!><time="12:09:27.609+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="installsoftware.cpp:912">
    <![LOG[Releasing of Job Request successful]LOG]!><time="12:09:27.812+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="installsoftware.cpp:366">
    <![LOG[Step 2 out of 2 complete]LOG]!><time="12:09:28.108+-120" date="05-11-2009" component="InstallSoftware" context="" type="0" thread="2360" file="dsprogress.cpp:226">
    <![LOG[Install Dynamic software action completed successfully. Code 0x00000000]LOG]!><time="12:09:28.108+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="dsinstaller.cpp:353">
    <![LOG[Sending success status message]LOG]!><time="12:09:28.124+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="dsinstaller.cpp:357">
    <![LOG[Formatted header:]LOG]!><time="12:09:28.155+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="libsmsmessaging.cpp:1500">
    <![LOG[<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:5AD18E76-87F4-4926-BE6F-A02644E7B6D0</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2009-05-11T10:09:28Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="1802"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
    ]LOG]!><time="12:09:28.155+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="libsmsmessaging.cpp:1501">
    <![LOG[Successfully sent status messgae for installation of"Install"]LOG]!><time="12:09:28.248+-120" date="05-11-2009" component="InstallSoftware" context="" type="1" thread="2360" file="dsutils.cpp:979">
    <![LOG[Process completed with exit code 0]LOG]!><time="12:09:28.248+-120" date="05-11-2009" component="TSManager" context="" type="1" thread="788" file="commandline.cpp:1102">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="12:09:28.264+-120" date="05-11-2009" component="TSManager" context="" type="1" thread="788" file="instruction.cxx:3010">

    So I think that it has to do something with the configuration of the Program, but when I read the Program's properties (with SDK scripting) and compare it with another Package's Program (which is also VisioViewer) it works with Install Software action in a Task Sequence) I do not see any differences between the two Program's Properties.


    Program properties are:
    - Whether or not a user is logged on
    - Allow this program to be installed from the Install Software Task Sequence whitout being advertised.
    - Runs on Windows XP

    Some Install Software Task Sequence Properties:
    - Install Multiple applications
    - If an application fails continue installing other applications in the list.

    TS Advertisement properties:
    - Mandatory.
    - Download content locally when needed by running Task Sequence.

    Thanks in advance!

    Sven van Dijck

    Monday, May 11, 2009 11:35 AM

Answers

  • I found my problem...

    During creation of the program I read a package configuration file and also the WorkingDirectory property. In my situation the WorkingDirectory property was empty. (If not set, SCCM will generate this value later).

    But this caused the error:

    CreateProcess or CreateProcessAsUser failed to execute command line with recoverable error 267

    Tuesday, May 12, 2009 7:27 AM

All replies

  • It's difficult to find the cause in that special case. It must have something to do with the working directory ' WorkingDirectory = "D:\\_SMSTaskSequence\\Packages\\034000C7\\"; ' and the backslashes. Error 267 also translates to "The directory name is invalid."
    Monday, May 11, 2009 11:58 AM
  • Torsten,

    Thank you for your quick reply!
    You're right! Error 267 has to do with an invalid directory name, as I thought.
    Now it's the question... what causes an invalid Working Directory? I do not set this Program property in my VB script.

    When I advertise automatically created package on the conventional way, it also gives the same error in the execmgr.log file.

    The strange thing is that the Working Directory will be filled in by SCCM itself (during execution ??). But unfortunately that value is wrong...
    Monday, May 11, 2009 7:20 PM
  • I found my problem...

    During creation of the program I read a package configuration file and also the WorkingDirectory property. In my situation the WorkingDirectory property was empty. (If not set, SCCM will generate this value later).

    But this caused the error:

    CreateProcess or CreateProcessAsUser failed to execute command line with recoverable error 267

    Tuesday, May 12, 2009 7:27 AM