Programs can't detect the Office/WPS COM interface: how to fix it
About 1042 words
Note
This article is also published on CSDN. Both versions are by AlanCRL.
New feature
Inkeys 20260102a introduced PPT Presentation Helper 3, which keeps working even when COM is broken and supports Microsoft PowerPoint 2007 and Kingsoft WPS 2013 or later. Download it and give it a try. See the PPT Presentation Helper 3 introduction for details.
Introduction
Programs written in C#, VB and similar languages often rely on Office COM (Inkeys is one of them). When several programs conflict with each other, they can corrupt the registry, and the COM interface can no longer be detected. This article shows you how to fix that.
The root cause is a broken registry, but editing the registry by hand is complicated. The steps below work for most people.
First, try running the program as administrator and see whether it detects COM. If it fails no matter how you run it, read on. If it works as administrator and Office won't run without administrator rights, see this article instead.
When this applies
- The Office COM interface (Word, PowerPoint, Excel and so on) of Microsoft Office, WPS, or both doesn't work.
Whether you only have WPS installed and its COM doesn't work, or you have both installed and one of them doesn't work, the same general steps fix it.
Any version of Microsoft Office is covered, such as 365, 2024, 2021, 2019 and 2016.
What you need
We mainly use it to repair registry and local file errors. It also helps if you only have WPS installed and its COM interface is broken.
Steps
The screenshots below are from Chinese versions of Windows and the programs involved. Button and menu names are given in English with the Chinese label in parentheses.
1. Uninstall every program that registers COM
Microsoft PowerPoint (if installed)
Whether you have the Store version or the Click-to-Run/MSI version, you can uninstall it from Settings or Control Panel.
If the normal uninstall doesn't work, use the forced uninstall in the Office Tools Plus toolbox. 
WPS (if installed)
You can also uninstall it from Settings or Control Panel. Make sure to choose "No longer use it" (不再使用) in the options below and clear the data. 
Changyan Smart Classroom (畅言智慧课堂, if installed)
This program changes the COM registry when it installs, to stop other programs from reading COM, so uninstall it as well.
2. Restart your PC
After everything is uninstalled, restart your PC to clean up leftover files.
3. Repair the registry and COM environment
Open Office Tools Plus

Go to Toolbox (工具箱) and click Remove Office (移除 Office) under Office tools
Once it finishes, move on to the next step.
4. Reinstall the Office software you need
Very important! If you need both Microsoft Office and WPS, install Microsoft Office first and WPS after it (not the other way round, and not at the same time). When installing WPS, be sure to check the option shown below. (If you forget, the COM interface of Microsoft Office will stop working, and changing the option after installation may not help. You would then have to start this article over.) 
Checkpoint (most problems are solved here)
If COM works again, congratulations! If Microsoft Office still doesn't work (and if you installed 32-bit WPS, you may notice that WPS does), keep following the steps.
A closer look at harder cases
Most likely a third-party program broke the registry entries of the 32-bit COM interface. PowerPoint is usually installed as 64-bit or ARM64, so it can't overwrite those broken entries. WPS is usually 32-bit, so it overwrites them correctly and gets detected. 64-bit WPS probably wouldn't be detected either. Let's fix it step by step.
5. Repeat the steps
Repeat steps 1 to 3: uninstall everything, restart, then repair. Next, use Office Tools Plus to install 32-bit/ARM (32-bit) Office. (We only use the 32-bit version to repair the 32-bit registry. If you plan to use 64-bit in the end, uninstall the 32-bit version once it's installed, then install 64-bit.)
6. Deploy 32-bit/ARM (32-bit) Microsoft Office
Choose to deploy 32-bit Office (be sure to include Word, Excel and PowerPoint). 
It doesn't matter if you only use WPS or don't have an Office license. We only download Office to repair the registry, so it doesn't need to be activated.
Click Deploy and wait for the installation to finish. Then open any Office app and accept the license agreement. 
Checkpoint
The COM interface of the newly installed Office now works. If you wanted 32-bit Office anyway, you can stop here.
7. Force-uninstall 32-bit Microsoft Office
As in step 3, uninstall it with Office Tools Plus rather than the official uninstaller. (The official uninstaller restores the registry backup it made before installing, which brings back the broken registry and undoes all your work.) 
8. Reinstall the software you need
You can now install Office in whichever architecture you need. Follow step 4, and pay attention to the installation order and the option you need to check when installing WPS.
Checkpoint
If COM works again, congratulations! But if COM worked with 32-bit Microsoft Office and broke again after you installed 64-bit WPS, the 64-bit COM is broken too. Start again from step 5, this time installing 64-bit/ARM64 Microsoft Office.
We hope this article helps.