Task Sequence question

PerserPolis-1732 1,971 Reputation points
2022-01-31T15:08:54.887+00:00

Hi,

I have a question about run command in the TS. I wanna to run a command line like

Setup.exe /S: /SERVICE: /BOOT:

The file exe is located on the following directory

C:\SSR\SSR64

How can I run that command line "Setup.exe /S: /SERVICE: /BOOT: " in TS?

any Idea?

Regards

Microsoft Security | Intune | Configuration Manager | Application
0 comments No comments
{count} votes

Answer accepted by question author
  1. AllenLiu-MSFT 49,436 Reputation points Microsoft External Staff
    2022-02-01T06:16:23.753+00:00

    Hi, @PerserPolis-1732

    Thank you for posting in Microsoft Q&A forum.

    You may specify the path "C:\SSR\SSR64" in "Start in":

    170122-1.png

    And note, SCCM excute the command line with system account, we may test it manually with PsExec.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. PerserPolis-1732 1,971 Reputation points
    2022-01-31T15:51:18.15+00:00

    here my steps

    169870-ts1.png

    169888-ts2.png

    169923-ts3.png

    If run the command line Setup.exe /S: /SERVICE: /BOOT: manually, it is working

    in the smsts log file

    The execution of the group (Copy Folder and Files to the remote Computers) has failed and the execution has been aborted. An action failed. Error 0x80004004Showing task sequence error message after failure in task sequence step of type 'SMS_TaskSequence_RunCommandLineAction'
    Task Sequence Engine failed! Code: enExecutionFail
    Task sequence execution failed with error code 80004005
    Error executing Task Sequence Manager service. Code 0x80004005

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.