Troubleshooting Error Code 8002801c – DllRegisterServer in COM failed
Introduction to Error Code 8002801c
This is not a VBScript error, but an error with your registry’s permissions.
When you are using Regsvr32 to register a COM object (e.g. Active-X component)
For example: regsvr32 COM.
What happens is you get: ‘Error accessing the OLE registry.’
Permissions to the registry is the most likely cause. A trivial cause is you are trying to unregistered a component, that has already been unregistered. Regsrv32 /u.
Even if you are a local Administrator, it still possible that you have been locked out of certain Registry keys. Therefore, I suggest that you research which Key / Value your regsvr32 is trying to alter, and take ownership and adjust permissions, then try the command again. Regmon may help you discover the appropriate area of the registry.
I like thePermissions Monitor because it enables me to see quickly WHO has permissions to do WHAT. When you launch this tool it analyzes a users effective NTFS permissions for a specific file or folder, takes into account network share access, then displays the results in a nifty desktop dashboard!
Think of all the frustration that this free utility saves when you are troubleshooting authorization problems for users access to a resource. Give this permissions monitor a try – it’s free!
Example of VBScript with Error 80004005
I have to admit this may not be terribly useful example for your specific problem, but then Code 80004005 is invariably a vague permission problem.
Dim strPassword, strValidPWord
WScript.Echo "Enter password to run script:"
If strPassword <> strValidPWord Then WScript.Quit
WScript.Echo "Hi Password"
Windows Management Instrumentation (WMI) is one of the hidden treasures of Microsoft operating systems. Fortunately, SolarWinds have created the WMI Monitor so that you can examine these gems of performance information for free. Take the guess work out of which WMI counters to use for applications like Microsoft Active Directory, SQL or Exchange Server.
Do you need additional help?
- For interpreting the WSH messages check Diagnose 800 errors.
- For general advice try my 7 Troubleshooting techniques.
- See master list of 0800 errors.
- Codes beginning 08004…
- Codes beginning 08005…
- Codes beginning 08007…
- Codes beginning 0800A…
Give something back?
Would you like to help others? If you have a good example of this error, then please email me, I will publish it with a credit to you:
What next? Try my eBook:
If you like this page then please share it with your friends