Share via

Install the Active Directory Schema Snap-In

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

You can use this procedure to first register the dynamic-link library (DLL) that is required for the Active Directory Schema snap-in. You can then add the snap-in to Microsoft Management Console (MMC).

Membership in Domain Admins , or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at

To install the Active Directory Schema snap-in

  1. To open an elevated command prompt, click Start , type command prompt , and then right-click Command Prompt when it appears in the Start menu. Next, click Run as administrator , and then click OK .

    To open an elevated command prompt in Windows Server 2012, click Start , type cmd , right click cmd and then click Run as administrator .

  2. Type the following command, and then press ENTER:

    regsvr32 schmmgmt.dll


Although the regsvr32 command shows that it is a 32-bit based command, it does run properly in the 64-bit versions of the supported operating systems (see Applies To near the start of this topic).
If you do not run the command from an elevated command prompt or if you do not have the appropriate permissions, the following error message appears
The module ‘schmmgmt.dll’ was loaded but the call to DllRegisterServer failed with error code 0x80040201.
If you see this error message, check the group memberships of the user account that you are using to ensure that the user account is a member of the Schema Admins group. Also, ensure also that you run the command from an elevated command prompt.

  1. Click Start , click Run , type mmc , and then click OK .

  2. On the File menu, click Add/Remove Snap-in .

  3. Under Available snap-ins , click Active Directory Schema , click Add , and then click OK .

  4. To save this console, on the File menu, click Save .

  5. In the Save As dialog box, do one of the following:

    • To place the snap-in in the Administrative Tools folder, in File name , type a name for the snap-in, and then click Save .

    • To save the snap-in to a location other than the Administrative Tools folder, in Save in , navigate to a location for the snap-in. In File name , type a name for the snap-in, and then click Save .


Modifying the schema is an advanced operation that is best performed by experienced programmers and system administrators. For detailed information about modifying the schema, see Active Directory Schema (

Additional considerations

  • To perform the Schmmgmt.dll registration portion of this procedure, you must be a member of the Domain Admins group in the domain or the Enterprise Admins group in the forest, or you must have been delegated the appropriate authority. Adding the Active Directory Schema snap-in to MMC requires only Domain Users group membership. However, making changes to the schema requires membership in the Schema Admins group.

Additional references