Microsoft KB Archive/828370

= How to remove and rebuild a SMS 2003 secondary site =

Article ID: 828370

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft Systems Management Server 2003

-





Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you try to install a secondary site from a parent site, the installation may stop responding, and it may take a long time for the parent site to report the unsuccessful installation. If the secondary site is deleted from the Systems Management Server (SMS) 2003 Administrator console of the parent site before the problem is reported, jobs that are still trying to install the secondary site may continue uninterrupted.



CAUSE
This issue may occur for several reasons, including but not limited to network issues and disk space issues.



WORKAROUND
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this issue, manually stop the secondary site installation and remove it from the targeted computer.

Note You must remove any old information from the installation, especially if you want to reuse the site code.

To manually stop and remove the failed secondary site, follow these steps:  Click Start, point to All Programs, point to Systems Management Server, and then click SMS Administrator Console. Locate the Site Settings\Addresses subtree. Right-click the address for the failed secondary site, and then click Delete. To use the Preinst.exe tool on the SMS parent site to delete the failed secondary site from the database, follow these steps:  On the SMS primary site (parent) computer, click Start, and then click Run. Type cmd in the Open box, and then click OK.</li> At the command prompt, type cd\, and then press the ENTER key.</li> Type cd sms\bin\i386\00000409, and then press the ENTER key.</li> Type Preinst /DELSITE , and then press the ENTER key.

Note is the site code of the secondary site, and   is the site code of the parent site.</li></ol> </li> To remove any pending or active jobs to a site, type Preinst /DELJOB, and then press the ENTER key.

Note is the site code of the secondary site. For more information about how to use the PREINST tool, click the following article number to view the article in the Microsoft Knowledge Base:

212978 Description of Preinst.exe for Systems Management Server 2.0

</li> To make sure that the secondary site is completely removed, follow these steps: <ol style="list-style-type: lower-alpha;"> Make sure that no SMS or Winmgmt services are running on the computer, including the SMSBootstrap service. If these services are running, stop the services, and then change the Startup type to Manual.</li> Use Registry Editor to make sure that the following SMS registry keys are removed: <ul>  </li>  </li>  </li>  </li>  </li> 

</li>  </li>  </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li> <li> </li></ul> </li> <li>Make sure that the following folders are removed: <ul> <li> :\SMS</li> <li> :\SMSBootstrap.log</li> <li> :\SMSBootstrap.ini</li> <li> :\SMSBootstrap.pkg</li> <li>%Winnt%\MS\SMS</li></ul>

Note is the SMS installation drive.

Note You may have to restart the computer to remove some of these files and folders.</li> <li>Make sure that the CAP_  and SMSPKG $ shares and their corresponding folders are deleted from the client access point computers.

Note is the site code of the secondary site, and   is the drive letter.</li> <li>Make sure that any site-specific accounts or groups are deleted, including the SMS_SiteSystemToSiteServerConnection_ and SMS_SiteToSiteConnection_  groups.

Note is the site code of the secondary site.</li> <li>Remove the following objects from Internet Information Services (IIS) Manager (if they exist).

Under Application Pools (only on IIS 6.0): <ul> <li>CCM Server Framework Pool</li> <li>SMS Distribution Points Pool</li> <li>SMS Management Point Pool</li> <li>SMS Server Location Point Pool</li></ul>

Under the default Web Site (on IIS 5.0 or IIS 6.0): <ul> <li>CCM_Incoming</li> <li>CCM_Outgoing</li> <li>CCM_System</li> <li>SMS_DP_ </li> <li>SMS_MP</li> <li>SMS_SLP</li></ul> </li> <li>Restart the server.

Note The server must be restarted to make sure that any of the SMS services that you deleted from the registry in step 6b are no longer running. If these services are still running when you try to reinstall the secondary site, the Setup program will try to remove these services, but the removal will fail because they are already gone from the registry.</li></ol> </li></ol>

After these items are removed, you can reuse the site code to reinstall the secondary site. <div class="moreinformation_section">

How to rebuild the secondary site
<ol> <li>Reinstall the secondary site. As soon as possible, the secondary site installation should be started to minimize the effect on clients.

To speed the installation, see the &quot;Installing a Secondary Site Using SMS Setup&quot; topic in the SMS 2003 Deployment Guide. To obtain this guide, visit the following Microsoft Web site:

http://www.microsoft.com/technet/prodtechnol/sms/sms2003/cpdg/plan0ov6.mspx

This section explains how to set up the site directly from the CD-ROM. This step lets you bypass the 76 megabyte (MB)-network installation package and to install directly from the CD-ROM.

Important If you use Standard security, verify that the correct accounts and passwords have been specified. Problems can be very difficult to diagnose and repair and may require that you repeat the procedure. To make sure of success, test the account beforehand. To do this, log on to the new primary site by using the specified account, and then connect to the secondary site's c$, d$, and admin$ shares. Create, read, and write to folders and files from the secondary site drives to the primary site drives and back again.</li> <li>Reconfigure the secondary site. Immediately after you install the secondary site and while the site configuration update is being propagated to the parent site, use the SMS Administrator MMC to configure settings that will prevent clients from having to unnecessarily change their configuration.</li></ol>

Keywords: kbserver kbsmsadmin kbsetup kbprb KB828370

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.