SCCM Client Health Monitor: Automatically remediate Provisioning Mode and corrupt local Group Policy files


Update: This post has been superseded with this:

A ConfigMgr/SCCM client stuck in provisioning mode or having corrupt local group policy files¬†(Registry.pol) are two very common and nagging issues in a Configuration Manager environment.¬† Where it’s rather easy to use Configuration Manager to remediate the corrupt policy files, it’s another story with a SCCM client stuck in provisioning mode (the client has very limited functionality). I haven’t personally been seeing clients in provisioning mode that often, but I do occasionally see it happen following an Windows in-place upgrade .

Both scenarios will cause a drop in compliance in regards to Software Updates and general software deployments, and unless being very thorough when walking through compliance reports, clients being affected by either issues can be difficult to spot, especially in larger environments.

So I hereby give you my solution to how you can automatically remediate both issues outside of Configuration Manager using Powershell and thus increase the compliance and overall health of your environment.

Powershell snippet from running the SCCM ClientHealthMonitor script

Read more…