none
SCCM Client Migration RRS feed

  • Question

  • Team,

    We have installed new SCCM Infrastructure.While doing client migration,we deployed the below script from old server for pointing to new server.But some machines are showing odd results like failed,waiting for content etc.

    Boundaries are not yet deleted from old sccm as it contains the below package content.

    Kindly suggest for any other script or any solution. 


    Script

    On Error Resume Next
        Dim oSMSClient
        sSiteCode = "< site code of new server>"
        Set oSMSClient = CreateObject ("Microsoft.SMS.Client")
        If Err.Number <>0 Then
        'wscript.echo "Could not create SMS Client Object - quitting"
        WScript.Quit
        End If 
        ' Set the assigned site.
        'WScript.Echo "Current site: " & oSMSClient.GetAssignedSite
        oSMSClient.SetAssignedSite sSiteCode,0
        'Wscript.Echo "Assigned site is now: " & oSMSClient.GetAssignedSite
        Set oSMSClient=Nothing


    Friday, March 9, 2012 1:40 PM

Answers

  • Download failed for content <PkgID> under context System, error 0x800705b4
    Download failed for download request {9E710D82-D5E3-4315-9F59-76CB06C8C938}

    You're right ... boundaries etc must be configured correctly. I just missed that part of the logfile. It translates to ERROR_TIMEOUT This operation returned because the timeout period expired. Double check the connection between the client and the DP.

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


    Friday, March 16, 2012 11:26 AM
    Moderator

All replies

  • Hi,

    See the following post on how to reassign clients between Hirearchies. http://blogs.technet.com/b/configmgrteam/archive/2009/04/09/reassigning-a-configuration-manager-client-across-hierarchies.aspx

    Regards,
    Jörgen


    -- My System Center blog ccmexec.com -- Twitter @ccmexec

    Friday, March 9, 2012 1:54 PM
    Moderator
  • Jorgen,

    Most of the machines are reported to new site code with downloading all the policies using the above mentioned script deployed from existing sccm server.But few machines are showing as program failed,waiting for content.....

    Is there any other best script available apart from above mentioned  to change the site code of client machines or any other solution for getting new site code of unsuccessful machines. 
      

    Monday, March 12, 2012 5:37 AM
  • 'm usually using this one,

    'replace with your Site Code
    sSiteCode = "NewSiteCode"
    sMachine = "."
    set oCCMNamespace = GetObject("winmgmts://" & sMachine & "/root/ccm")
    Set oInstance = oCCMNamespace.Get("SMS_Client")
    set oParams = oInstance.Methods_("SetAssignedSite").inParameters.SpawnInstance_()
    oParams.sSiteCode = sSiteCode
    oCCMNamespace.ExecMethod "SMS_Client", "SetAssignedSite", oParams

    remember to also allow computers in slow boundaries to run the script, otherwise you are forced to have boundaries in the old site.


    Kent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund

    • Proposed as answer by SithaYuvaraj Tuesday, March 13, 2012 11:03 AM
    • Marked as answer by Yog Li Wednesday, April 4, 2012 8:24 AM
    • Unmarked as answer by Sabrina Shen Thursday, April 5, 2012 3:16 AM
    Monday, March 12, 2012 6:32 AM
    Moderator
  • Kent,

    Thanks for your script.

    I have deployed the script,some machines got deployed successfully and few machines got failed.

    Below is the log file of failed machines.Package is available in DP.

    Do I need to make any changes in DP server?

    Is there any option in DP server for how many client machines are contacting  for the package download?

    execmgr

     

    Execution Request for package <PkgID>  program <> state change from WaitingContent to WaitingContent
    OnContentAvailable program <Name> NOT available, 0x800705b4

    cas


    Download failed for content <PkgID> under context System, error 0x800705b4
    Download failed for download request {9E710D82-D5E3-4315-9F59-76CB06C8C938}

    Thursday, March 15, 2012 3:04 PM
  • The client was not able to retrieve content; check the boundary settings and advertisement settings (distribution points tab).

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

    Thursday, March 15, 2012 7:14 PM
    Moderator
  • All the required boundaries are already there & Distribution setting is Download content from distribution point and run locally.

    Friday, March 16, 2012 10:06 AM
  • Download failed for content <PkgID> under context System, error 0x800705b4
    Download failed for download request {9E710D82-D5E3-4315-9F59-76CB06C8C938}

    You're right ... boundaries etc must be configured correctly. I just missed that part of the logfile. It translates to ERROR_TIMEOUT This operation returned because the timeout period expired. Double check the connection between the client and the DP.

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


    Friday, March 16, 2012 11:26 AM
    Moderator
  • The connectivity between DP and client is there.Most of the clients got downloaded the package and getting installed.Few clients shows content download failed as mentioned in log above.


    Is there any limitation for DP to serve max number of clients?


    Do I need to cross check any settings on DP server? 
    Thursday, March 22, 2012 6:19 AM