locked
Moving to another Site Code RRS feed

  • Question

  • I've ran into a bit of an issue which I hope someone can assist (or point me in the right direction)

    My building had SCCM installed and was the only site in the company. We recently acquired another company and they had the newest SCCM environment so the decision was made to have them as the main site and set us up as a DP.

    The DP was setup here and everything was setup and was looking great, I ran the below script (with the correct site name) and it worked fine, the machines picked up the new site code and were showing in "new" Configuration Manager Console.

    On Error Resume Next
    set oSMSClient = CreateObject ("Microsoft.SMS.Client")
    if Err.Number <>0 then
    wscript.echo "Could not create SMS Client Object - quitting"
    end if
    'Assign client to Servername
    oSMSClient.SetAssignedSite "SITECODE",0
    set oSMSClient=nothing

    The last couple of days, when i add machines, they are no longer being picked up by the new Configuration Manager Console. They pick up the site code and the assigned management point but are not being seen in the new Configuration Manager Console.

    Below is the log from exermgr.log

    Raising event:
    [SMS_CodePage(850), SMS_LocaleID(2057)]
    instance of SoftDistProgramCompletedSuccessfullyEvent
    {
    	AdvertisementId = "XXX200AC";
    	ClientID = "GUID:XXX";
    	DateTime = "20170504115048.531000+000";
    	MachineName = "XXX";
    	PackageName = "XXX002DC";
    	ProcessID = 4864;
    	ProgramName = "SiteCode_Change";
    	SiteCode = "XXX";
    	ThreadID = 1712;
    	UserContext = "NT AUTHORITY\\SYSTEM";
    };
    	execmgr	04/05/2017 12:50:48	1712 (0x06B0)
    Raised Program Success Event for Ad:XXX200AC, Package:XXX002DC, Program: SiteCode_Change	execmgr	04/05/2017 12:50:48	1712 (0x06B0)
    Execution is complete for program SiteCode_Change. The exit code is 0, the execution status is Success	execmgr	04/05/2017 12:50:48	1712 (0x06B0)

    I have checked boundrys and the network team have said they haven't changed anything so I'm a bit perplexed.

    Any help appreciated.



    Monday, May 8, 2017 11:01 AM

Answers

  • An Update:

    This has been fixed, the root CA was updated a couple of weeks ago and that was causing issues. Once it was cleared, it used the one that was present on the server and it started working.

    Paul

    • Marked as answer by Paul.Andrews Tuesday, May 9, 2017 11:21 AM
    Tuesday, May 9, 2017 11:21 AM

All replies

  • Any Errors in LocationServices.log, ClientLocation.log or ccmmessaging.log?

    Torsten Meringer | http://www.mssccmfaq.de

    Monday, May 8, 2017 11:26 AM
  • Hi Torsten,

    Thanks for the reply.

    No errors in any of those logs. What is strange is that its showing the new MP and the new SiteCode but I'm still able to control it from the old Manager Console (no deployed software is showing in Software Center) but the new Manager Console isn't seeing it.

    Would you like me to dump the logs from those three logs, if that would help?

    Thanks again for the reply.

    Paul


    Monday, May 8, 2017 11:58 AM
  • An Update:

    This has been fixed, the root CA was updated a couple of weeks ago and that was causing issues. Once it was cleared, it used the one that was present on the server and it started working.

    Paul

    • Marked as answer by Paul.Andrews Tuesday, May 9, 2017 11:21 AM
    Tuesday, May 9, 2017 11:21 AM