Chad's Tech

Management Point Affinity (AllowedMPs) Compliance Setting in ConfigMgr 2012 R2 CU3

In Cumulative Update 3 for System Center Configuration Manager 2012 R2, Microsoft introduced Management Point Affinity and Justin Chalfant had a nice write-up on the new feature.  One thing that was left undocumented was an acceptable way to set MP Affinity; the blog only mentions the use of Group Policy, Compliance Scripts, etc.

<

div class=”ExternalClass6524A099EAD241FE9444FCC5BDBC0B9E”>

I worked out the details of a ConfigMgr Configuration Item (for Compliance).  The challenge is that the registry key is a Multi-String Value (an array of strings) and that ConfigMgr’s Configuration Item cannot natively handle this registry data type.  I decided to use a VBScript since it is the least common denominator of our scripting choices.

Below is the Discovery/detection script and the Remediation script.  I’ve also included step-by-step screen shots and the final exported Configuration Item if you just want to import it and not create the object yourself.

The exported file can be downloaded from continue reading on CatapultSystems.com

%d bloggers like this: