[Fixed]: “Class Not Registered” Error When Opening Photos

By | September 14, 2018

How To Fix Class Not Registered Error In Windows 10 When Opening Photos

Learn 8 Effective Solutions To Solve ‘Class Not Registered’ Error When Opening Photos!

Summary: This guide offer 8 effective and working solutions that will help you to fix ‘Class Note Registered” error when opening photos (such as JPG/JPEG, PNG, BMP, GIF images) on Windows 10 computer or laptop.

You are probably reading this article because you have come across this error “class not registered” when opening pictures, particularly when you try to open JPEGs or other format images.

For example, just have a look at practical scenario mentioned-below!

I cannot open images and get “Class not Registered” error

I have just downloaded Windows 10, I have 100’s of Photo’s on my computer in .jpg files.

I cannot open any of these files now I’m in Windows 10, I get this message box come on screen:

D:\Ivor\My Pictures\ Ashley car.jpg

Class not Registered

How do I register so that I can open my files, please explain how I register and what else I have to do to open my .jpg files,

if not possible How do I go back to Windows 7.

Thanks Ivor

– Original Post From Microsoft Community

What Is A Class Not Registered Error?

Class not registered” error is related to Windows computer, and it’s particularly occur when user upgrade their computer to Windows 10. You will not be able to view photos because of ‘class not registered’ error.

The most common causes for this problem to occur is when the default file extensions for jpg/jpeg’s, png’s, bmp’s and gif’s have changed for some reasons. Generally it is changed when you update your PC OS to Windows 10 or when you install a new program or an app and you use that to view the image.  By default, in Windows 10 the Photo Viewer get replaced with the Photo’s app and this app is used to opne/view images.

However, this error can be fixed by some fixes and troubleshooting. In this guide we have listed eight effective solutions that helped many users to fix class not registered error when opening photo.

Additional Reading: 7 Fixes For SD Card Keeps Disappearing In Windows 10

Solution 1: Bring Back Photo Viewer In Windows 10 And Open/View Photos

Here follow the steps to set Photo Viewer the default software to open/view photos:

Step 1: First of all find the existing image and write down its path.

Step 2: You can open notepad. In the notepad copy/paste the path of the image. To get path, right click on image and select Properties.

Step 3: From Properties, note down the exact path and write it down in the notepad. For example: C:\users\jacob\desktop\image9.jpg

Step 4: Then in the next line in the notepad, copy and paste the following command:

%SystemRoot%\System32\rundll32.exe “%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll”, ImageView_Fullscreen

Step 5: Now you have two lines in the notepad. Next copy the path of the image and paste it to the end of the second line just after Fullscreen, this should now look like this:

%SystemRoot%\System32\rundll32.exe “%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll”, ImageView_Fullscreen C:\users\jacob\desktop\image9.jpg

Step 6: Now simply copy entire line starting from % till the .jpg.

Step 7: Press Windows Key + R to open Run dialogue box. In the run dialogue box paste the command and then click on OK.

Step 8: This will open the photo in the Photo Viewer.

Step 9: Close it and then again open the same image.

Step 10: Now you will get the option to make Photo Viewer as default app to open and view the images.

Additional Reading: Solved: The Volume Does Not Contain A Recognized File System

Solution 2: Reset Windows 10 Store (Apps) Using PowerShell

PowerShell in Windows is a task-based command-line that is used to control the administration of the Windows OS and its applications. You can use PowerShell in order to reset Windows 10 and solve “Class not registered” error.

Here follow the steps to fix “Class not registered” error with PowerShell:

Step 1: Hold Windows Key and press X Key. This will open command prompt window.

Step 2: In the command prompt window type powershell and hit ENTER.

Step 3: The command prompt will now change to PowerShell Prompt.

Step 4: Now type the following command in the PwerShell Prompt window:

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

Make sure that you enter the command exactly as it is stated above, or else you will run into errors. If you do run into error, then check the command and then re-run it to correct errors.

Now check, if your ‘class not registered error fixed or not when opening JPEG/JG photos. If you still encounter the error, the follow the next solution.

Additional Reading: How To Repair a Corrupted Flash Drive Using CMD (Command Prompt)

Solution 3: Run Component Services

You can also run component services to fix “Class not registered” error while opening photos on Windows 10 computer.

Here follow the steps to run component services:

Step 1: Press Windows + R key to open Run dialogue box. Type dcomcnfg in the Run dialog box and hit ENTER. This will open ComponentServices window.

Step 2: In the Component Services Window, click on “Computer” to expand it and then click on “My Computer”. Then double-click on DCOM config.

Step 3: You will get DCOM Configuration Warning message. Simply click “Yes”. Next you may get another message for another component. Simply register or record all these messages with ‘Yes’ option.

Step 4: Once, done, close the Component Services Windows.

Step 5: Reboot your PC. Now open the image, I hope your problem of “class not registered” error might be solved now.

Additional Reading: Fixes For Unknown USB Device (Device Descriptor Request Failed) in Windows 7/8/10

Solution 4: Set A Default Program For Opening JPG/JPEG Image Files

Set default program or app to open JPEG/JPG image files in Windows 10 and check if problem get resolved or not.

Here follow the steps to set default program/app to open image files in Windows 10:

  • Go to Windows Settings > Apps > Default Apps.
  • Click on Choose default applications by file type

Solution 5: Reset Default Apps

Reset the default apps in Windows 10 may be this can fix your issue of ‘Class not registered” issue.

Here follow the steps to reset default apps:

  • Go to Windows Settings > Apps > Default Apps.
  • Scroll down to “Reset to the Microsoft recommended defaults.
  • Click on “Reset”.

Additional Reading: [Fixed]: “Windows was Unable to Complete the Format” Error on USB, Memory Card & Hard Drive

Solution 6: Run A System File Checker (SFC)

System File Checker (SFC) is the in-built utility designed to scans for corrupt files in Windows PC and repairs them. If, while opening photo you are getting “Class not registered” error due to corruption in system files then SFC will fix the issue.

Here follow the steps to run SFC scan:

  • Press Windows + X key, choose Command Prompt (Admin).
  • In the command prompt type the following command: sfc /scannow
  • Hit ENTER.

Wait for the process to get complete. Once completed close the command prompt window and try to open the image, hope your problem is resolved.

Solution 7: Disable iCloud

This is a quick solution reported by many users that disabling the iCloud in the Task Manager in computer helped them to fix the ‘Class not registered” error when opening pictures.

Here follow the steps to disable iCloud in Windows computer:

  • In the Windows search bar type the “Task Manager” and open the Task Manager from the search result.
  • Go to Startup
  • Look for “iCloud Services”, right-click on it and select Disable.

Additional Reading: [Solved]: USB Drive Error “Please Insert A Disk Into Removable Disk”

Solution 8: Just Create A New Account

If all of the above solution fails to fix “Class not registered’ occurring on opening of photos, then it is simply suggested that you must create a new Microsoft account on your Windows computer.

First of all log-in to your PC with local account and the follow the below-mentioned steps to create a new Microsoft account.

  • On your PC, go to Settings >Accounts and select Select Family & other people.
  • From the right side Menu, click on “Add someone else on this PC”.
  • Now enter your “Microsoft account email” and click “Next”.
  • Logout and then log-in through the new Microsoft account.

Conclusion

Any one of the above-mentioned 8 solutions can help you to fix your problem of “Class not registered” error when opening photo on your Windows computer.

If you find this post helpful, then please do not forget to share it. Your sharing might help others to fix issue who all are encountering with the same error.

Summary
[Fixed]: “Class Not Registered” Error When Opening Photos
Article Name
[Fixed]: “Class Not Registered” Error When Opening Photos
Description
[Fixed]: “Class Not Registered” Error When Opening Photos. 1: Bring Back Photo Viewer In Windows 10 And Open/View Photos. 2: Reset Windows 10 Using PowerShell. 3: Run Component Services. 7: Disable iCloud. 8: Create A New Account.
Author
Publisher Name
Rescue Digital Media
Publisher Logo
  • 8
    Shares