sodcalculator

10 Tech How-To

Fix Class not registered in explorer.exe on Windows 10

Guide 10-45053 · Updated · Step by step

Yes, the “Class not registered” error in explorer.exe on Windows 10 is fixable, usually by re-registering the Windows shell components or repairing system files. This article explains the most effective fixes, why the error appears, and how to prevent it from coming back.

What Causes “Class not registered” in explorer.exe?

The error typically appears when you try to open a folder, right-click an item, or launch a file and Windows reports that a COM class (a software component) is not registered. This often happens after a Windows update, a third-party shell extension (like a context menu add-on) goes wrong, or a system file gets corrupted. The registry entry that tells Windows which program handles a certain action is missing or broken.

Before You Start: Basic Checks

Try these quick steps first—they solve the problem in many cases without deeper fixes:

  • Restart your PC. This clears temporary glitches.
  • Run Windows Update and install any pending updates.
  • Check if the error occurs in a specific folder or app. If it only happens with one file type, the associated app may be the problem.
  • Create a new Windows user account and test. If the error disappears, your user profile is corrupted.

Fix 1: Re-register the Windows Runtime Components

The most common fix is to re-register the built-in Windows apps and their components using PowerShell. This restores the COM registrations that explorer.exe relies on.

  1. Right-click the Start button and select Windows PowerShell (Admin) or Terminal (Admin).
  2. Copy and paste this command, then press Enter:
    Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
  3. Wait for the process to finish. It may take a few minutes and show red errors—that’s normal for some packages.
  4. Restart your PC and check if the error is gone.

Fix 2: Run System File Checker and DISM

If re-registering doesn’t help, corrupted system files are the next suspect. Windows has built-in tools to repair them.

  1. Open Command Prompt as Administrator (type “cmd” in Start, right-click, select “Run as administrator”).
  2. Run sfc /scannow and wait for it to complete.
  3. Then run DISM /Online /Cleanup-Image /RestoreHealth.
  4. Restart your PC.

These tools replace damaged system files with healthy ones. SFC scans and repairs, while DISM fixes the image that SFC uses.

Fix 3: Check and Remove Problematic Shell Extensions

Shell extensions add items to your right-click menu or change how folders behave. A poorly coded extension can cause the “Class not registered” error. You can identify and disable them using a free tool called ShellExView (from NirSoft).

  1. Download and run ShellExView (it’s portable, no install needed).
  2. Sort by “Type” and look for entries that are not from Microsoft (the company column).
  3. Right-click suspicious entries and select “Disable Selected Items”.
  4. Restart Explorer (right-click taskbar → Task Manager → find “Windows Explorer” → right-click → Restart).

If the error goes away, re-enable extensions one by one to find the culprit.

Fix 4: Repair or Reset the Affected App

If the error appears when opening a specific app (like Photos or Mail), the app’s registration may be broken. You can reset it in Settings:

  1. Go to Settings → Apps → Apps & features.
  2. Find the app, click it, and select Advanced options.
  3. Click Repair first. If that doesn’t work, click Reset (this deletes the app’s data, so back up anything important).

Fix 5: Perform a System Restore or In-Place Upgrade

If nothing else works, you can roll back to a previous restore point or do an in-place upgrade (also called a repair install). System Restore is less invasive:

  1. Search for “Create a restore point” in Start.
  2. Click System Restore and choose a point before the error started.
  3. Follow the prompts and restart.

An in-place upgrade reinstalls Windows while keeping your files and apps. You’ll need the Windows 10 installation media (from Microsoft’s website) and run setup.exe from within Windows. This takes about an hour but often fixes deep system issues.

Frequently Asked Questions

Why does this error happen after a Windows update?

Updates can change how Windows registers COM classes. Sometimes the update process doesn’t complete cleanly, leaving old registrations that don’t match the new files. Re-registering the components (Fix 1) usually resolves this.

Is it safe to run the PowerShell command?

Yes, the command only re-registers Windows apps that are already installed. It doesn’t delete anything. It’s a standard troubleshooting step recommended by Microsoft support.

Will I lose my files if I do an in-place upgrade?

No, an in-place upgrade keeps your personal files, installed apps, and most settings. However, it’s always wise to back up important data before starting, just in case.

Can a third-party antivirus cause this error?

Yes, some security software integrates with Explorer and can interfere with COM registration. Try temporarily disabling your antivirus (or uninstalling it) to see if the error stops. If it does, contact the antivirus vendor for an update.

What if the error only happens in File Explorer, not other apps?

That points to a shell extension or a corrupted Explorer component. Try Fix 3 first, then Fix 1. If the problem persists, consider a system restore.

Is there a way to prevent this in the future?

Keep Windows updated, avoid installing too many shell extensions, and regularly run sfc /scannow after major updates. Also, create a restore point before installing new software.

By following these steps in order, you should be able to eliminate the “Class not registered” error in explorer.exe and get back to normal use.

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

The whole Tech How-To bed →