Active Directory Error: "The module "schmmgmt.dll" loaded but the call to DllRegisterServer failed with error code 0x80040201"

Active Directory Error: "The module "schmmgmt.dll" loaded but the call to DllRegisterServer failed with error code 0x80040201"

When attempting to register the Active Directory Schema Snap-in (also known as the Schema Console or Schema MMC console) using Windows Vista, Windows 7, Windows Server 2008, or Windows Server 2008 R2, you may need to run the command from an elevated command prompt. Otherwise, you could see the following error after running the registration command regsvr32 schmmgmt.dll

This is because User Account Control (UAC) might be limiting your capabilities even if you logged on using an account that is a member of the Schema Admins group. You do need to login or start an elevated command prompt using an account that is a member of the Schema Admins group.

To open an elevated command prompt, click the Start button in the toolbar, type Command Prompt. Then, right-click Command Prompt from the Start menu and click Run as administrator.

When the Schema Management dll is registered (schmmgmt.dll) you will see a successfully registered message.

There are many articles in the TechNet library discussing how to install the Schema Snap-In. Some apply to earlier operating system versions where running from an elevated command prompt was not necessary.

Leave a Comment
  • Please add 5 and 3 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Ed Price - MSFT edited Revision 6. Comment: Title guidelines. Adding tags.

  • Ed Price MSFT edited Revision 2. Comment: Updated title casing.  

Page 1 of 1 (2 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Thanks, Tony. I guess I suffered a connection outage and you found this half published.

  • Ed Price MSFT edited Revision 2. Comment: Updated title casing.  

  • Ed Price - MSFT edited Revision 6. Comment: Title guidelines. Adding tags.

  • Thanks for the tip

  • thanks.

  • Thankyou very much

Page 1 of 1 (6 items)