Easily Find SCCM Task Sequence Continue on Error Step

Let’s check the easiest option to find continue on error step in sccm task sequence option tab. If you have a large task sequence with many groups and steps, finding specific steps can be difficult. The Search in the task sequence editor lets you locate steps in the task sequence more quickly.

The Continue on error options is common to all task sequence steps. If you checked the option inside the step, the task sequence continues if an error occurs while running the step. 

In case you use groups to combine multiple steps that share a common condition. By default, a task sequence group fails when any step or embedded group within the group fails. If you want the task sequence to continue when a step or embedded group fails, set the Continue on error option on the step or group.

Patch My PC

The other advantage of the error will not appear if a particular or multiple package content downloading fails. You configured the associated package to task sequence properties “Continue an Error”.

Is it good to enforce applications/packages installation with Continue an Error? Configuring the option doesn’t mean you are forcing the installation to skip.

It’s sometimes important after several rounds of testing to be added in case you have a large task sequence with many steps, and you don’t want for a particular step once in a while the complete task sequence gets fail.

Find SCCM Task Sequence Continue on Error Step

Let’s see the following steps to find Continue on Error Step in SCCM Task Sequence Options Tab–

  • Launch Configuration Manager console, go to the Software Library workspace, expand Operating Systems, and select the Task Sequences node.
  • In the Task Sequence list, select the task sequence that you want to edit. Select Edit to modify
SCCM Task Sequence - Edit | Find SCCM Task Sequence Continue on Error Step
SCCM Task Sequence – Edit | Find SCCM Task Sequence Continue on Error Step

Search the task sequence editor: It can be difficult to find specific steps if you have a large task sequence with many groups and steps. This action lets you more quickly locate steps in the task sequence.

Click on the Scope drop-down button. Here you can scope your search using the following types, and It enables all scopes by default:

  • Step name
  • Step description
  • Step type
  • Group name
  • Group description
  • Variable name
  • Conditions
  • Other content, for example, strings like variable values or command lines

You can also filter for all steps with the following configured options, and It doesn’t enable either filter by default.

  • Continue on error
  • Has conditions
Easily Find SCCM Task Sequence Continue on Error Step 1
Select Continue On Error – Find SCCM Task Sequence Continue on Error Step

Enter a search term to start. The editor window highlights the steps that match your search criteria when you search. For Example: Here I searched for Install, and you were able to see two steps are starting with the name “Install.”

The Task Sequence editor highlighted the steps configured with “Continue on Error” based on the selection you have made to filter.

Find SCCM Task Sequence Continue on Error Step
Find SCCM Task Sequence Continue on Error Step

You can click on the step to validate the options. Here’s how you can see the settings on the Options tab of this task sequence step, checked to Continue on error option.

Note: When you select Continue on error on the Options tab of this step, the task sequence continues when an application fails to install. When you don’t enable this option, the task sequence fails and doesn’t install the remaining applications.

Validate Task Sequence Step Options Tab - Find SCCM Task Sequence Continue on Error Step
Validate Task Sequence Step Options Tab – Find SCCM Task Sequence Continue on Error Step

PowerShell CommandFind Continue on Error Step in SCCM Task Sequence

Now, let’s quickly look at options to check to Continue on Error step in task sequence with the PowerShell Commands or SCCM PowerShell cmdlets. You can Launch the SCCM PowerShell Commandlets from the console itself.

Click on the Drop-Down option on the top left side corner of the console and click on Connect via Windows PowerShell option. 

Connect Via Windows PowerShell - Find SCCM Task Sequence Continue on Error Step
Connect Via Windows PowerShell – Find SCCM Task Sequence Continue on Error Step

If you get the following warning about the untrusted publisher, Type A, and press Enter.

Do you want to run software from this untrusted publisher?
File \Program Files\Microsoft Configuration
Manager\AdminConsole\bin\Microsoft.ConfigurationManagement.PowerShell.Types.ps1xml is published by CN=Microsoft
Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US and is not trusted on your system. Only run scripts
 from trusted publishers.
[V] Never run  [D] Do not run  [R] Run once  [A] Always run  [?] Help (default is "D"): A

In the Windows PowerShell windows, Type the following command to export sccm task sequence –

Get-CMTaskSequence –TaskSequencePackageId <Package ID> | Get-CMTaskSequenceStep | Select Name, ContinueOnError
  • The Get-CMTaskSequence cmdlet gets task sequence group or step object(s) from a specific task sequence. The cmdlet supports pipeline from a task sequence object, and can be filtered by the name of the group/step.
  • TaskSequencePackageId: Specify the package ID of the task sequence to get. This value is a standard package ID, for example, MEM0048
  • Get-CMTaskSequenceStep: The comment gets a task sequence step by using the name -StepName $st1.Name

Here you get the task sequence steps name configured with Continue On Error option return the value True.

Results PowerShell Command - Find SCCM Task Sequence Continue on Error Step
Results PowerShell Command – Find SCCM Task Sequence Continue on Error Step

Author

About Author – Jitesh, Microsoft MVP, has over five years of working experience in the IT Industry. He writes and shares his experiences related to Microsoft device management technologies and IT Infrastructure management. His primary focus area is Windows 10 Deployment solution with Configuration Manager, Microsoft Deployment Toolkit (MDT), and Microsoft Intune.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.