Microsoft KB Archive/319617

= How to Use the Registry to Configure Permanent Runtime Settings in MMS =

Article ID: 319617

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Metadirectory Services 2.1
 * Microsoft Metadirectory Services 2.2 Service Pack 1
 * Microsoft Metadirectory Services 2.2 Service Pack 1

-



This article was previously published under Q319617



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
If you run Microsoft Metadirectory Services (MMS) as either a console program or as a service, you can use command-line options to set runtime settings. However, you may find it more convenient to set permanent default values so that the runtime settings are consistent. This article describes how to use the registry to configure these default values.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

The following registry values correspond to MMS runtime settings:
 * count: You can use this registry value to turn on the MMS functionality that counts both the number of person objects and the total number of all objects in the metaverse during Startup.
 * installpath: You can use this registry value to set the drive letter to the Zoomserv folder.
 * nosched: You can use this registry value to turn off the MMS schedule service. The schedule service automatically runs management agents, replication utilities, and server utilities according to a set schedule.
 * noevents: You can use this registry value to turn off the MMS event receiver. The event receiver handles communications between MMS services.
 * noservices: You can use this registry value to temporarily turn off any MMS services that you do not need to use.
 * ldapdebug: You can use this registry value to set the MMS Lightweight Directory Access Protocol (LDAP) trace level to the specified value immediately upon Startup (the default setting is 0).
 * ipaddr: You can use this registry value to specify the correct Internet Protocol (IP) address for MMS to use when there are multiple network adapters present.
 * ldapport: You can use this registry value to specify the Transmission Control Protocol/Internet Protocol (TCP/IP) port number that is used for all LDAP requests (the default setting is 389).
 * httpport: You can use this registry value to specify the TCP/IP port number that is used for all Hypertext Transfer Protocol (HTTP) requests (the default setting is 80).
 * nohttp: You can use this registry value to turn off the MMS HTTP service.
 * noldap: You can use this registry value to turn off the MMS LDAP service.
 * nocldap: You can use this registry value to turn off the MMS CLDAP service.
 * flashport: You can use this registry value to specify the TCP/IP port number that is used for all MMS flash messages.
 * clearlog: You can use this registry value to force MMS to clear the Zoomserv\Data\Logs\Genlogs file immediately at Startup.
 * force2nd: You can use this registry value to configure a single computer to run two concurrent instances of MMS. Each instance must have a unique TCP/IP address (see the descriptions for the httpport and the ldapport registry values in this section).

NOTE: You can use the Setupsvc tool that is located in the Zoomserv\Bin folder in MMS to configure some of these settings. For more information about both parameter settings and the Setupsvc tool, see the &quot;Running the MMS Server as a Task - Command-Line Options&quot; topic in the MMS System Administration online manual.

Example
To configure the nosched registry value to turn off the schedule service:  Click Start, click Run, type Regedt32 in the Open box, and then click OK. Locate and click the following registry key:

HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/MMS Server/Parameters

 On the Edit menu, click Add value. In the Value Name box, type nosched. In the Data Type box, click REG_DWORD, and then click OK. In the DWORD Editor box, type 1, and then confirm that hex appears in the Radix box.</li> Click OK.</li> Quit Registry Editor.</li> If you want to, quit and then restart MMS.</li></ol>

The following entry appears in the Genlogs file:

--

MMS Server -- Build 2.2 (1300.04)

Starting Fri Mar 08 09:52:26 2002

WRN_00 08CC 02/03/08 09:52:28.983 (MMS_WorkerThread) scheduling is DISABLED

Additional query words: mms metadirectory zoomit ma

Keywords: kbinfo kbenv KB319617

-

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

© Microsoft Corporation. All rights reserved.