Skip to content

Commit b6b48ef

Browse files
authored
Merge pull request #6994 from mestew/ca-ci-baseline-13783318
CMADO-13783318, CMADO-9906327
2 parents c60994a + 052bcc8 commit b6b48ef

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

memdocs/configmgr/compliance/deploy-use/create-configuration-baselines.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create configuration baselines
33
titleSuffix: Configuration Manager
44
description: Create configuration baselines in Configuration Manager that you can deploy to a collection.
5-
ms.date: 01/10/2022
5+
ms.date: 03/10/2022
66
ms.prod: configuration-manager
77
ms.technology: configmgr-compliance
88
ms.topic: conceptual
@@ -81,10 +81,11 @@ You can add evaluation of custom configuration baselines as a compliance policy
8181

8282
To include custom configuration baselines as part of compliance policy assessment, do the following:
8383

84-
- Create and deploy a compliance policy to a user collection with a rule to [**Include configured baselines in compliance policy assessment**](#bkmk_CA).
85-
- Select [**Evaluate this baseline as part of compliance policy assessment**](#bkmk_eval-baseline) in a configuration baseline deployed to a device collection.
84+
- Create and deploy a compliance policy to a *user* collection with a rule to [**Include configured baselines in compliance policy assessment**](#bkmk_CA).
85+
- Select [**Evaluate this baseline as part of compliance policy assessment**](#bkmk_eval-baseline) in a configuration baseline deployed to a *device* collection.
8686

8787
> [!IMPORTANT]
88+
> - The configuration baseline must be deployed to a *device* collection. Baselines deployed to *user* collections aren't honored when these settings are used. <!--13139787,13783318 -->
8889
> - When targeting devices that are co-managed, ensure you meet the [co-management prerequisites](../../comanage/overview.md#prerequisites). Co-managed clients ignore service windows for remediation when their compliance policies workload is managed by Intune. <!--12439085, 12412748-->
8990
> - For devices managed by Configuration Manager, the client honors the service window for compliance policy remediation. To ignore the service window and remediate immediately, select **Check compliance** in the **Software Center**. <!--12439085, 12412748-->
9091

memdocs/configmgr/compliance/deploy-use/create-custom-configuration-items-for-windows-desktop-and-server-computers-managed-with-the-client.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create custom configuration items
33
titleSuffix: Configuration Manager
44
description: Manage settings for Windows computers and servers with a custom configuration item for Windows desktops and servers
5-
ms.date: 01/04/2021
5+
ms.date: 03/10/2022
66
ms.prod: configuration-manager
77
ms.technology: configmgr-compliance
88
ms.topic: conceptual
@@ -220,7 +220,9 @@ The value returned by the script is used to assess the compliance of the global
220220

221221
- **Discovery script**: Select **Add Script**, and enter or browse to a script. This script is used to find the value. You can use Windows PowerShell, VBScript, or Microsoft JScript scripts.
222222

223-
- **Remediation script (optional)**: Select **Add Script**, and enter or browse to a script. This script is used to remediate non-compliant setting values. You can use Windows PowerShell, VBScript, or Microsoft JScript scripts.
223+
- **Remediation script (optional)**: Select **Add Script**, and enter or browse to a script. This script is used to remediate non-compliant setting values. You can use Windows PowerShell, VBScript, or Microsoft JScript scripts.
224+
> [!IMPORTANT]
225+
> - To properly report a remediation failure, scripts need to throw exceptions rather than a nonzero exit code. <!--8760430-->
224226
225227
- **Run scripts by using the logged on user credentials**: If you enable this option, the script runs on client computers that use the credentials of the signed-in user.
226228

@@ -319,7 +321,9 @@ Compliance rules specify the conditions that define the compliance of a configur
319321
- **WQL query**
320322

321323
> [!IMPORTANT]
322-
> You can only remediate noncompliant rules when the rule operator is set to **Equals**.
324+
> - To properly report a remediation failure, scripts need to throw exceptions rather than a nonzero exit code. <!--8760430-->
325+
> - You can only remediate noncompliant rules when the rule operator is set to **Equals**.
326+
323327

324328
- **Report noncompliance if this setting instance is not found**: If this setting isn't found on client computers, enable this option for the configuration item to report noncompliance.
325329

0 commit comments

Comments
 (0)