If you see a “Class not registered” error on Windows 10, it usually means a program or Windows feature is trying to use a component (a DLL or COM object) that isn’t properly registered in the system registry. The fix is to re-register the component, repair the affected app, or run system file checks — the exact steps are below.
What Causes the “Class Not Registered” Error?
Windows 10 relies on a system called COM (Component Object Model) to let programs share features like file previews, photo viewers, or Office add-ins. When a program references a COM class, Windows looks up its registry entry to find the correct DLL file. If that entry is missing, broken, or points to a file that no longer exists, you get the “Class not registered” error.
Common triggers include:
- A recent Windows update changed how certain components are loaded.
- An app was uninstalled but left behind broken registry entries.
- Microsoft Office or another suite was partially removed or reinstalled.
- You’re trying to open a file type that no longer has an associated app.
- Antivirus software quarantined or blocked a needed DLL.
Quick Fix: Re-register the DLL
Many “Class not registered” errors are resolved by re-registering the DLL file that the error message names. Here’s how:
- Press Windows + X and select Windows Terminal (Admin) or Command Prompt (Admin).
- Type the following and press Enter — replace
filename.dllwith the DLL from the error message (for example,jscript.dllorvbscript.dll):regsvr32 filename.dll - You should see a confirmation that the registration succeeded. If not, note the error code.
- Restart your computer and try the action again.
If you don’t know which DLL is failing, try re-registering the most common ones: jscript.dll, vbscript.dll, and scrrun.dll.
Repair the Affected Application
When the error appears only in one program — like Microsoft Office, Adobe Reader, or a photo viewer — the app’s own installation is likely damaged. Re-registering the DLL may not help because the app’s installer needs to fix its components.
To repair an app in Windows 10:
- Open Settings → Apps → Apps & features.
- Find the app that triggers the error.
- Click it and select Modify or Advanced options (depending on the app).
- Choose Repair if available. If not, run the app’s installer from its official website and choose “Repair.”
For Microsoft Office specifically, go to Control Panel → Programs and Features, select Office, click Change, and choose Quick Repair first. If that doesn’t work, try Online Repair, which takes longer but replaces more files.
Run System File Checker and DISM
Corrupted Windows system files can also cause the error. Two built-in tools can find and fix them:
- Open an elevated Command Prompt (as in the previous section).
- Run
sfc /scannowand wait for it to finish. It will replace corrupted protected system files. - If SFC finds issues it can’t fix, run
DISM /Online /Cleanup-Image /RestoreHealth. This repairs the Windows image that SFC uses. - Restart your PC after both commands complete.
These tools take 10–30 minutes, but they’re safe and don’t touch your personal files.
Check File Associations
Sometimes the error appears when you double-click a file (like a .jpg or .pdf) and Windows can’t find the right program. The “class” that’s not registered is the file type’s handler.
To fix a broken file association:
- Right-click the file and choose Open with → Choose another app.
- Select the correct program (e.g., Photos for images, Adobe Reader for PDFs).
- Check the box “Always use this app to open .xxx files” and click OK.
If the right app isn’t listed, click “More apps” and browse to the app’s executable. You can also reset all file associations in Settings → Apps → Default apps → scroll down and click Reset.
Reinstall the Microsoft Visual C++ Redistributables
Many Windows apps rely on Visual C++ runtime libraries. If a required runtime is missing or outdated, you can get “Class not registered” errors, especially in games or business software.
Go to Microsoft’s official download page for Visual C++ Redistributables and install the latest supported versions (both x86 and x64, even on 64-bit Windows, because many apps use the 32-bit runtime). After installing, restart your computer.
If you already have them installed, uninstall all versions and reinstall the latest ones. This often clears errors that come from mixed or corrupted runtime files.
Frequently Asked Questions
Why does “Class not registered” appear when I open a photo or PDF?
That’s a file association problem. Windows doesn’t have a registered handler for that file type, so it can’t launch the app. Use “Open with” to set the correct default app, or reset all default apps in Settings.
Can I ignore this error?
Usually not — the program or feature won’t work until the component is registered. If it appears only once and doesn’t affect anything, you can ignore it, but it’s safer to fix it because it may indicate a deeper system issue.
Will re-registering DLLs harm my computer?
No, using regsvr32 on a legitimate DLL is safe. It only adds a registry entry. Avoid downloading DLLs from random websites — that’s a common malware vector. Only use files that came with Windows or the app.
What if I get an error when running regsvr32?
If regsvr32 says “The module was loaded but the entry-point DllRegisterServer was not found,” the file isn’t a COM DLL — don’t force it. If it says “Access denied,” make sure you’re running the command as administrator.
Does this error mean my hard drive is failing?
No. “Class not registered” is a software/registry issue, not a hardware one. If you also see disk errors or blue screens, you might have a failing drive, but this error alone doesn’t indicate that.
Should I use a registry cleaner?
No. Registry cleaners are not recommended by Microsoft and can cause more harm than good. The steps above target the specific registry entries that need fixing without risking your whole system.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Google Chrome Helper: What It Is & How to Disable
- Fix 0x80070422 on Windows Server (Step-by-Step)
- How to Troubleshoot a Malfunctioning Driver on Windows
- How to Create Folders in Microsoft Outlook
- Fix Status Range List Conflict 0xc0000282 in Windows
- Fix Software Not Uninstalling on Windows 10