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
- Use Component Services
- Reset Windows 10 using PowerShell
- Run a System File Checker (SFC)
- Set a default program option for opening jpg files
- Reset default apps
- Disable iCloud
- 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
- b. Go to Component Services> Computer> My Computer. Double-click DCOM Config in the center pane
- 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
- 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 key + X, click Command Prompt (Admin)
- In the Command Prompt, type the following command: sfc /scannow
- Press Enter
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.
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
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.
Hi Andrew,
We’re so glad that our suggestion worked for you.
This guide help me to fix this error I read all defined useful steps and methods to resolve my problem. Thank you very much!
Hi Chelsy, Thankyou!
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?
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.
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!
Hi Sophie, I suggest, you can try our software demo version and see the preview of your repair files. Thanks you very much.
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!
Hi Shawn, Keep reading for our next update!
Recently upgraded to windows 10 ( I know too late) and this error had been a pain. Thanks for the solution.
Hey Lauren, Thanks for your feedback
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?
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
I had used the methods as you describe in this article. It’s helpful for me to resolve this error. Thank you very much!
Hi Bob, Thanks for your words!