What is MSCOMCTL.OCX?
MSCOMCTL.OCX is a set of 32-bit controls provided with Microsoft Visual Basic 6.0 programming environment and stored on the hard drive in a PC. It includes common controls used by Windows, such as ToolBar, Slider, ImageCombo, etc.
Some programs require the access to MSCOMCTL.OCX file while installing. To use MSCOMCTL.OCX, you have install or register it with your operating system, which stores the entry of the file in the database and lets your operating system know it is present in the specific directory. Then the access of MSCOMCTL.OCX can be given to the applications which require the file.
If you receive an error message “Component ‘MSCOMCTL.OCX’ or one of its dependencies not correctly registered: a file is missing or invalid” while installing a certain application, the MSCOMCTL.OCX in your computer might be missing or unregistered. To fix the problem and install the application successfully, you need to check the file and register it.
How to Fix MSCOMCTL.OCX Missing Windows 10
As the MSCOMCTL.OCX is stored on different directories in different types of systems ( 32-bit or 64-bit), you should check your system type at first. Please press Win + I to open Windows Settings. In Settings, click System category. Then, in the left pane, select About tab, and you can check your System type in the right pane.
After that, you can follow the tutorial below to fix the MSCOMCTL.OCX missing Windows 10 according to your own case.
For 64-bit System:
If you are facing problems related to MSCOMCTL.OCX on Windows 10 which is 64-bit, here is what you need to do:
Step 1: Check if you have the MSCOMCTL.OCX file on Windows 10 PC. You can press Win + E to open File Explorer, and then navigate to the location C:\Windows\SysWOW64.
Step 2: If you can find the target file in this location, you can go to the next step to register it. Otherwise, you need to copy one from another computer with the same operating system version and type.
Warning: You can also download the file from the website, but you are great likely to face the risk of being attacked by virus or malware, as some virus or malware might pretend to be a system file.
Step 3: Press Win + S to open Search utility and type cmd in the search box. In the search result, right-click Command Prompt and select Run as administrator.
Step 4: In Command Prompt, input the following commands one by one and press Enter after each:
- cd C:\Windows\SysWOW64 (to change the current directory of Command Prompt)
- regsvr32 mscomctl.ocx (to register MSCOMCTL.OCX on Windows 10)
After you see a pop-up message which says “ DIIRegisterServer in mscomctl.ocx succeeded “, you can exit Command Prompt and try installing the program that is stopped by MSCOMCTL.OCX missing error again to check if the problem has been solved.
For 32-bit System
The method to solve MSCOMCTL.OCX missing error on 32-bit Windows 10 is similar to that of 64-bit system. The differences locate on the file location and the commands you should use. Now, let’s see how to do it.
Step 1: Open File Explorer and navigate to C:\Windows\System32. Then make sure the MSCOMCTL.OCX file is in the involved location.
Step 2: Run Command Prompt as administrator and execute the following commands:
Wait until the file is registered successfully, and the problem should have been solved.
Originally published at https://www.partitionwizard.com on October 12, 2020.