RegSvr32 is a built-in tool by Microsoft Windows, used to register system files such as .ocx files.
To register and unregister .ocx file, open Command Prompt as an administrator.
To register the .ocx file, open Command Prompt as an administrator, enter the installation folder, and run the "regsvr32" command. You'll receive a confirmation if the .ocx file is successfully registered.
Unregistering an ocx file deletes the .ocx information from the Windows registry. Keep in mind some ocx files can't be unregistered.