What does 'Class not registered' error mean on Windows?

The short answer

Windows shows “Class not registered” when it can’t find a required software component in its registry, usually because a program wasn’t installed correctly or a default app setting is broken.

Why does this happen?

Windows uses a system called the registry to keep track of which software components handle which tasks. When you open a file or launch a program, Windows looks up the right component in the registry. If that entry is missing or damaged, you get this error.

Common causes include:

  • A program was uninstalled incorrectly — leftover or missing registry entries can confuse Windows about which app should handle a task
  • Default app settings got corrupted — Windows doesn’t know which program to use for opening certain files like images, PDFs, or web links
  • A Windows update broke something — updates sometimes reset or damage app registrations
  • A DLL file wasn’t registered properly — a required software component wasn’t set up correctly during installation
  • You’re using a 32-bit program on 64-bit Windows — the program is looking in the wrong part of the registry

How to fix it

Try these steps, starting with the easiest:

  • Reset your default apps — go to Settings > Apps > Default Apps and set the correct programs for each file type, especially your web browser and photo viewer
  • Re-register the affected program — uninstall the program, restart your computer, and reinstall it
  • Re-register Windows components — open Command Prompt as administrator and run sfc /scannow to repair system files
  • Re-register DLL files — open Command Prompt as administrator and run regsvr32 ExplorerFrame.dll (replace with the specific DLL if known)
  • Reset Microsoft Store apps — if the error involves a built-in Windows app, open Command Prompt as administrator and run Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} in PowerShell

When should you worry?

This error is almost always fixable and not a sign of serious damage. However, if it appears repeatedly across different programs, it could mean your Windows registry has widespread corruption or that malware has tampered with system settings. In that case, run a full antivirus scan and consider using System Restore to roll back to a point before the errors started.