共用方式為


How to Assign Configuration Manager Clients to a Site

Assign a Configuration Manager 2007 client to a site in one of the following ways:

  • Assign or reassign the client during installation, by either providing the Configuration Manager 2007 site code or by setting this to AUTO to automatically discover a site.

  • Manually assign or reassign the client after installation.

  • Use Windows Group Policy to assign or reassign the client.

  • If the Active Directory schema has been extended for Configuration Manager 2007 and the SMSSITECODE installation property is set to AUTO, the client will query a management point to determine its assigned site.

If you automatically assign clients to sites, the clients' IP address must be within the site boundaries of a Configuration Manager 2007 site.

If you assign or reassign the client to a site using Windows Group Policy, the site code is stored in a registry key on client computers. To reassign a client to another site, change the Group Policy setting to update the registry key. Use the Group Policy administrative template named ConfigMgr2007Assignment.adm supplied in the folder TOOLS\ConfigMgrADMTemplates on the Configuration Manager 2007 installation media to apply the site assignment configuration to client computers.

重要

You cannot change the value of this registry key directly.

Use the following procedures to assign a site to the Configuration Manager 2007 client during and after installation:

To assign the client to a site during installation using client push:

  1. In the Configuration Manager console, navigate to System Center Configuration Manager / Site Database / Site Management / <site code> – <site name> / Site Settings / Client Installation Methods.

  2. Right-click Client Push Installation, and then click Properties to open the Client Push Installation Properties dialog box.

  3. On the Client tab, enter the SMSSITECODE command line property in the Installation properties: field as one of the following:

    • SMSSITECODE=AUTO to automatically assign a Configuration Manager 2007 site.

    • SMSSITECODE=<site code> to assign the client to the specified site.

  4. Click OK.

To assign the client to a site during installation using the command line:

  • Refer to How to Install Configuration Manager Clients Manually and specify the client.msi property SMSSITECODE as one of the following:

    • SMSSITECODE=AUTO to automatically assign the client Configuration Manager 2007 site.

    • SMSSITECODE=<site code> to assign the client to the specified site.

To assign the client to a site after installation using Configuration Manager:

  1. Navigate to Configuration Manager in the Control Panel of the client computer, and double-click to open its properties.

  2. Click the Advanced tab, and specify the site code to assign the client to in the Currently assigned to site code: field.

    注意

    You can automatically find the local site code by clicking Discover.

  3. Click OK.

    注意

    For more information about the options in this dialog box, see Configuration Manager Properties: Advanced Tab.

To assign the client to a site after installation using Windows Group Policy:

  1. Import the administrative template ConfigMgr2007Assignment.adm into a new or existing Group Policy object, using an editor such as Windows Group Policy object editor.

  2. Open the properties of the imported setting Configure Site Assignment.

    注意

    If you cannot see the properties of the imported administrative template, this might be because the filtering options for your Group Policy editor are preventing these from being displayed. Specify less restrictive filter options to display these properties. For instance, in the Filtering options dialog box of the Windows Group Policy Object Editor, clear the checkbox Only show policy settings that can be fully managed.

  3. Click Enabled.

  4. In the Assigned Site field, enter the three character code of the Configuration Manager 2007 site you want to assign computers to.

  5. In the Site Assignment Retry Interval (Mins) field, enter the retry interval the client should use when attempting to assign to the specified Configuration Manager 2007 site. The default value is 60 minutes.

  6. In the Site Assignment Retry Duration (Hours) field, enter the maximum length of time that the client should attempt to try and assign to the specified Configuration Manager 2007 site. The default value is 12 hours.

  7. Assign the Group Policy object to the computers that you want to assign or reassign to the Configuration Manager 2007 site code included in the Group Policy object.

    注意

    For information about Windows Group Policy, refer to your Windows Server documentation.

See Also

Tasks

How to Upgrade Clients Using Software Distribution in Configuration Manager

Concepts

About Client Site Assignment in Configuration Manager
Overview of Configuration Manager Client Deployment
About Configuration Manager Client Installation Properties
How to Install Configuration Manager Clients Manually
About Configuration Manager Client Installation Properties Published to Active Directory Domain Services