This article explains how to use the regsvr32 command line tool in Windows and how to troubleshoot some regsvr32 errors. Regsvr32 is used to register and unregister Object Linking and Embedding (OLE) controls, such as DLL files and ActiveX Control .OCX files. You may need to register a DLL file if you see a DLL error on your computer.
Register or Unregister DLL or OCX Files in Windows 10/8/7
If the references in the Windows registry that point to the DLL file are somehow deleted or damaged, programs that require that DLL file may stop working. When this association with the registry is broken, a DLL file must be registered.
Registering a DLL file is usually accomplished by reinstalling the program that originally registered it. Sometimes, however, you may need to manually register the DLL file via the command prompt.
This is the correct way to structure a regsvr32 command: