MMC 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

1212.RegSvr32error_01

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-clickCommand 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.

1212.RegSvr32error_02

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.

Source [Microsoft Blog]

About The Author

Hao Nguyen

Hao Nguyen

Hello! I'm Hao Nguyen and I'm currently working as a Network Engineer for a small firm in Houston. I enjoy writing technical documents and blog, such as PlanTutorials.com

Leave a Reply