Megosztás a következőn keresztül:


DllRegisterServer failed with the error code 0x80040201

 

Issue: Often when you try to register a DLL on Win7 or windows server 2008, you run into an error

     "The module scmt.dll was loaded but the call to DllRegisterServer failed with the error code 0x80040201"

 

Why: UAC (user account control) limits the ability to register the DLL. so you have to run the command on elevated command prompt using Admin role.

 

Fix: Run the command in an elevated mode

   1. Click on Start button > type Command Prompt > (right click command prompt and click run as Administrator)

   2. Deregister the DLL using the following command 

                         cmd> "regsvr32 /u scmt.dll"

   3. Reregister the DLL using the command

                         cmd > "regsvr32 scmt.dll"

   you will get the below dialog box.

         

Comments

  • Anonymous
    August 29, 2012
    The comment has been removed

  • Anonymous
    September 06, 2012
    its not geting registered in as administrator also

  • Anonymous
    September 19, 2012
    Thank you ! It's working now.

  • Anonymous
    September 19, 2012
    Iqbal and Sharmila - please start the process clean. try the commands in reverse order..

  • Anonymous
    October 05, 2012
    Where is scmt.dll ? I couldn't find it so I don't run regsvr32.. C:windowssystem32.....

  • Anonymous
    December 24, 2012
    hi erdal - scmt is an example DLL.... it can take any name.. please check the error message you are getting and you will know which DLL to work on...

  • Anonymous
    January 08, 2013
    The module ".spr32x30.ocx" was loaded but the call to dll register server failed with error code 0x80040201

  • Anonymous
    February 02, 2013
    Sumi - the key is to do it the right way. I was also facing issues like you had but once I launched cmd prompt in Admin mode it works.

  • Anonymous
    March 28, 2013
    Super tip! Helped me greatly! Thanks a ton from Germany!

  • Anonymous
    June 12, 2013
    Thanks it works also in 64-bit system.

  • Anonymous
    November 17, 2013
    Hi, i try to register agentclt.dll in  window 8 32 bit but i got the error "the model agentctl.dll was loaded but the call to Dllregisterserver failed with error code 0x80040201". I also try to register with command prompt with admin account. but got same error. Please help me!! Thanks in advance

  • Anonymous
    November 17, 2013
    I also try reverse process . First uninstall the DLL and then register but i get same error.

  • Anonymous
    February 07, 2014
    Hi, I have the same issue and i also ask this some time before but i not get any answer and advices. What can i do? so i ask again this question. Please help me it is urgent. i try to register agentclt.dll in  window 8 32 bit but i got the error "the model agentctl.dll was loaded but the call to Dllregisterserver failed with error code 0x80040201". I also try to register with command prompt with admin account. But got the same error. Please help me!! Thanks in advance

  • Anonymous
    March 13, 2014
    great, its working, thanks

  • Anonymous
    March 15, 2014
    ruchir - try switching off UAC.

  • Anonymous
    March 24, 2014
    Hi, I can not register imgthumb.ocx. It will display the following message. The module "imgthumb.ocx" failed to load. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files. The specified module could not be found. What will be the reason and how can I register it. Thanks,

  • Anonymous
    April 04, 2014
    http://prntscr.com/377kj2 it says it was registered but could not find entry point DllRegisterServer

  • Anonymous
    December 21, 2014
    dll got resisted but still application is not working

  • Anonymous
    December 30, 2014
    You are The Best!

  • Anonymous
    January 05, 2015
    some time its very bad he cnt working properly

  • Anonymous
    May 23, 2015
    Okay, what do I do now? Restart the computer?

  • Anonymous
    June 24, 2015
    I got this error when I was making an Engineer account,  help?

  • Anonymous
    June 24, 2015
    The comment has been removed

  • Anonymous
    July 02, 2015
    I entered cmd> "regsvr32 /u scmt.dll" but the system cannot find the path specified. Any suggestions?

  • Anonymous
    July 07, 2015
    '"resvr32 scmt.dll"' us not recognized

  • Anonymous
    August 06, 2015
    The comment has been removed

  • Anonymous
    August 22, 2015
    The comment has been removed