Register ActiveX DLL or OCX Files on 64-BIT Windows

regsvr32 c:\WINDOWS\system32\WebAgent4.ocx
Screenshot 2015-06-17 13.52.17


If you receive an error when registering a 32-bit DLL or OCX on a 64-bit version of Windows, follow these steps:


1. Open an elevated command prompt – its important the command window has Administrator access otherwise you will continue to see errors:


in Windows Vista or 7:
Select Start > All Programs > Accessories
Right-click on “Command Prompt” in the Accessories
Click “Run as Administrator”


in Windows 8:
Open the “Quick Link” menu (by holding down the Windows 8 logo key  and pressing the X key)
Select “Command Prompt (Admin)”
Select “Yes” to allow changes


2. If the 32-bit DLL or OCX is in the %systemroot%\System32 folder, move it to the %systemroot%\SysWoW64 folder.


3.Run the following command:
%systemroot%\SysWoW64\regsvr32 <full path of the DLL or OCX>

In my example this would be: %systemroot%\SysWOW64\regsvr32 C:\Windows\SysWOW64\WebAgent4.OCX
Screenshot 2015-06-17 13.56.25


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s