Version 1

REM MSCOMCTLfix.cmd
REM Repairs the registration of MSCOMCTL.OCX after installatieon of a certain Microsoft security update.
REM http://www.fmsinc.com/MicrosoftAccess/controls/mscomctl/index.htm
REM http://support.microsoft.com/KB/2687441/en-us
REM http://support.microsoft.com/kb/2597986/en-us
REM 2010910, v1
:
REG DELETE "HKEY_CLASSES_ROOT\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0" /f
IF EXIST C:\WINDOWS\SysWOW64 CD /D C:\WINDOWS\SysWOW64
IF NOT EXIST C:\WINDOWS\SysWOW64 CD /D C:\WINDOWS\system32
regsvr32 /u MSCOMCTL.OCX
regsvr32 MSCOMCTL.OCX

Note: the regsrv32 commands aren't silent. If they need to be, add a ā€œ/sā€ parameter.

Sources:
Bytes - microsoft access / vba > microsoft access / vba questions MS Access Treeview error loading ActiveX control
Microsoft Support - MS12-060: Description of the security update for 2007 Office system: August 14, 2012
Microsoft Support - MS12-060: Description of the security update for Office 2010: August 14, 2012
FMS - Fixing the Microsoft Windows Common Control Library (MSCOMCTL.OCX) Security Update