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.
koi b file register nhi ho rhi ye error ajata hn
its not geting registered in as administrator also
Thank you ! It's working now.
Iqbal and Sharmila - please start the process clean.
try the commands in reverse order..
Where is scmt.dll ? I couldn't find it so I don't run regsvr32..
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...
The module ".\spr32x30.ocx" was loaded but the call to dll register server failed with error code 0x80040201
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.
Super tip! Helped me greatly! Thanks a ton from Germany!
Thanks it works also in 64-bit system.
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
I also try reverse process . First uninstall the DLL and then register but i get same error.
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!!
great, its working, thanks
ruchir - try switching off UAC.