New Agents will not re-assign to ConfigMgr 2012 Site

Many are waiting for ConfigMgr 2012 SP1 before they actually go from ConfigMgr 2007 to ConfigMgr 2012. If you for some reason have a Group Policy that assigns clients to a specified Site code you will hit a barrier migrating your clients with the new Agent. The installation itself will go fine but it stops there.

The Group Policy tattoo’s the Assigned Site Code locally on the machines that are hit by the policy.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Mobile Client]
"GPRequestedSiteAssignmentCode"="PS1"

What you can do from here is either change the Site Code in the same, or a new Group Policy hitting the migrated machines, to reflect the correct Site Code.

Or…

Delete the regkey’s holding the forced Site Assignment and let the Agent discover its Site Assignment automatically as you normally would with Boundaries(AD Sites, IP Ranges etc.).

REG delete "hklm\SOFTWARE\Microsoft\SMS\Mobile Client" /v GPRequestedSiteAssignmentCode /f
REG delete "hklm\SOFTWARE\Microsoft\SMS\Mobile Client" /v GPSiteAssignmentRetryDuration(Hour) /f
REG delete "hklm\SOFTWARE\Microsoft\SMS\Mobile Client" /v GPSiteAssignmentRetryInterval(Min) /f

Once either of the two solutions have been put into effect you can go into your ClientLocation.log and LocationServices.log files and check up on the new Agents connecting to the proper Site Code.

Note: the LocationServices.log file will tell you if the Site Code the Agent are trying to connect to is Group Policy enforced.
(Example: “Found Assigned Site Code <PS1> by Group Policy”)

By | 2012-12-11T14:23:06+00:00 December 11th, 2012|Configuration Manager (SCCM)|4 Comments

About the Author:

Henrik Hoe
ConfigMgr specialist that started many years ago with SMS 2003 and been with the product/concept ever since. (Fanatical some would say - i can only agree) Experienced with large customer environments and architecture.MCPMCTS: ConfigMgr 2012MCSA: Windows Server 2012MCT

4 Comments

  1. ps1 rom June 11, 2013 at 20:28 - Reply

    It’s just a nice and beneficial item of info. I’m satisfied which you simply provided this convenient information here. Be sure to keep us up to par this way. Appreciation for sharing.

  2. Rob Erbes May 6, 2014 at 17:53 - Reply

    Excellent! Perfect for my migration from a simple SCCM 2012 install to my production SCCM! Thanks!

  3. Naveen March 1, 2017 at 7:57 - Reply

    Awesome info. It really helped me to reinstall client. Appreciate this Guidance.

  4. Tim May 19, 2017 at 10:23 - Reply

    Thank you so much for this info. Helped me with a client I have been working on.

Leave A Comment