Monday, February 2, 2026
HomeServer 2022How to Fix DllRegisterServer failed error code

How to Fix DllRegisterServer failed error code

In this article, we will teach you how to fix DllRegisterServer failed error code 0x80040201 schmmgmt.dll While migrating the active directory domain controller getting this error the module “schmmgmt.dll” was loaded but the call to “DllRegisterServer failed” with “error code 0x80040201”

DllRegisterServer failed error code 0x80040201

DllRegisterServer failed Error Code 0x80040201

When we are trying to register the Active Directory Schema Snap-in (also known as Schema MMC console or as the Schema Console) using Windows or Windows Server, you may need to run the command from the command prompt. Differently, you will see the following error after entering the registration command “regsvr32 schmmgmt.dll”

We are getting these error messages because UAC (User Account Control) on the computer may be limiting the competencies to register the Active Directory Schema Snap-in. Even when we log in with a user account that is a part of the Schema Admins group. Note that it is not necessary to log in with an elevated command prompt using an account that belongs to the Schema Admins group.

To open a command prompt with admin rights, click on the Windows search button from the toolbar, and enter Command Prompt. Then, you select Run as Administrator or right-click Command Prompt and choose Run as Administrator. To learn in detail please refer to Microsoft.

Register regsvr32 schmmgmt.dll

Enter the below command and then hit enter.

regsvr32 schmmgmt.dll

Once the Schema Management dll is successfully registered (schmmgmt.dll) you will receive a successfully registered message.

DllRegisterServer in schmmgmt.dll succeeded

You can now go back to the console root, choose a file and add or remove snap-ins, then you will definitely find active directory schema.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments