Table of Content
    Photo Repair

    Solved: ‘Class not registered’ error when opening photos


    Table of Content

      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 center 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 the Component Services window
      • e. Reboot your PC. The problem ‘Class not registered’ error should be resolved.

      2. 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 the ‘Class not registered’ error.

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

      • Hold the Windows and Press the X key. Choose Command Prompt (Administrator)
      • In the command prompt window type, PowerShell and press 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 an error, check the command line you typed and run it again.

      3. Run a System File Checker (SFC)

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

      Steps to SFC scan:

      • Press Windows keyX, click Command Prompt (Admin)
      • In the Command Prompt, type the following command: sfc /scannow
      • Press Enter
      tips
      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.

      Download for Windows Download for Mac

      4. 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

      5. Reset default apps

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

      • Open Settings > Apps > Default apps
      • Scroll down to Reset to the Microsoft recommended defaults
      • Click Reset

      6. Disable iCloud

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

      • Type Task Manager in the Windows search bar to open Task Manager
      • Tap on the Startup pane
      • Scroll to iCloud Services, right-click, and click Disable

      7. Create a new Microsoft account

      If none of the methods fixes the ‘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 a new Microsoft account:

      • Go to 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

      Was this article helpful?

      No NO

      About The Author

      Prachi Sahu

      is a Writer who likes to blog about technology. She has a keen interest in Data Recovery, Machine Learning, and Artificial Intelligence. An avid reader, she has also contributed to some leading newspapers and dreams to own a library some day.

      16 comments

      1. Many thanks for this I have been receiving “class not registered” and “No such interface supported errors.

        2. Reset Windows 10 using PowerShell worked a treat for me.

      2. This guide help me to fix this error I read all defined useful steps and methods to resolve my problem. Thank you very much!

      3. I also had an issue when I click photos on Windows it shows error message “class not register” I could try to restore my system but the issue will same. What should I do to fix this issue?

        1. Hi Tim, I suggest you can update the system drivers because many times this issue comes up due to drivers not update. It could be possible for your photos corrupt or damaged. Use our software trial version and see the preview of repair files.

      4. Thanks for your blog is quite useful for me. I used windows 10 couple of weeks and didn’t face this issue but suddenly I saved some of the images in my pictures gallery through Pen-drive. After that all images corrupt. What should I do to fix this issue? Any help would be appreciated!

        1. Hi Sophie, I suggest, you can try our software demo version and see the preview of your repair files. Thanks you very much.

      5. Great information! I had the same problem on Windows 10 and I totally agree with you. This information really helpful for me. Thanks a lot!

      6. I had a problem on Windows 10, when I tried to open jpg the photos wouldn’t open. Showing error message “the remote procedure call failed”. Any help would be appreciated?

        1. Hi Anna, please follow the given steps as below:
          1. Click Windows Start Menu
          2. Click and go settings
          3. Click System Feature
          4. Click Default Apps
          5. Under Photo Viewer click Photos
          6. Select Paint when the choose an app window appears.

          In case the issue will not resolve please update windows or drivers of your computer system. Thanks

      7. I had used the methods as you describe in this article. It’s helpful for me to resolve this error. Thank you very much!

      Leave a comment

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

      Image Captcha
      Refresh Image Captcha

      Enter Captcha Here :

      Related Posts

      WHY STELLAR® IS GLOBAL LEADER

      Why Choose Stellar?

      • 0M+

        Customers

      • 0+

        Years of Excellence

      • 0+

        R&D Engineers

      • 0+

        Countries

      • 0+

        PARTNERS

      • 0+

        Awards Received