While using regsvr32 to register DLL or OCX files, users have to face lots of complications. Some of them just forget about such a process because its a little tricky to handle. But some start getting error codes like 0x80070005 & 0x80040201.
So if you ever face such sort of complications, you can use my guide to solve the issue. Here, I’ll discuss How To Fix DLLRegisterserver Failed on Windows. Because I think that no one should ever face such a sort of critical situation.
4 Ways to Fix DLLRegisterserver Failed on Windows 10
Disable Third-Party Antivirus
If you are not using an antivirus that’s from Microsoft, then you should disable it instantly. Because when you are using antivirus software, it may interrupt your process while registering DLL or OCX files. So turn its protection off for some time and see if it solves the issue.
Use Elevated Command Prompt
Many users get DLLRegisterserver Failed error because they refuse to use elevated command prompt. For such users, there’s no sin in using this windows utility for your ease. So just open the command prompt with admin privileges through the Cortana search bar. And try using it to register DLL or OCX files.
Copy OCX into SYSWow64 (Only for OCX files)
- Launch file explorer on your Windows OS.
- Navigate to C: > Windows > System32.
- Use the search bar to locate the OCX files that are causing DLLRegisterserver Failed error.
- Once located, right-click on the file and select Copy.
- Now open C: > Windows > SYSWow64 folder.
- After opening the folder, press CTRL+V from your keyboard to paste the file.
- Use command prompt to run regsvr32 command on your desired OCX file.
Customize Windows Registry
- Press Windows + R keys.
- Type Regedit in the box and press enter.
- Navigate to the following path:
- Right-click on TypeLib and hit Permissions.
- Now select your user account
- If the desired account is not available, click on Add
- After making the appropriate selection, ensure that Full Control’s box Allow is checked.
- First, click on Apply and then OK.
- Close the Windows Registry and reboot your PC.
That’s all, keep visiting WindowsBoy for more.