Manual Assignment

This section describes two ways to manually assign the Advanced Client:

  • Assigning Advanced Clients from Control Panel

  • Assigning Advanced Clients from the command prompt

With manual assignment, even if the Advanced Client does not currently reside within SMS site boundaries, it is still assigned to the site you specify. If the Advanced Client is not set to automatically determine a site, and it is not set to a specific site, it is not assigned to a site and remains dormant, but its installation continues.

Assigning Advanced Clients from Control Panel

To assign the Advanced Client to an SMS site manually after the core client components are installed, you use the Systems Management icon in Control Panel on the client. This requires that you have administrative credentials on the client computer.

To assign an Advanced Client to an SMS site, at the Advanced Client computer, double-click the Systems Management icon in Control Panel. On the Advanced tab in the Systems Management Properties dialog box, type in the three-character site code of the SMS site that you want to assign the client to. Or, click Discover to automatically find the local SMS site.

Assigning Advanced Clients from the Command Prompt

You can assign Advanced Clients to SMS sites by running a script at the command prompt. The Advanced Client has a scripting object (Microsoft.SMS.Client) that you can use to do this. This object is installed with the Advanced Client software. For more information, see the Microsoft Systems Management Server 2003 Software Development Kit.

The following example demonstrates several of the Advanced Client scripting methods.

Set smsclient = CreateObject("Microsoft.SMS.Client")
oldsite = smsclient.GetAssignedSite
wscript.echo oldsite
smsclient.EnableAutoAssignment(True)
'or:
smsclient.SetAssignedSite("NES")

Adjust the script as necessary for your specific requirements.

For More Information

Did you find this information useful? Please send your suggestions and comments about the documentation to smsdocs@microsoft.com.