How To'sWindows

Fix: Class Not Registered when Opening JPEGs on Windows 10

You’re probably reading this guide if you have come across this error which says class not registered, only when you try and open JPEGs or other format images. The most common reason for this issue to occur is when the default file associations for jpgs, jpegs, bmp’s and gif’s have changed for some-reason. Usually, it is changed 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 is replaced with the Photo’s app and this is what should be used to open/view images.

In this guide, we have listed three methods to address this issue that have reportedly worked for a number of users.

Method 1: Revert to Photo Viewer

We have a separate guide for this here: see steps: Photo Viewer

Once done, test and see if you are now able to view the images without the error. If not, proceed to Method 2.

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

Hold the Windows Key and Press X. Choose Command Prompt (Administrator). In the black command prompt window type powershell and press the Enter Key.

The prompt will now change to the PowerShell Prompt. Once done, type the following command and press Enter.

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


Make sure, the command entered is exactly! as stated above, otherwise you’ll run into errors. If you do run into errors, check the command you typed to correct errors and then re-run it.


  1. I faced the same problem and followed the procedure above (Method 2: Reset Windows 10 Store (Apps) Using PowerShell) and it worked fine.
    Am now a happy girl. Thank you .

  2. You sir, are a lifesaver. I tried Method 2 and it worked just like you said it would.
    It took about 3-5 minutes for the computer to think after I copied and pasted the prompt, and then I was able to watch my videos with ease. Thank you so much seriously!

  3. Thank you SO much. Method 2 worked like a charm! You are a life savour! I found when I added Norton Security to my computer….strange this are happening….not sure if this is a coincident or not, but again thank you Kevin!

Leave a Reply

Your email address will not be published.

Expert Tip

Fix: Class Not Registered when Opening JPEGs on Windows 10

If the issue is with your Computer or a Laptop you should try using Reimage Plus which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Reimage by clicking the Download button below.

Download Now

I'm not interested