To register a DLL in Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 or later with regsvr32.exe, you need to have administrator privileges and rights. Unless you have disabled UAC (User Access Control), all user accounts except Administrator that you use to login into Windows will need user manually elevate the user rights to administrator credentials although you have set their roles as administrator.
If you try to regsvr32 a module in normal command prompt window without proper administrative privileges, you will get the following error message:
The module “xxx.dll” was loaded but the call to DllregisterServer failed with error code 0x80004005.
The scenarios that this error may occur are when you trying to register the jscript.dll or vbscript.dll to solve internal error 2739 during installation, or when install add-ins for Microsoft Outlook 2007 such as TRSOutlookAddin.dll or other DLLs under Windows Vista or Windows 7 by using regsvr32.exe.
To solve the call to “DllregisterServer failed with error code 0x80004005” error, run a Command Prompt as Administrator.
Alternatively, you can disable User Access Control too, or login with Administrator account.
What is 0x80070005 error?
The 0x80070005 error is the Hexadecimal format of the error caused. This is common error code format used by windows and other windows compatible software and driver vendors.
This code is used by the vendor to identify the error caused. This 0x80070005 error code has a numeric error number and a technical description. In some cases the error may have more parameters in 0x80070005 format .This additional hexadecimal code are the address of the memory locations where the instruction(s) was loaded at the time of the error.