Skip to content

Migration from sms 2003 to sccm 2007

Featured Replies

Hi All,

 

I want to do a migration from my sms server to sccm 2007.

My plan is to deploy first a new sms server as child of the existing one (sms1 is parent and sms2 is child).

after replication between them (all objects were replicated),i break the relationship between parent/child.

now using the new sms2 server,i find that all my machines clients (previously replicated from the parent sms1)still assigned to the old sms1 server and have the parent sitecode.

my issue is how to reassign them to the new sms2 server.

your help will be appreciated.

thanks in advance.

Hi All,

 

I want to do a migration from my sms server to sccm 2007.

My plan is to deploy first a new sms server as child of the existing one (sms1 is parent and sms2 is child).

after replication between them (all objects were replicated),i break the relationship between parent/child.

now using the new sms2 server,i find that all my machines clients (previously replicated from the parent sms1)still assigned to the old sms1 server and have the parent sitecode.

my issue is how to reassign them to the new sms2 server.

your help will be appreciated.

thanks in advance.

 

Hi ,

 

You can try re-pushing the clients from the SCCM console or you can try the below script to change the site code. You can distribute this script thru software distribution method or can apply as logon script.

 

 

 

sSiteCode = "xxx"

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

 

'xxx - refers to site code

 

 

NOTE : Please try the same on your lab first before testing it to your production environment.

 

regards ,

Raj

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.