Microsoft KB Archive/261231

= XADM: Unable to Update the Schema on the Schema Owner =

Article ID: 261231

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition, when used with:
 * Microsoft Windows 2000 Standard Edition

-



This article was previously published under Q261231



SYMPTOMS
When you try to modify the schema by using the ADSI Edit utility or the Active Directory Schema Microsoft Management Console (MMC) snap-in on a domain controller that is the schema Flexible Single Master Operation (FSMO) owner, you may receive the following error message:

Schema update is not allowed on this DC. Either the registry key is not set or the DC is not the schema FSMO role owner.

When you try to modify the schema by using the Lightweight Directory Protocol (LDP) tool (this is an Active Directory Support Tool and is available on the Windows 2000 Server compact disc in the Support\Tools folder), you may receive the following error message:

Error: Unwilling to perform.

When you try to modify the schema by using the Ldifde utility (the ldifde -i command), you may receive the following error message:

Add error on line x: Unwilling To Perform The server side error is &quot;Schema update is not allowed on this DC. Either the registry key is not set or the DC is not the schema FSMO Role Owner.&quot; 0 entries modified successfully. An error has occurred in the program.



CAUSE
This issue can occur because even though the domain controller is the schema owner, by default you cannot edit the schema. You must enable the The Schema may be modified on this Domain Controller option in the Active Directory Schema MMC snap-in to modify the schema.



RESOLUTION
To resolve this issue, enable schema modification:
 * 1) Click Start, and then click Run. In the Open box, type mmc, and then click OK.
 * 2) When MMC starts, click Add/Remove Snap-in on the Console menu.
 * 3) Click Add.
 * 4) Click Active Directory Schema, click Add, and then click Close.
 * 5) Click OK.
 * 6) Right-click Active Directory Schema, and then click Operations Master.
 * 7) Click The Schema may be modified on this Domain Controller.
 * 8) Click OK.



MORE INFORMATION
When you enable or disable the The Schema may be modified on this Domain Controller option in the Active Directory Schema MMC snap-in, it changes the value of the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters\Schema Update Allowed

Type: REG_DWORD

Values: 0: FALSE

1: TRUE

Gaining Access to the Active Directory Schema MMC Snap-In
By default, the Active Directory Schema MMC snap-in is not listed as an available snap-in. If the Active Directory Schema MMC snap-in is not available, perform the following steps to enable it:
 * 1) Click Start, and then click Run.
 * 2) In the Open box, type regsvr32 schmmgmt.dll, and then click OK.

A dialog box that states &quot;DllRegisterServer in schmmgmt.dll succeeded&quot; is displayed, and the Active Directory Schema MMC snap-in is displayed in the list of available snap-ins.

How Exchange 2000 Server Updates the Schema
When Exchange 2000 Server is installed in a Windows 2000 Server forest, Exchange 2000 Server needs to modify the schema. Exchange 2000 Server connects to the schema FSMO owner, and locates the value of the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters\Schema Update Allowed value to true

If the value is set to 1 (TRUE), Exchange 2000 Server does not modify the value. If the value is set to 0 (FALSE), Exchange 2000 Server changes the value to 1, makes the schema modifications, and then changes the value back to 0.

Additional query words: exch2kp2w

Keywords: kberrmsg kbprb KB261231

-

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

© Microsoft Corporation. All rights reserved.