# Configuration guide: Configuration Manager (SCCM) client continuity

## Introduction <a href="#introduction" id="introduction"></a>

To get started with this workflow, please ensure all related content is installed and configured appropriately. This page provides guidance on which content is included and how to configure it.

Please keep in mind this is just a guide and represents suggested configurations. You are free to customize and edit content as you see fit based on your specific environment.

### Pre-requisites <a href="#pre-requisites" id="pre-requisites"></a>

This library pack contains content from the following [expansion products](https://docs.nexthink.com/platform/overview/products)

* [Flow - Workflows](https://docs.nexthink.com/platform/user-guide/workflows)

## Content list and dependency <a href="#content-list-and-dependency" id="content-list-and-dependency"></a>

This library pack contains the following content and dependencies:

<table data-header-hidden><thead><tr><th width="128"></th><th width="181"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Type</strong></td><td><strong>Name</strong></td><td><strong>Description</strong></td><td><strong>Dependencies</strong></td></tr><tr><td><a href="https://docs.nexthink.com/platform/user-guide/workflows">Workflows</a></td><td>Configuration Manager (SCCM) client continuity</td><td>This workflow automatically enables you to resolve and filter out common Configuration Manager (SCCM) issues and ensure compliance across the landscape.</td><td></td></tr><tr><td><a href="https://docs.nexthink.com/platform/user-guide/remote-actions">Remote Actions</a></td><td>Get Configuration Manager SCCM client status</td><td>Gets Configuration Manager client services status (SMS Agent, BITS, WMI, etc.) and information about SCCM client on devices.</td><td></td></tr><tr><td></td><td>Repair WMI</td><td>Checks and repairs the Windows Management Instrumentation (WMI) service on the device.</td><td></td></tr><tr><td></td><td>Restore Configuration Manager SCCM client</td><td>Restores Configuration Manager -related client services (SMS Agent, BITS, WMI, etc) and retrieves information about Configuration Manager client on devices.</td><td></td></tr><tr><td></td><td>Invoke Configuration Manager SCCM client policy actions</td><td>Triggers the execution of the desired Microsoft Configuration Manager execution policy on the device.</td><td></td></tr><tr><td></td><td>Install Configuration Manager SCCM client</td><td>Installs Microsoft Configuration Manager client in the target machine.</td><td></td></tr></tbody></table>

## Configuration guide <a href="#configuration-guide" id="configuration-guide"></a>

To effectively use this library pack, the content must be installed and configured appropriately. Below are some suggested steps to install and configure the content properly before use.

**Step 1) Install library pack content**

Go to the [Nexthink Library](https://docs.nexthink.com/platform/user-guide/nexthink-library) and install all required content.

**Step 2) Configure ITSM API connector credentials**

This workflow contains ServiceNow Incident management connector thinklets that need to be configured using the appropriate connector credentials. For more information, see [ServiceNow - Incident management](https://docs.nexthink.com/platform/latest/servicenow-incident-management).

**Step 3) Configure remote actions**

This workflow uses the following remote actions. Make sure to install the latest versions and complete the setup as below.

| Name                                                    | Trigger                                                                     | Parameters to edit                                                                           |
| ------------------------------------------------------- | --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| Get Configuration Manager SCCM client status            | API trigger should be enabled so that it can be triggered from the Workflow | N/A                                                                                          |
| Repair WMI                                              | API trigger should be enabled so that it can be triggered from the Workflow | N/A                                                                                          |
| Restore Configuration Manager SCCM client               | API trigger should be enabled so that it can be triggered from the Workflow | N/A                                                                                          |
| Invoke Configuration Manager SCCM client policy actions | API trigger should be enabled so that it can be triggered from the Workflow | <ul><li>MaximumDelayInSeconds</li><li>PolicyToTrigger</li></ul>                              |
| Install Configuration Manager SCCM client               | API trigger should be enabled so that it can be triggered from the Workflow | <ul><li>MaximumDelayInSeconds</li><li>InstallerPath</li><li>InstallationParameters</li></ul> |

**Invoke Configuration Manager SCCM client policy actions**

The workflow uses this remote action to trigger synchronization of Configuration Manager client policies when operating system updates have not been installed on a device in the last 45 days or more.

The following RA input parameters must be configured:

| Name                  | Value                                                                                      | Description                                                                                                                |
| --------------------- | ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
| MaximumDelayInSeconds | 120                                                                                        |                                                                                                                            |
| PolicyToTrigger       | <p>AppDeployment<br>DiscoveryData<br>MachinePolicy<br>UpdatesDeployment<br>UpdatesScan</p> | This parameter must be configured with a list of Configuration Manager policies that should be synchronized on the client. |

**Install Configuration Manager SCCM client**

This remote action uses your local Configuration Manager server instance to install the client on the device.

The following RA input parameters must be configured:

| Name                   | Value | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ---------------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| MaximumDelayInSeconds  | 300   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| InstallerPath          |       | <p>Configure this parameter by specifying the location where the Configuration Manager client installer is located.<br><strong>NOTE</strong>: This can either be locally on the device or on a share which allows all domain devices read access.</p><ul><li>Configuration example with installation from a shared folder:<br>The remote action's "InstallerPath" input parameter must be populated with the UNC path to the client installation file, which is often similar to this: "\&#x3C;Configuration Manager server name>\sms\_\<site code>\Client\CCMSetup.exe"</li><li>Grant client devices permission to access the shared folder specified in the "InstallerPath" input parameter.</li></ul> |
| InstallationParameters |       | <p>Configure this parameter with additional installation settings that you want to pass to the Configuration Manager client that installs on devices.</p><ul><li>To get a fully working client immediately after installation, we recommend that you specify the following parameters in the "Installation Parameters" input parameter: /mp:\<Configuration Manager server name>/logon SMSSITECODE=\<site code></li></ul>                                                                                                                                                                                                                                                                                |

**Step 4) Maintain workflow trigger**

**Schedule trigger**

This workflow has been designed primarily to run automatically using the schedule trigger however it can be useful to also enable the manual trigger to allow on-the-fly client remediations to be sent.

When configuring the scheduler we recommend the following settings as a baseline:

**NQL:**

{% code lineNumbers="true" %}

```
devices during past 7d
| where operating_system.platform == Windows
 and operating_system.name !in ["*server*"]
```

{% endcode %}

**Recurrence:** Weekly - select at least one day.

**Manual trigger**

The manual trigger must be enabled in the workflow settings so that it can be triggered by L1 agents from Device View and Amplify on a subset of affected devices.

## Usage guide <a href="#usage-guide" id="usage-guide"></a>

Your content is now configured and ready to be used. For usage overview and recommendations, you can visit the usage guide:

[Usage guide: Configuration Manager (SCCM) client continuity](https://docs.nexthink.com/platform/library-packs/security-and-compliance/workflow_-configuration-manager-sccm-client-continuity/usage-guide-configuration-manager-sccm-client-continuity)

***

RELATED TOPICS

* [Manage Workflows](https://docs.nexthink.com/platform/user-guide/workflows/managing-workflows)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nexthink.com/platform/library-packs/security-and-compliance/workflow_-configuration-manager-sccm-client-continuity/configuration-guide-configuration-manager-sccm-client-continuity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
