Known issues with this security update
Windows Common Control-based embedded ActiveX controls may fail to load within pre-existing Office documents, within third-party add-ins, and when you insert new controls in developer mode.
Recommended resolutionA fix is now available for download that installs the control and also fixes the registration of the control. We recommend that you install this fix to resolve the issue. You can download the fix
here.
Note You do not have to install security update 2597986 before you install this fix in order to resolve the issue.
Note If you do not install the fix and choose other resolution, you may experience the same issue when you install an update for the Office which is released after the MS12-060.
Additional resolutionIf you prefer, you can use the Fix it solution to have us fix this problem for you. To do this, go to the "
Fix it for me" section.
Workaround
To work around this problem, you can use Registry Editor to delete the related registry entry. Then, use the
Regsvr32 command to register the Mscomctl.ocx file. You can also create a batch file to automate this.
Manually delete the related registry entryImportantThis section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To delete this registry entry, follow these steps:
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click the following subkey in the registry:
HKEY_CLASSES_ROOT\TypeLib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0
- On the Edit menu, click Delete, and then click Yes.
- Exit Registry Editor, and then restart the computer.
Manually register the Mscomctl.ocx fileNote You must run the commands from commands at an elevated command prompt with administrator permissions. To do this, follow these steps:
- Click Start, type cmd.
- Right-click the cmd icon, and then click Run as Administrator.
- Depending on your operating system, type the either of the following commands, and then press Enter:
- For 64-bit operating systems, type the following:
Regsvr32 "C:\Windows\SysWOW64\MSCOMCTL.OCX"
- For 32-bit operating systems, type the following:
Regsvr32 "C:\Windows\System32\MSCOMCTL.OCX"
Create a batch file to delete the related registry entry and register the Mscomctl.ocx fileYou can create a batch file to delete the registry entry and register the Mscomctl.ocx file. To create the batch file, copy the following text to a text file, and then save the text file by using a ".bat" file name extension. (The following example detects whether the operating system is 32-bit or 64-bit, and then it runs the appropriate command.)
reg delete hkcr\typelib\{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}\2.0 /f
if exist %systemroot%\SysWOW64\cscript.exe goto 64
%systemroot%\system32\regsvr32 /u mscomctl.ocx
%systemroot%\system32\regsvr32 mscomctl.ocx
exit
:64
%systemroot%\sysWOW64\regsvr32 /u mscomctl.ocx
%systemroot%\sysWOW64\regsvr32 mscomctl.ocx
exit
To run the
regsvr32 commands silently, add a
/s switch to each of the
regsvr32 commands in the previous example. For example:
%systemroot%\system32\regsvr32 /u mscomctl.ocx /s
Note You must run the batch file as an administrator:
- To do this in Windows Vista, Windows Server 2008, Windows 7, or Windows Server 2008 R2, right-click the batch file, and then click Run as administrator.
- To do this in Windows XP or Windows Server 2003, press and hold the Shift key, right-click the batch file, and then click Run as administrator.
For more information about how to start a program as an administrator, go to the following Microsoft webpage:
For more information about how to register an ActiveX control, click the following article number to view the article in the Microsoft Knowledge Base:
2746232 How to register an ActiveX control manually (.ocx)
Fix it for me
The Fix it solutions that are described in this section are not intended to be a replacement for any security update. We recommend that you always install the latest security updates. However, we offer these Fix it solutions as workaround options for some scenarios.
Fix it solution for Windows 8-based systems
To enable this Fix it solution, click the
Fix it button or link under the
Enable heading, click
Run in the
File Download dialog box, and then follow the steps in the Fix it wizard.
Notes- This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
- If you are not on the computer that has the problem, you can save the automatic fix to a flash drive or a CD and then run the fix on the computer that has the problem.
Fix it solution for supported versions of Windows earlier than Windows 8
To enable this Fix it solution, click the
Fix it button or link under the
Enable heading, click
Run in the
File Download dialog box, and then follow the steps in the Fix it wizard.
Notes- This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
- If you are not on the computer that has the problem, you can save the automatic fix to a flash drive or a CD and then run the fix on the computer that has the problem.