Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 922346 - Last Review: October 27, 2006 - Revision: 1.3
How to automatically assign sites to imaged SMS 2003 Advanced Client computers
As documented in
Scenarios and Procedures for SMS 2003: Planning and Deployment Guide,
you can install the Microsoft Systems Management Server (SMS) Advanced Client on a client computer master image by installing core SMS client components. You do not have to specify an SMS site code for site assignment. However, to complete deployment of the Advanced Client on computers that have been set up by using a master image, you must specify a site code in
Systems Management in Control Panel.
This step requires manual intervention on each imaged computer to enable site assignment.
This article discusses how to automatically assign sites to Advanced Client computers without manual intervention.
To automatically assign sites to imaged SMS Advanced Client computers, follow these steps:
- Designate a master computer. This is the computer that will be duplicated to destination computers.
- Install the Advanced Client on the master computer by using the Ccmsetup.exe program. Make sure that the SMSSITECODE parameter is not used so that the client remains unassigned.
- After the Advanced Client is installed, stop the SMS Agent Host service (Ccmexec.exe) on the master computer.
- On the master computer, run the Ccmdelcert.exe tool from SMS 2003 Toolkit 2. The Ccmdelcert.exe tool deletes any certificates from a previous Advanced Client installation.
To download SMS 2003 Toolkit 2, visit the following Microsoft Web site: - Set the EnableAutoAssignment property on the master computer to TRUE. EnableAutoAssignment is a Windows Management Instrumentation (WMI) property. This property is under the following WMI path:
Namespace - root\CCM, Class - SMS_Client, Object - SMS_Client =@)
You can do this manually by using WBEMTEST or by using Microsoft Visual Basic Scripting Edition (VBScript) code that resembles the following.
set oSMSClient = CreateObject("Microsoft.SMS.Client")
oSMSClient.EnableAutoAssignment 1 - Create the image of the master computer by using your imaging software.
- Restore the image on the destination computers.
Every time that the SMS Agent Host service starts, it checks the EnableAutoAssignment property.
If the property is set to TRUE, the SMS Agent Host service tries to autoassign the site and then resets the property to FALSE.
To set the EnableAutoAssignment property, set the SMSSITECODE parameter in the Ccmsetup.exe program to AUTO. This setting causes the client on the master computer to try to autoassign the site when the client is first installed and before it is imaged. Additionally, after the SMS Agent Host service has performed the actions that are designated by the EnableAutoAssignment property, the service resets the property to FALSE. Therefore, the client never tries to autoassign the site when the image is deployed on the destination computers.
The "Appendix C - Client Deployment Planning" section of
Scenarios and Procedures for SMS 2003: Planning and Deployment Guide contains all the command-line parameters that you can use with the Ccmsetup.exe program.
APPLIES TO
- Microsoft Systems Management Server 2003
- Microsoft System Center Configuration Manager 2007
| kbexpertiseadvanced kbsmsclients kbhowto KB922346 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate