Kingskawn Posted February 28, 2017 Report post Posted February 28, 2017 We migrated from 2007 to 2012 and at the same time to a new domain. In the old domain we had a gpo with a site assignement. In the new domain it isn't used anymore. The new clients which are installed through 2012 have been changed to the old domain we discovered by local IT. The catch is how we can list all those wrong assigned clients? I want to solve this by executing a simple batch file which will delete the registry keys and restart the ccm service: :Delete assignment keys REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Mobile Client" /v "GPRequestedSiteAssignmentCode" /f REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Mobile Client" /v "GPSiteAssignmentRetryInterval(Min)" /f REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Mobile Client" /v "GPSiteAssignmentRetryDuration(Hour)" /f :Restart the CCM service net stop ccmexec net start ccmexec Quote Share this post Link to post Share on other sites More sharing options...