"Class not registered" error is usually caused by incorrect registration of COM objects. Solutions include: 1. Run the program as an administrator; 2. Use regsvr32 to re-register the relevant DLL or OCX files, such as scrrun.dll, msxml3.dll, etc.; 3. If it is an Office-related problem, select to repair Microsoft Office online through the control panel; 4. Ensure that the 32-bit or 64-bit DLL is registered with the corresponding version of regsvr32. The 32-bit DLL should use C:\Windows\SysWOW64\regsvr32.exe; 5. Uninstall and reinstall the problematic software to ensure that the components are registered correctly; 6. Run sfc /scannow and DISM /Online /Cleanup-Image in the administrator command prompt. /RestoreHealth repairs system files; 7. View application logs through event viewer and locate the specific missing class ID (CLSID); 8. If the error occurs in the browser, enable ActiveX control support, but only for trusted sites. Troubleshooting in this order usually solves the problem.
The "Class not registered" error in Windows 10 usually appears when an application tries to access a COM (Component Object Model) object or ActiveX control that isn't properly registered in the system. This commonly happens with older software, Office applications, web browsers using ActiveX, or tools relying on specific DLLs.

Here's how to fix it:
1. Run the App as Administrator
Sometimes, the issue is due to insufficient permissions.

- Right-click the application or shortcut.
- Select "Run as administrator" .
- If it works, set it permanently:
- Right-click → Properties → Compatibility tab → Check "Run this program as an administrator" .
2. Re-register the Problematic DLL or OCX File
The missing or corrupted class might be tied to a specific file. You'll need to re-register it using regsvr32
.
Steps:
- Press Win X → Choose Command Prompt (Admin) or Windows Terminal (Admin) .
- Type the following command (replace
filename.dll
with the actual file if known):
regsvr32 filename.dll
If you don't know the file, common culprits include:
scrrun.dll
(Scripting Runtime)msxml3.dll
,msxml6.dll
(XML support)jscript.dll
vbscript.dll
ole32.dll
actxprxy.dll
Example:
regsvr32 scrrun.dll
? You should see a "DllRegisterServer in [file] succeeded" message.
?? If you get an error, the file might be missing or corrupted.
3. Repair Microsoft Office (If Error is Office-Related)
This error is frequently in Outlook, Excel, or Word when add-ins fail.
Try this:
- Go to Control Panel → Programs → Programs and Features .
- Select Microsoft Office → Click Change → Choose Repair .
- Use Online Repair (not Quick Repair) for best results.
After repair, restart your PC.
4. Check 32-bit vs 64-bit Compatibility
Windows has separate registries for 32-bit and 64-bit COM classes.
- If you're using a 32-bit app on 64-bit Windows , it looks in
Wow6432Node
. - A mismatch can cause "Class not registered".
Fix:
- Make sure you're registering the correct version of the DLL.
- Use the 32-bit version of regsvr32 for 32-bit DLLs:
-
C:\Windows\SysWOW64\regsvr32.exe
(for 32-bit) -
C:\Windows\System32\regsvr32.exe
(for 64-bit)
-
So, to register a 32-bit DLL:
C:\Windows\SysWOW64\regsvr32.exe filename.dll
5. Reinstall the Problematic Software
If the app causing the error isn't part of Windows or Office:
- Uninstall it completely.
- Download the latest version from the official site.
- Reinstall it (preferably as admin).
This ensures all COM components are registered correctly during setup.
6. Scan for System File Corruption
Corrupted system files can break COM registration.
Run these commands in an elevated Command Prompt :
sfc /scannow
After it finishes, run:
DISM /Online /Cleanup-Image /RestoreHealth
Restart your PC after both complete.
7. Check Event Viewer for Clues
To identify the exact missing class:
- Press Win X → Event Viewer .
- Go to Windows Logs → Application .
- Look for Error entries around the time the crash happened.
- The details may show something like:
"Class not registered: {XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXX}"
You can search online for that CLSID to identify the missing component.
8. Enable ActiveX in Browser (If Web-Based)
If the error occurs in Internet Explorer or a legacy web app:
- Open Internet Options → Security tab.
- Select Internet zone → Click Custom Level .
- Scroll down to ActiveX controls and plug-ins .
- Enable:
- Run ActiveX controls and plug-ins
- Script ActiveX controls marked safe
?? Only do this on trusted sites.
Summary Checklist:
- ? Run as administrator
- ? Re-register relevant DLLs using
regsvr32
- ? Repair or reinstall the affected software (especially Office)
- ? Use correct 32/64-bit regsvr32 version
- ? Run
sfc /scannow
and DISM - ? Check Event Viewer for the missing class ID
- ? Reinstall the app if nothing works
Most "Class not registered" errors are fixed by re-registering the right component or repairing the software. The key is identifying which class or app is failing — once you know that, the solution is usually straightforward.
The above is the detailed content of how to fix 'class not registered' error on win 10. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

When the Windows Security Center is blank or the function is missing, you can follow the following steps to check: 1. Confirm whether the system version supports full functions, some functions of the Home Edition are limited, and the Professional Edition and above are more complete; 2. Restart the SecurityHealthService service to ensure that its startup type is set to automatic; 3. Check and uninstall third-party security software that may conflict; 4. Run the sfc/scannow and DISM commands to repair system files; 5. Try to reset or reinstall the Windows Security Center application, and contact Microsoft support if necessary.

The computer is stuck in the "Undo Changes made to the computer" interface, which is a common problem after the Windows update fails. It is usually caused by the stuck rollback process and cannot enter the system normally. 1. First of all, you should wait patiently for a long enough time, especially after restarting, it may take more than 30 minutes to complete the rollback, and observe the hard disk light to determine whether it is still running. 2. If there is no progress for a long time, you can force shut down and enter the recovery environment (WinRE) multiple times, and try to start repair or system restore. 3. After entering safe mode, you can uninstall the most recent update records through the control panel. 4. Use the command prompt to execute the bootrec command in the recovery environment to repair the boot file, or run sfc/scannow to check the system file. 5. The last method is to use the "Reset this computer" function

Encountering something went wrong 657rx can be frustrating when you log in to Microsoft Teams or Outlook. In this article on MiniTool, we will explore how to fix the Outlook/Microsoft Teams error 657rx so you can get your workflow back on track.Quick

When encountering the "RPCserverisunavailable" problem, first confirm whether it is a local service exception or a network configuration problem. 1. Check and start the RPC service to ensure that its startup type is automatic. If it cannot be started, check the event log; 2. Check the network connection and firewall settings, test the firewall to turn off the firewall, check DNS resolution and network connectivity; 3. Run the sfc/scannow and DISM commands to repair the system files; 4. Check the group policy and domain controller status in the domain environment, and contact the IT department to assist in the processing. Gradually check it in sequence to locate and solve the problem.

When you encounter the "DefaultGatewayisNotAvailable" prompt, it means that the computer cannot connect to the router or does not obtain the network address correctly. 1. First, restart the router and computer, wait for the router to fully start before trying to connect; 2. Check whether the IP address is set to automatically obtain, enter the network attribute to ensure that "Automatically obtain IP address" and "Automatically obtain DNS server address" are selected; 3. Run ipconfig/release and ipconfig/renew through the command prompt to release and re-acquire the IP address, and execute the netsh command to reset the network components if necessary; 4. Check the wireless network card driver, update or reinstall the driver to ensure that it works normally.

When encountering the "SYSTEM_SERVICE_EXCEPTION" blue screen error, you do not need to reinstall the system or replace the hardware immediately. You can follow the following steps to check: 1. Update or roll back hardware drivers such as graphics cards, especially recently updated drivers; 2. Uninstall third-party antivirus software or system tools, and use WindowsDefender or well-known brand products to replace them; 3. Run sfc/scannow and DISM commands as administrator to repair system files; 4. Check memory problems, restore the default frequency and re-plug and unplug the memory stick, and use Windows memory diagnostic tools to detect. In most cases, the driver and software problems can be solved first.

Windows 11 KB5062660 is now rolling out as an optional update for Windows 11 24H2 with a few new features, including Recall AI in Europe. This patch is available via Windows Update, but Microsoft has also posted direct download l

How to use command prompt to repair Windows 11? 1. Enter the command prompt through the recovery environment: enter the recovery environment through USB boot or three consecutive interrupts, and then select Troubleshooting > Advanced Options > Command Prompt; 2. Use DISM to repair the system image: Run DISM/Online/Cleanup-Image/CheckHealth to check for corruption, DISM/Online/Cleanup-Image/ScanHealth scanning problem, DISM/Online/Cleanup-Image/RestoreHealth to repair the problem, and specify an external source if necessary; 3. Run SF
