Running into Windows Error code 0x8002801c (TYPE_E_REGISTRYACCESS.This error is due to Error accessing the OLE registry.) can slow up your day. Searching out this guide will help you take care of the Registry problem once and for all.
If you are attempting to register OCX files in Windows 7 Pro, you may see this error code, especially if you are using the Command Prompt method of using regsvr32.
Do following to prevent Windows code 0x8002801c
You will get an error if you try to register the OCX from c: windows\system 32. To solve this problem, copy the MSCOMCT2.OCX file to c:\windows\sysWOW64. Register it, by running the command prompt or running regsv432 from the Start menu, as follows: regsvr32 c:\windows\sysWOW64 \mscomct2.ocx. This should allow the registration to take place. You should be running regsvr32 with administrator privileges.
TipFor more information, please see: How to fix Registry error #0x8002801c