clients in a boundary which moved across sites need to discover new site code
Both site ABC and site XYZ are sccm 2007 sp2 r2 and withiin the same forest/domain. AD schema extension has been done and both sites published to the AD. Now a subnet/ip range boundary moved from site ABC to site XYZ. All clients originally in site ABC can now find the new site code by clicking the advanced->discover button to get the new site code. However, this "discover" button is greyed when a normal user without local admin privilege logged on. My question is: 1. how to enable normal user to click the "discover" botton; 2. is there a command/script we can run remotely or as a logon script to initiate the discovery without a normal user's action? thanks
February 6th, 2012 12:35am

If the both the sites are in same hierarchy then use the below scritpt to change the site code. http://gallery.technet.microsoft.com/scriptcenter/Change-sccm-configmgr-cf6e0327Anoop C Nair - @anoopmannur MY BLOG: http://anoopmannur.wordpress.com User Group: ConfigMgr Professionals This posting is provided AS-IS with no warranties/guarantees and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
February 6th, 2012 1:18am

1) You can run a script like the one below to change the site code 2) You can also use a GPO and the adm file on the Configmgr. DVD to change the site code. '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", oParamsKent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund
February 6th, 2012 1:50am

Thanks Anoop and Kent, both of you answered my second question - which are very helpful. How about the first question? Does it mean there is no way for normal users to click the "discover" button?
Free Windows Admin Tool Kit Click here and download it now
February 6th, 2012 4:55am

If they are local administrators on the box, they should be able to auto discover. But do you really want the end-user to do that?Kent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund
February 6th, 2012 5:05am

If the both the sites are in same hierarchy then use the below scritpt to change the site code. http://gallery.technet.microsoft.com/scriptcenter/Change-sccm-configmgr-cf6e0327Anoop C Nair - @anoopmannur MY BLOG: http://anoopmannur.wordpress.com User Group: ConfigMgr Professionals This posting is provided AS-IS with no warranties/guarantees and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
February 6th, 2012 9:15am

1) You can run a script like the one below to change the site code 2) You can also use a GPO and the adm file on the Configmgr. DVD to change the site code. '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", oParamsKent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund
February 6th, 2012 9:46am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics