We just setup a compliance rule earlier this week and added remediation to it 
last night. It remediated over 7000 clients by this morning. All our settings 
are identical to yours.

Are you certain the remediation script isn't running, instead of running and 
not working properly?

Can you post your scripts?

Daniel Ratliff

From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On 
Behalf Of Trevor Sullivan
Sent: Thursday, July 10, 2014 10:56 AM
To: mssms@lists.myitforum.com
Subject: [mssms] Compliance Settings: Remediation Script is not executed

Folks,

In ConfigMgr 2012 R2, I created a Configuration Item per the following:


*         Baseline

o   Configuration Item

*  Script Setting

*         Discovery Script --> Checks if a process is running (PowerShell)

*         Remediation Script --> Kicks off a process (PowerShell)

*         Compliance Rule --> Script returns at least one value

I assigned the Baseline to a Collection, containing two test systems. Both test 
systems are validating the Configuration Item, and its Script Setting 
correctly, but the remediation script is not being executed.

I have validated the following:


*         PowerShell Execution Policy is set to Bypass (via a custom Device 
Client Settings Package)

*         Discovery Script is being successfully executed

*         Compliance Rule is working correctly

*         Configuration Manager Control Panel applet shows Baseline as 
non-compliant, when process is not running

*         Baseline Deployment --> Checked the boxes for:

o   Remediate noncompliant rules when supported

o   Allow remediation outside the maintenance window

Has anyone else seen this behavior? How do you ensure that remediation scripts 
are executed in Compliance Settings?

Cheers,
Trevor Sullivan
Microsoft PowerShell MVP



The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material.  If you receive this 
material/information in error,
please contact the sender and delete or destroy the material/information.


Reply via email to