Component ‘RICHTX32.OCX’ or one of its dependencies not correctly registered: a file is missing or invalid

I have RICHTX32.OCX registered and MSCOMCT2.OCX registered as well using a batch file initiated by Computer Group Policy.

[RegOcx.cmd]
cd %systemroot%\SysWoW64
copy \\2012fs01\software\ocx\*.* C:\Windows\SysWoW64 /y
%systemroot%\SysWoW64\regsvr32.exe RichTx32.ocx /s
%systemroot%\SysWoW64\regsvr32.exe MSCOMCT2.ocx /s

When I test this on the Windows 2012 R2 64 bit server with my own username, which is an admin.The VB6 program runs ok. When a non-admin user runs it, they claim to get this:

Component RICHTX32.OCX or one of its dependencies not correctly registered: a file is missing or invalid.

All users can read/execute this RICHTX32.OCX file. Why is this happening I can’t find anything about this anywhere? Could it be a registry key permission issue?

Thanks Scott Emick

Leave a Comment