LdapSrvWeight

HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters

Data type Range Default value
REG_DWORD 0x0 - 0xFFFF 0x0 - 0xFFFF 0x64 (100)

Description

Specifies the weight (or weighted priority) of this domain controller. The weight determines the probability that a client would contact the domain controller when selecting from among domain controllers with the same priority. Domain controllers with the highest weight are most likely to be contacted.

Clients contact domain controllers in priority order, as specified by the value of LdapSrvPriority. The highest priority domain controller (the one with the lowest value of LdapSrvPriority) is contacted first.

However, when domain controllers have the same priority value, Net Logon selects from among them by using a statistical calculation based on the weight assigned to the domain controller. Domain controllers with the highest weight are most likely to be contacted. This method allocates contact traffic most efficiently.

To calculate the probability that a given domain controller would be contacted by a client, use the following formula:

LdapSrvWeight / Sum (LdapSrvWeight for DCs of that priority)

For example, if three domain controllers were all assigned the highest priority, 0x0, the probability that each would be contacted would be as follows:

Server Weight Probability
A 3 1/2 (3/6)
B 2 1/3 (2/6)
C 1 1/6

Note Image Note

When interpreting priority and weight values, remember that priorities are inverse, but weights are positive. That is, for priority, the lowest number (0x0) represents the highest priority. For weights, the highest number represents the highest weight.

When all domain controllers have the same weight, then, by convention, the value of LdapSrvWeight is 0.

This entry is only used when it appears in the registry of a domain controller.

Windows 2000 does not add this entry to the registry. You can add it by editing the registry or by using a program that edits the registry.

Tip Image Tip

Net Logon records the value of this entry on LDAP SRV records it writes. You can view these records by using DNS dynamic update, or by viewing the netlogon.dns file (Systemroot\System32\config). Also, if the value of DBFlag is 0x2080FFFF, Net Logon records the LDAP SRV records in its debugging log, Netlogon.log (Systemroot\debug).

Related Entries

Page Image