sodcalculator

10 Tech How-To

Fix Class Not Registered Error in Windows 11

Guide 10-4772 · Updated · Step by step

If you’re seeing a “Class not registered” error in Windows 11, it usually means a program tried to open a file type or use a system component that Windows can’t locate in its registry. This often happens after a Windows update, a corrupted app installation, or when a default app association gets broken. The fixes below range from quick registry tweaks to reinstalling the affected app, and most take under ten minutes to complete.

What You’ll Need

  • An administrator account on your Windows 11 PC
  • Your Windows username (for locating app data folders)
  • Patience — some steps require a restart

Step-by-Step

  1. Restart Windows Explorer. Press Ctrl + Shift + Esc to open Task Manager. Find “Windows Explorer” in the Processes list, right-click it, and choose “Restart.” This clears temporary glitches and often resolves the error if it only appeared after a recent session.
  2. Run the SFC and DISM scans. Open Start, type cmd, right-click “Command Prompt,” and select “Run as administrator.” First run sfc /scannow and let it complete. Then run DISM /Online /Cleanup-Image /RestoreHealth. Both scans repair corrupted system files that can break class registrations. Restart your PC after they finish.
  3. Re-register the default apps for the file type. Go to Settings → Apps → Default apps. Scroll to find the app that’s throwing the error (e.g., Photos, Mail, or a PDF reader). Click it, then click each file type listed and choose a different app, then switch back to the original. This forces Windows to rewrite the registry entries for that app.
  4. Re-register all Windows apps via PowerShell. Right-click Start and select “Terminal (Admin).” Run this command: Get-AppxPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}. Wait for it to finish — it can take a few minutes. This re-registers every built-in Windows app without uninstalling them.
  5. Check the specific app that fails. If the error names a particular program (e.g., “Photos” or “Calculator”), go to Settings → Apps → Installed apps, find that app, click the three dots, and choose “Advanced options.” Then click “Repair.” If that doesn’t work, click “Reset” — this clears the app’s data but keeps your files.
  6. Reinstall the problematic third-party app. For non-Microsoft software, uninstall it from Settings → Apps → Installed apps, then download the latest version from the official website and install it fresh. This replaces any broken registry entries the installer created.
  7. Fix the registry manually (advanced). Open Registry Editor (type regedit in Start, run as administrator). Navigate to HKEY_CLASSES_ROOT\CLSID. Look for a key with a long GUID that matches the error message. Right-click it, select Permissions, and ensure your user account has Full Control. If the key is missing entirely, you’ll need to restore from a backup — see Troubleshooting below.
  8. Create a new user profile. If nothing else works, create a new local admin account via Settings → Accounts → Other users → Add account. Sign into that account and test the app. If it works, migrate your files and use the new profile permanently.

Common Mistakes

  • Skipping the restart after running SFC or re-registering apps. Windows needs a clean boot to apply registry changes.
  • Running PowerShell as a standard user — the re-registration command fails silently without admin rights.
  • Deleting registry keys without backing them up first. A wrong deletion can cause more errors than the one you’re fixing.
  • Using third-party “registry cleaner” tools — these often remove valid entries and make the problem worse.
  • Assuming it’s a virus — while malware can cause this, it’s far more commonly a Windows update or app install glitch.

Tips

  • Write down the exact error message before trying fixes — it often contains a CLSID (a long string of letters and numbers) that tells you which component is broken.
  • Create a system restore point before editing the registry (search “Create a restore point” in Start, then click “Create”).
  • Keep Windows Update current — Microsoft regularly ships fixes for registry-related bugs.
  • If the error happens in a specific app like Microsoft Office or Adobe Reader, check that app’s own repair tool first (usually under its Help menu or in Settings → Apps → Advanced options).
  • Use the “Windows Update” troubleshooting tool from Settings → System → Troubleshoot → Other troubleshooters before trying manual fixes.

Troubleshooting

If the steps above don’t resolve the error, try these in order:

  • Check if the error only happens in one user account. Sign out and into another account. If it works there, the problem is a corrupted profile — create a new one rather than trying to repair the old one.
  • Look for a recent Windows update. Go to Settings → Windows Update → Update history. If the error started after a specific update, uninstall that update (Settings → Windows Update → Update history → Uninstall updates) and see if the error goes away.
  • Restore from a system restore point. Search “Create a restore point” in Start, click “System Restore,” and pick a point from before the error started. This reverts registry changes without touching your personal files.
  • Use the Windows 11 installation media to do an in-place repair. Download the Media Creation Tool from Microsoft’s website, run it, and choose “Upgrade this PC now.” This reinstalls Windows while keeping your apps and files — it’s the most thorough fix short of a clean install.
  • If a specific CLSID is mentioned and you can’t find it in the registry, search online for that exact GUID. It may belong to a specific Windows component that needs a separate fix or a known bug with a dedicated solution.

Frequently Asked Questions

Q: What does “Class not registered” actually mean?
A: Windows uses a registry database to map file types and system components to the programs that handle them. When that mapping is missing or corrupted, Windows can’t launch the right program and shows this error.

Q: Can I fix this without admin rights?
A: No — most fixes require administrator access because they modify system files and registry keys. If you’re on a work or school PC, contact your IT department.

Q: Will I lose my files if I reset an app?
A: Resetting an app via Settings → Apps → Advanced options clears the app’s local data (settings, cache, login info) but does not delete documents, photos, or files you’ve saved elsewhere on your PC.

Q: Why does this happen after a Windows update?
A: Updates sometimes change how apps are registered or replace system files. If an app wasn’t fully compatible with the new version, its registry entries can become invalid.

Q: Is it safe to use the PowerShell re-registration command?
A: Yes, it’s a standard Microsoft-supported command that re-registers built-in apps. It won’t remove any of your personal files or installed third-party software.

Q: How long does the DISM scan take?
A: Typically 10–20 minutes, but it can take longer on older hardware or if Windows needs to download repair files from Microsoft servers.

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 →