leo815
Member
- Messages
- 20
- Solutions
- 2
- Reaction score
- 1
- Points
- 3
Hi,
I have the following command not getting executed via task sequence:
C:\Tools\Solvers\hwSolvers2022.3_win64.exe –i silent –f "C:\Tools\Solvers\hw2022.3_installer.properties” -DACCEPT_EULA=YES
The files are copied to C:\Tools in an earlier step in the task sequence. The command above has been confirmed by the vendor for this software installation and works fine when I manually run it on the endpoint. Below is the screenshot of the Installing Solvers 2022.3 sequence that's failing.
It has been tried to be executed with admin account as well but still failing.
Attaching the logs as well so any assistance would be appreciated. Thanks

<![LOG[Expand a string: WinPEandFullOS]LOG]!><time="08:50:52.128-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="executionenv.cxx:768">
<![LOG[Executing command line: smsswd.exe /run: C:\Tools\Solvers\hwSolvers2022.3_win64.exe –i silent –f "C:\Tools\Solvers\hw2022.3_installer.properties” -DACCEPT_EULA=YES with options (0, 4)]LOG]!><time="08:50:52.129-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="CommandLine.cpp:847">
<![LOG[ ================================ [ smsswd.exe ] ================================ ]LOG]!><time="08:50:52.259-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="main.cpp:290">
<![LOG[Running module version 5.0.9106.1000 from location 'C:\Windows\CCM\smsswd.exe']LOG]!><time="08:50:52.271-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="main.cpp:294">
<![LOG[PackageID = '']LOG]!><time="08:50:52.274-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="main.cpp:323">
<![LOG[BaseVar = '', ContinueOnError='']LOG]!><time="08:50:52.274-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="main.cpp:324">
<![LOG[ProgramName is being logged ('OSDDoNotLogCommand' is not set to 'True')]LOG]!><time="08:50:52.275-600" date="10-30-2023" component="InstallSoftware" context="" type="2" thread="11064" file="main.cpp:333">
<![LOG[ProgramName = 'C:\Tools\Solvers\hwSolvers2022.3_win64.exe –i silent –f "C:\Tools\Solvers\hw2022.3_installer.properties” -DACCEPT_EULA=YES']LOG]!><time="08:50:52.275-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="main.cpp:334">
<![LOG[SwdAction = '0001']LOG]!><time="08:50:52.275-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="main.cpp:337">
<![LOG[Getting linked token]LOG]!><time="08:50:52.382-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="runcommandline.cpp:236">
<![LOG[Will run Command Line under USER account 'AU\E302527ADM']LOG]!><time="08:50:52.403-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="runcommandline.cpp:287">
<![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="08:50:52.422-600" date="10-30-2023" component="InstallSoftware" context="" type="0" thread="11064" file="CommandLine.cpp:229">
<![LOG[Set command line: Run command line]LOG]!><time="08:50:52.422-600" date="10-30-2023" component="InstallSoftware" context="" type="0" thread="11064" file="CommandLine.cpp:747">
<![LOG[Working dir 'not set']LOG]!><time="08:50:52.422-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="runcommandline.cpp:452">
<![LOG[Executing command line: Run command line with options (0, 4)]LOG]!><time="08:50:52.422-600" date="10-30-2023" component="InstallSoftware" context="" type="0" thread="11064" file="CommandLine.cpp:847">
<![LOG[Create a process under given user token]LOG]!><time="08:50:52.423-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="CommandLine.cpp:1060">
<![LOG[Process completed with exit code 1001]LOG]!><time="08:55:25.039-600" date="10-30-2023" component="InstallSoftware" context="" type="0" thread="11064" file="CommandLine.cpp:1161">
<![LOG[Command line is being logged ('OSDDoNotLogCommand' is not set to 'True')]LOG]!><time="08:55:25.040-600" date="10-30-2023" component="InstallSoftware" context="" type="2" thread="11064" file="runcommandline.cpp:478">
<![LOG[Command line C:\Tools\Solvers\hwSolvers2022.3_win64.exe –i silent –f "C:\Tools\Solvers\hw2022.3_installer.properties” -DACCEPT_EULA=YES returned 1001]LOG]!><time="08:55:25.040-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="runcommandline.cpp:479">
<![LOG[Process completed with exit code 1001]LOG]!><time="08:55:25.058-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="CommandLine.cpp:1161">
<![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="08:55:25.059-600" date="10-30-2023" component="TSManager" context="" type="1" thread="8912" file="instruction.cxx:809">
<![LOG[Failed to run the action: Installing Solvers 2022.3. Error 1001]LOG]!><time="08:55:25.059-600" date="10-30-2023" component="TSManager" context="" type="3" thread="8912" file="instruction.cxx:915">
<![LOG[Not in SSL.]LOG]!><time="08:55:25.633-600" date="10-30-2023" component="TSManager" context="" type="1" thread="8912" file="libsmsmessaging.cpp:10100">
<![LOG[Set a global environment variable _SMSTSLastActionRetCode=1001]LOG]!><time="08:55:25.739-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="executionenv.cxx:636">
<![LOG[Set a global environment variable _SMSTSLastActionName=Installing Solvers 2022.3]LOG]!><time="08:55:25.739-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="executionenv.cxx:636">
<![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="08:55:25.740-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="executionenv.cxx:636">
<![LOG[Clear local default environment]LOG]!><time="08:55:25.740-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="executionenv.cxx:794">
<![LOG[Failed to run the action: Installing Solvers 2022.3. Execution has been aborted]LOG]!><time="08:55:25.743-600" date="10-30-2023" component="TSManager" context="" type="3" thread="8912" file="instruction.cxx:1001">
<![LOG[Not in SSL.]LOG]!><time="08:55:25.822-600" date="10-30-2023" component="TSManager" context="" type="1" thread="8912" file="libsmsmessaging.cpp:10100">
<![LOG[Failed to run the last action: Installing Solvers 2022.3. Result 1001. Execution of task sequence failed.]LOG]!><time="08:55:25.883-600" date="10-30-2023" component="TSManager" context="" type="3" thread="8912" file="engine.cxx:1046">
<![LOG[Not in SSL.]LOG]!><time="08:55:26.073-600" date="10-30-2023" component="TSManager" context="" type="1" thread="8912" file="libsmsmessaging.cpp:10100">
<![LOG[Showing task sequence error message after failure in task sequence step of type 'SMS_TaskSequence_RunCommandLineAction']LOG]!><time="08:55:26.467-600" date="10-30-2023" component="TSManager" context="" type="2" thread="8912" file="clientui.cpp:538">
<![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="08:57:35.525-600" date="10-30-2023" component="TSManager" context="" type="3" thread="8912" file="tsmanager.cpp:1317">
<![LOG[****************************************************************************]LOG]!><time="08:57:35.536-600" date="10-30-2023" component="TSManager" context="" type="1" thread="8912" file="tsmanager.cpp:1353">
<![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="08:57:35.539-600" date="10-30-2023" component="TSManager" context="" type="3" thread="8912" file="tsmanager.cpp:1354">
<![LOG[Cleaning Up.]LOG]!><time="08:57:35.540-600" date="10-30-2023" component="TSManager" context="" type="1" thread="8912" file="tsmanager.cpp:830">
I have the following command not getting executed via task sequence:
C:\Tools\Solvers\hwSolvers2022.3_win64.exe –i silent –f "C:\Tools\Solvers\hw2022.3_installer.properties” -DACCEPT_EULA=YES
The files are copied to C:\Tools in an earlier step in the task sequence. The command above has been confirmed by the vendor for this software installation and works fine when I manually run it on the endpoint. Below is the screenshot of the Installing Solvers 2022.3 sequence that's failing.
It has been tried to be executed with admin account as well but still failing.
Attaching the logs as well so any assistance would be appreciated. Thanks

<![LOG[Expand a string: WinPEandFullOS]LOG]!><time="08:50:52.128-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="executionenv.cxx:768">
<![LOG[Executing command line: smsswd.exe /run: C:\Tools\Solvers\hwSolvers2022.3_win64.exe –i silent –f "C:\Tools\Solvers\hw2022.3_installer.properties” -DACCEPT_EULA=YES with options (0, 4)]LOG]!><time="08:50:52.129-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="CommandLine.cpp:847">
<![LOG[ ================================ [ smsswd.exe ] ================================ ]LOG]!><time="08:50:52.259-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="main.cpp:290">
<![LOG[Running module version 5.0.9106.1000 from location 'C:\Windows\CCM\smsswd.exe']LOG]!><time="08:50:52.271-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="main.cpp:294">
<![LOG[PackageID = '']LOG]!><time="08:50:52.274-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="main.cpp:323">
<![LOG[BaseVar = '', ContinueOnError='']LOG]!><time="08:50:52.274-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="main.cpp:324">
<![LOG[ProgramName is being logged ('OSDDoNotLogCommand' is not set to 'True')]LOG]!><time="08:50:52.275-600" date="10-30-2023" component="InstallSoftware" context="" type="2" thread="11064" file="main.cpp:333">
<![LOG[ProgramName = 'C:\Tools\Solvers\hwSolvers2022.3_win64.exe –i silent –f "C:\Tools\Solvers\hw2022.3_installer.properties” -DACCEPT_EULA=YES']LOG]!><time="08:50:52.275-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="main.cpp:334">
<![LOG[SwdAction = '0001']LOG]!><time="08:50:52.275-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="main.cpp:337">
<![LOG[Getting linked token]LOG]!><time="08:50:52.382-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="runcommandline.cpp:236">
<![LOG[Will run Command Line under USER account 'AU\E302527ADM']LOG]!><time="08:50:52.403-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="runcommandline.cpp:287">
<![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="08:50:52.422-600" date="10-30-2023" component="InstallSoftware" context="" type="0" thread="11064" file="CommandLine.cpp:229">
<![LOG[Set command line: Run command line]LOG]!><time="08:50:52.422-600" date="10-30-2023" component="InstallSoftware" context="" type="0" thread="11064" file="CommandLine.cpp:747">
<![LOG[Working dir 'not set']LOG]!><time="08:50:52.422-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="runcommandline.cpp:452">
<![LOG[Executing command line: Run command line with options (0, 4)]LOG]!><time="08:50:52.422-600" date="10-30-2023" component="InstallSoftware" context="" type="0" thread="11064" file="CommandLine.cpp:847">
<![LOG[Create a process under given user token]LOG]!><time="08:50:52.423-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="CommandLine.cpp:1060">
<![LOG[Process completed with exit code 1001]LOG]!><time="08:55:25.039-600" date="10-30-2023" component="InstallSoftware" context="" type="0" thread="11064" file="CommandLine.cpp:1161">
<![LOG[Command line is being logged ('OSDDoNotLogCommand' is not set to 'True')]LOG]!><time="08:55:25.040-600" date="10-30-2023" component="InstallSoftware" context="" type="2" thread="11064" file="runcommandline.cpp:478">
<![LOG[Command line C:\Tools\Solvers\hwSolvers2022.3_win64.exe –i silent –f "C:\Tools\Solvers\hw2022.3_installer.properties” -DACCEPT_EULA=YES returned 1001]LOG]!><time="08:55:25.040-600" date="10-30-2023" component="InstallSoftware" context="" type="1" thread="11064" file="runcommandline.cpp:479">
<![LOG[Process completed with exit code 1001]LOG]!><time="08:55:25.058-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="CommandLine.cpp:1161">
<![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="08:55:25.059-600" date="10-30-2023" component="TSManager" context="" type="1" thread="8912" file="instruction.cxx:809">
<![LOG[Failed to run the action: Installing Solvers 2022.3. Error 1001]LOG]!><time="08:55:25.059-600" date="10-30-2023" component="TSManager" context="" type="3" thread="8912" file="instruction.cxx:915">
<![LOG[Not in SSL.]LOG]!><time="08:55:25.633-600" date="10-30-2023" component="TSManager" context="" type="1" thread="8912" file="libsmsmessaging.cpp:10100">
<![LOG[Set a global environment variable _SMSTSLastActionRetCode=1001]LOG]!><time="08:55:25.739-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="executionenv.cxx:636">
<![LOG[Set a global environment variable _SMSTSLastActionName=Installing Solvers 2022.3]LOG]!><time="08:55:25.739-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="executionenv.cxx:636">
<![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="08:55:25.740-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="executionenv.cxx:636">
<![LOG[Clear local default environment]LOG]!><time="08:55:25.740-600" date="10-30-2023" component="TSManager" context="" type="0" thread="8912" file="executionenv.cxx:794">
<![LOG[Failed to run the action: Installing Solvers 2022.3. Execution has been aborted]LOG]!><time="08:55:25.743-600" date="10-30-2023" component="TSManager" context="" type="3" thread="8912" file="instruction.cxx:1001">
<![LOG[Not in SSL.]LOG]!><time="08:55:25.822-600" date="10-30-2023" component="TSManager" context="" type="1" thread="8912" file="libsmsmessaging.cpp:10100">
<![LOG[Failed to run the last action: Installing Solvers 2022.3. Result 1001. Execution of task sequence failed.]LOG]!><time="08:55:25.883-600" date="10-30-2023" component="TSManager" context="" type="3" thread="8912" file="engine.cxx:1046">
<![LOG[Not in SSL.]LOG]!><time="08:55:26.073-600" date="10-30-2023" component="TSManager" context="" type="1" thread="8912" file="libsmsmessaging.cpp:10100">
<![LOG[Showing task sequence error message after failure in task sequence step of type 'SMS_TaskSequence_RunCommandLineAction']LOG]!><time="08:55:26.467-600" date="10-30-2023" component="TSManager" context="" type="2" thread="8912" file="clientui.cpp:538">
<![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="08:57:35.525-600" date="10-30-2023" component="TSManager" context="" type="3" thread="8912" file="tsmanager.cpp:1317">
<![LOG[****************************************************************************]LOG]!><time="08:57:35.536-600" date="10-30-2023" component="TSManager" context="" type="1" thread="8912" file="tsmanager.cpp:1353">
<![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="08:57:35.539-600" date="10-30-2023" component="TSManager" context="" type="3" thread="8912" file="tsmanager.cpp:1354">
<![LOG[Cleaning Up.]LOG]!><time="08:57:35.540-600" date="10-30-2023" component="TSManager" context="" type="1" thread="8912" file="tsmanager.cpp:830">
Attachments
Last edited:
