Solved: ‘Class not registered’ error when opening photos

Summary: Class not registered’ error is a Windows-specific problem, generally faced after an upgrade to Windows 10. You may not be able to view your photos due to this error on your Windows PC. However, this error can be fixed by some troubleshooting. Read on this post to know the most recommended ways to fix ‘Class not registered’ error when opening photos.

‘Since I downloaded Windows 10 on my laptop, I cannot open any of my photos. I get this message box: ‘Class not Registered.’ How should I fix this error and view my photos?’

Methods to Repair ‘Class not registered’ error

  1. Use Component Services
  2. Reset Windows 10 using PowerShell
  3. Run a System File Checker (SFC)
  4. Set a default program option for opening jpg files
  5. Reset default apps
  6. Disable iCloud
  7. Create a new Microsoft account
  1. Use Component Services

To repair ‘Class not registered’ error while opening photos, run Component Services on your PC.

Steps to run Components Services:

  • a. Press Win+ R and type dcomcnfg in the Run dialog box. Press Enter to open ComponentServices window

dcomcnfg command line

  • b. Go to Component ServicesComputerMy Computer. Double click DCOM Config in the centre pane

dcom config component services

  • c. DCOM Configuration Warning!message appears. Click Yes. Next, you may get another message for another component. Register or Record all these messages with Yes option

DCOM Configuration Warning!message

  • d. Close Component Services window
  • e. Reboot your PC. The problem ‘Class not registered’ error should be resolved.
  1. Reset Windows 10 using PowerShell

PowerShell in Windows is a task-based command-line that helps to control and automate the administration of the Windows OS and its applications. You can use PowerShell to reset Windows 10 and repair ‘Class not registered’ error.

Steps to fix ‘Class not registered error’ with PowerShell:

  • Hold the Windows and Press X key. Choose Command Prompt (Administrator)
  • In the command prompt window type powershell and press the Enter The prompt change to the PowerShell Prompt
  • Type the following command:

Get-AppXPackage|Foreach{Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

  • Press Enter

If you still run into error, check the command line you typed and run it again.

  1. Run a System File Checker (SFC)

System File Checker (SFC) scans for corrupt system files in computer and repairs them. If the error ‘Class not registered’ on opening the photos is due to the corrupt system files, SFC scan will fix it.

Steps to SFC scan:

  • Press Windowskey + X, click Command Prompt (Admin)
  • In the Command Prompt, type the following command: sfc /scannow
  • Press Enter
Tip: If the issue is not with your Windows computer, it could be possible there is some corruption in your images. They may be completely unreadable or show errors due to corrupt header, corrupt data, invalid file structure, unknown marker etc.

Use secure and fast Stellar Repair for Photo to fix the errors and corruptions in your pictures. It is an efficient tool to fix hundreds of photos from digicams, DSLRs, GoPro, drones, surveillance cameras, and mobiles. The software also repairs corrupt photos recovered from any damaged or corrupt storage media.

JPEG REpair JPEG Repair Mac Sierra

  1. Set a default program option for opening JPG files

Set the default option for opening image files in Windows. Follow the below steps:

  • Go to Windows Settings > Apps > Default Apps
  • Click Choose default applications by file type link
  1. Reset default apps

‘Class not registered’ error in Windows can also be fixed by resetting default apps. Follow the below steps:

  1. Open Settings > Apps > Default apps
  2. Scroll down to Reset to the Microsoft recommended defaults
  3. Click Reset
  1. Disable iCloud

For some Windows users disabling iCloud in Task Manager in computer fixed the ‘Class not registered’ error.

  • Type Task Manager in Windows search bar to open Task Manager
  • Tap on the Startuppane
  • Scroll to iCloud Services, right-click and click Disable
  1. Create a new Microsoft account

If none of the methods fixes ‘Class not registered’ error occurring on opening photos or videos, create a new Microsoft account on your Windows.

First, sign in to your PC with a local account. Then follow the below steps to create new Microsoft account:

  • Go to the Settings >Accounts
  • Select Family & other people
  • Click on Add someone else on this PC on right side menu
  • Enter your Microsoft account email.Click Next
  • Log out and log in through the new account

Wrapping Up

Any of the above method should resolve your problem of ‘Class not registered’ appearing on opening pictures. However, it is also advisable to check if the problem is not with your photos. To rule out the file corruption, try to open them in another computer or photo viewer. If you detect problem with photos, repair them using efficient and trustworthy Stellar Repair for Photo software.

Was this post helpful? Do share with us in the comment box below, which method worked in your case and fixed ‘Class not registered error’ when opening photo

Comments(14)
  1. Chelsy Rogers July 12, 2019
    • Sumona Chatterjee July 16, 2019
  2. Tim Farr June 26, 2019
    • Sumona Chatterjee June 28, 2019
  3. Sophie Mackintosh May 22, 2019
    • Sumona Chatterjee May 23, 2019
  4. Shawn Blance February 20, 2019
    • Sumona Chatterjee February 25, 2019
  5. Lauren November 29, 2018
    • Harsha Alamchandani December 19, 2018
  6. Anna Reverdy November 19, 2018
    • Sumona Chatterjee November 21, 2018
  7. BOB PATTERSON October 9, 2018
    • Sumona Chatterjee October 11, 2018

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.