none
Error (0x00000001) after installing software through a task sequence

    Question

  • hello

    I recieved an Error (0x00000001) after installing software through a task sequence, the software installed succesfully but the error popping up and the task sequence failing might cause a problem.

    Does anyone know what might cause this?
    Monday, July 06, 2009 5:26 PM

Answers

  • Error/exit code 1 = Incorrect function.

    Have you tried manually running the program using the SYSTEM account?


    Jason | http://myitforum.com/cs2/blogs/jsandys | Twitter @JasonSandys
    • Marked as answer by Gyzmo2615 Tuesday, July 07, 2009 1:54 PM
    Tuesday, July 07, 2009 3:02 AM

All replies

  • What's in execmgr.log or smts.log? It's possible that the software was installed successfully, but the install program quit with RC=1.
    Monday, July 06, 2009 5:57 PM
  • Heres my logs:

    execmgr.log:

    GetFileVersionInfoSize failed for file"\\XX\SMSPKGE$\LG100010\setup.exe, error 1813 execmgr 7/6/2009 3:13:09 PM 1768 (0x06E8)
    Executing program as a script execmgr 7/6/2009 3:13:09 PM 1768 (0x06E8)
    Successfully prepared command line "\\XX\SMSPKGE$\LG100010\setup.exe" execmgr 7/6/2009 3:13:09 PM 1768 (0x06E8)
    Command line = "\\XX\SMSPKGE$\LG100010\setup.exe", Working Directory = \\XX\SMSPKGE$\LG100010\ execmgr 7/6/2009 3:13:09 PM 1768 (0x06E8)
    Created Process for the passed command line execmgr 7/6/2009 3:13:10 PM 1768 (0x06E8)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramStartedEvent
    {
     AdvertisementId = "LG12000E";
     ClientID = "GUID:0EB87B6C-488B-4EA6-B607-FD95DDBF6415";
     CommandLine = "\"\\\\XX\\SMSPKGE$\\LG100010\\setup.exe\"";
     DateTime = "20090706201310.177000+000";
     MachineName = "XXXXXX";
     PackageName = "LG100010";
     ProcessID = 2120;
     ProgramName = "Symantec Endpoint";
     SiteCode = "LG1";
     ThreadID = 1768;
     UserContext = "NT AUTHORITY\\SYSTEM";
     WorkingDirectory = "\\\\XX\\SMSPKGE$\\LG100010\\";
    };
     execmgr 7/6/2009 3:13:10 PM 1768 (0x06E8)
    Raised Program Started Event for Ad:LG12000E, Package:LG100010, Program: Symantec Endpoint execmgr 7/6/2009 3:13:10 PM 1768 (0x06E8)
    Execution Manager timer has been fired. execmgr 7/6/2009 3:18:45 PM 3216 (0x0C90)
    Program exit code 1 execmgr 7/6/2009 3:20:20 PM 3216 (0x0C90)
    Looking for MIF file to get program status execmgr 7/6/2009 3:20:20 PM 3216 (0x0C90)
    Script for Package:LG100010, Program: Symantec Endpoint failed with exit code 1 execmgr 7/6/2009 3:20:20 PM 3216 (0x0C90)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramErrorEvent
    {
     AdvertisementId = "LG12000E";
     ClientID = "GUID:0EB87B6C-488B-4EA6-B607-FD95DDBF6415";
     DateTime = "20090706202020.650000+000";
     ExitCode = "1";
     MachineName = "XXXXXXX";
     PackageName = "LG100010";
     ProcessID = 2120;
     ProgramName = "Symantec Endpoint";
     SiteCode = "LG1";
     ThreadID = 3216;
     UserContext = "NT AUTHORITY\\SYSTEM";
    };
     execmgr 7/6/2009 3:20:20 PM 3216 (0x0C90)
    Raised Program Error Event for Ad:LG12000E, Package:LG100010, Program: Symantec Endpoint execmgr 7/6/2009 3:20:20 PM 3216 (0x0C90)
    Execution is complete for program Symantec Endpoint. The exit code is 1, the execution status is FailureNonRetry execmgr 7/6/2009 3:20:20 PM 3216 (0x0C90)
    Execution Request for package LG100010 program Symantec Endpoint state change from Running to Completed execmgr 7/6/2009 3:20:21 PM 3216 (0x0C90)
    Policy is updated for Program: Symantec Endpoint, Package: LG100010, Advert: LG12000E execmgr 7/6/2009 3:20:56 PM 1584 (0x0630)


    smts.log:

    Received job completion notification from Execution Manager InstallSoftware 7/6/2009 3:20:20 PM 3912 (0x0F48)
    Installation completed with exit code 0x00000001 InstallSoftware 7/6/2009 3:20:20 PM 3912 (0x0F48)
    Installation failed with error (0x00000001) InstallSoftware 7/6/2009 3:20:20 PM 3912 (0x0F48)
    Releasing of Job Request successful InstallSoftware 7/6/2009 3:20:21 PM 3912 (0x0F48)
    Process completed with exit code 1 TSManager 7/6/2009 3:20:22 PM 3684 (0x0E64)
    !--------------------------------------------------------------------------------------------! TSManager 7/6/2009 3:20:22 PM 3684 (0x0E64)
    Failed to run the action: Install SEP.
    Incorrect function. (Error: 00000001; Source: Windows) TSManager 7/6/2009 3:20:22 PM 3684 (0x0E64)
    Sending status message . . . TSManager 7/6/2009 3:20:22 PM 3684 (0x0E64)
    Send a task execution status message SMS_TSExecution_ActionFailError TSManager 7/6/2009 3:20:22 PM 3684 (0x0E64)
    Formatted header: TSManager 7/6/2009 3:20:22 PM 3684 (0x0E64)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:0EB87B6C-488B-4EA6-B607-FD95DDBF6415</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2009-07-06T20:20:22Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="4146"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
     TSManager 7/6/2009 3:20:22 PM 3684 (0x0E64)
    Set a global environment variable _SMSTSLastActionRetCode=1 TSManager 7/6/2009 3:20:22 PM 3684 (0x0E64)
    Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 7/6/2009 3:20:22 PM 3684 (0x0E64)
    Clear local default environment TSManager 7/6/2009 3:20:22 PM 3684 (0x0E64)
    Failed to run the action: Install SEP. Execution has been aborted TSManager 7/6/2009 3:20:28 PM 3684 (0x0E64)
    Sending status message . . . TSManager 7/6/2009 3:20:28 PM 3684 (0x0E64)
    Send a task execution status message SMS_TSExecution_ActionAbortExecutionError TSManager 7/6/2009 3:20:28 PM 3684 (0x0E64)
    Formatted header: TSManager 7/6/2009 3:20:28 PM 3684 (0x0E64)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:0EB87B6C-488B-4EA6-B607-FD95DDBF6415</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2009-07-06T20:20:28Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2142"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
     TSManager 7/6/2009 3:20:28 PM 3684 (0x0E64)
    Failed to run the last action: Install SEP. Execution of task sequence failed.
    Incorrect function. (Error: 00000001; Source: Windows) TSManager 7/6/2009 3:20:28 PM 3684 (0x0E64)
    Sending status message . . . TSManager 7/6/2009 3:20:28 PM 3684 (0x0E64)
    Send a task execution status message SMS_TSExecution_TaskSequenceFailError TSManager 7/6/2009 3:20:28 PM 3684 (0x0E64)
    Formatted header: TSManager 7/6/2009 3:20:28 PM 3684 (0x0E64)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:0EB87B6C-488B-4EA6-B607-FD95DDBF6415</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2009-07-06T20:20:28Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2096"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
     TSManager 7/6/2009 3:20:28 PM 3684 (0x0E64)
    Task Sequence Engine failed! Code: enExecutionFail TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    **************************************************************************** TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    Task sequence execution failed with error code 80004005 TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    Cleaning Up. Removing Authenticator TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    Cleaning up task sequence folder TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    File "C:\_SMSTaskSequence\TSEnv.dat" does not exist. (Code 0x80070002) TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    Successfully unregistered Task Sequencing Environment COM Interface. TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    Executing command line: "C:\WINDOWS\system32\CCM\TsProgressUI.exe" /Unregister TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    ==========[ TsProgressUI started in process 4704 ]========== TsProgressUI 7/6/2009 3:20:50 PM 4692 (0x1254)
    Unregistering COM classes TsProgressUI 7/6/2009 3:20:50 PM 4692 (0x1254)
    Shutdown complete. TsProgressUI 7/6/2009 3:20:50 PM 4692 (0x1254)
    Process completed with exit code 0 TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    Successfully unregistered TS Progress UI. TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    Policy cleanup done TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    Error executing Task Sequence Manager service. Code 0x80004005 TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    Sending error status message TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    Formatted header: TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:0EB87B6C-488B-4EA6-B607-FD95DDBF6415</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2009-07-06T20:20:50Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="1170"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
     TSManager 7/6/2009 3:20:50 PM 3684 (0x0E64)
    Successfully finalized logs to SMS client log directory from C:\WINDOWS\system32\CCM\Logs TSManager 7/6/2009 3:20:51 PM 3684 (0x0E64)
    Resuming SMS Components TSManager 7/6/2009 3:20:51 PM 3684 (0x0E64)
    Waiting for CcmExec service to be fully operational TSManager 7/6/2009 3:20:51 PM 3684 (0x0E64)
    CcmExec service is up and fully operational TSManager 7/6/2009 3:20:51 PM 3684 (0x0E64)
    Resume for CCM component SoftwareDistribution requested TSManager 7/6/2009 3:20:51 PM 3684 (0x0E64)
    Resume for CCM component SoftwareUpdates requested TSManager 7/6/2009 3:20:51 PM 3684 (0x0E64)
    Attempting to release request using {BA91D913-9B13-49EA-AA2B-1258DD9DCBBC} TSManager 7/6/2009 3:20:51 PM 3684 (0x0E64)
    ReleaseRequest succeeded TSManager 7/6/2009 3:20:52 PM 3684 (0x0E64)
    Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\System Health Agent. Error code 0x80070002 TSManager 7/6/2009 3:20:52 PM 3684 (0x0E64)
    Stopping Task Sequence Manager service TSManager 7/6/2009 3:20:52 PM 3684 (0x0E64)


    Thank you!
    Monday, July 06, 2009 8:38 PM
  • Error/exit code 1 = Incorrect function.

    Have you tried manually running the program using the SYSTEM account?


    Jason | http://myitforum.com/cs2/blogs/jsandys | Twitter @JasonSandys
    • Marked as answer by Gyzmo2615 Tuesday, July 07, 2009 1:54 PM
    Tuesday, July 07, 2009 3:02 AM
  • Error/exit code 1 = Incorrect function.

    Have you tried manually running the program using the SYSTEM account?


    Jason | http://myitforum.com/cs2/blogs/jsandys | Twitter @JasonSandys

    I found that the way I was installing Symantec Endpoint Protection was incorrect.

    I found these instructions to be helpful:
    http://social.technet.microsoft.com/Forums/en-US/configmgrswdist/thread/58bc11d6-94a6-4fe0-b8be-ede061212f84
    Tuesday, July 07, 2009 1:55 PM
  • Solved: System error 2148073478. Incorrect function. (Error: 00000001; Source: Windows) TSManager


    Issue 1:

    System error 2148073478. Trying to map network share from Windows server 2008 or winpe or windows 8.
    I was getting similar error when I was using Task sequence for Windows 2008 OS deployment.

    Adding the following registry key to the client having system error 2148073478 resolved the issue. This will disable "Secure Negotiate" on the client.

    Solution:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
    "RequireSecureNegotiate"=dword:00000000


    Issue 2:

    In case you are using SCCM 2012 task sequence and using HP Set RebootStep Variable in a OS build task sequence, you may receive an error Incorrect Function Error:00000001 or you get the following error in the status message details error log:

    The task sequence execution engine failed executing the action (Set RebootStep Variable) in the group (Pre-requisite Tasks) with the error code 2147942561
    Action output: ... framework\core\ccmcore\path.cpp,104)
    RecursiveCreatePath(sPath.substr(0, nPos), psa), HRESULT=800700a1 (e:\nts_sccm_release\sms\framework\core\ccmcore\path.cpp,104)
    RecursiveCreatePath( sNormalizedPath, psa ), HRESULT=800700a1 (e:\nts_sccm_release\sms\framework\core\ccmcore\path.cpp,159)
    DownloadContentLocally(pszSource, sSourceDirectory, dwFlags, hUserToken, pszUserName, pszUserPassword), HRESULT=800700a1 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3331)
    TS::Utility::ResolveSource(pszPkgID, sPath, 0, hUserToken, sUserName.empty() ? NULL : sUserName.c_str(), sUserName.empty() ? NULL : sUserPassword.c_str()), HRESULT=800700a1 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\runcommandline.cpp,395)
    cmd.Execute(pszPkgID,sProgramName, dwCmdLineExitCode), HRESULT=800700a1 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,372)
    Failed to resolve the source for SMS PKGID=TES0000C, hr=0x800700a1
    Install Software failed to run command line, hr=0x800700a1. The operating system reported error 2147942561: The specified path is invalid.

    Solution:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
    "RequireSecureNegotiate"=dword:00000000


    • Edited by RAJ_N Friday, May 24, 2013 4:39 PM
    Friday, May 24, 2013 4:31 PM