Read time 5 minutes

If you had ever encountered a situation when you were unable to open the JPEG images on your Windows system, then you might be familiar with the “Invalid Value for Registry” error. It is a standard error in Windows OS, which often appears after upgrading Windows to a newer version.

For example, if you were using Windows 8 earlier, and then moved to Windows 10, chances are you will encounter the “Invalid Value for Registry” error while opening the JPEG images with Windows Photo Viewer.

Well, the good news is there are multiple free methods to repair corrupt JPEG files. In this article, we will discuss each method to avoid this error while offering an automated solution that can quickly recover images from your Windows OS.

1st Method – Reconfigure Photos App

This method applies to Windows 10 users. If you reset the Windows Photo App configuration, it will delete the previous settings and cached data from the app, and then you might be able to access your photos. Follow the below steps to reset Photo app settings in Windows 10:

  1. Go to the Start menu and click Settings
  2. In the Settings section, select System and then click Apps & Features
  3. Double-click the Photo app and select the Advanced options, and then click Reset
  4. It will reset the app configuration. After that, you can try to open your images again.

2nd Method – Update Graphic Drivers on your System

If the drivers in your system are not up to date, then it could also be a reason behind the occurrence of the “Invalid Value for Registry” error. So, check whether the drivers are up-to-date or not. To do so, follow the below steps:

  1. Go to the Start menu and type Device Manager in the search bar
  2. Go to the Device Manager and expand the Display Adapter section. Now, right-click on the Graphics driver and select Update Driver
  3. Click Search automatically for updated driver software

It will start updating the drivers if any new updates are available. After updating the driver, you can try to open your images with the Photos app.

3rd Method – Change the Registry Settings

The “Invalid Value for Registry” majorly occurs due to incorrect registry settings, so if you have a little technical expertise, then change the registry settings according to the current Windows version. To achieve this, follow the below steps:

  1. Press Win+R button on your system and type regedit in the opened tab and then click OK.

    Note: Make sure you log in to your system as an Administrator.

  2. The Registry Editor will appear on the screen. Now, go to the following entry:

    HKEY_CURRENT_USER>>Software>>Classes>>Local Settings>>Software>>Microsoft>>Windows>>CurrentVersion>>AppModel>>Repository\Families\Microsoft.Windows.Photos_8wekyb3d8bbwe

  3. In this section, you will find several entries, each with a version number. If the folder contains eight listings, then four entries are outdated, and if it includes four entries, then two are obsolete. So, delete the outdated entries one by one.
  4. To delete the outdated entries, right-click on the outdated entry and select Properties.
  5. Click Security and open Permissions, and then click Advanced in Select User or Group window.
  6. Click the Find Now option and select your username and then click OK.
  7. Now, right-click the Outdated entry and click Delete.
    delete the outdated entries

Follow the same procedure for each outdated entry, and then Restart your system. The register value will be changed.

The manual methods mentioned above might help you overcome the “Invalid Value for Registry” error. However, if you’re still unable to access your JPEG images, it means the pictures are highly corrupt, and you need to repair them.

Now, the manual methods do not help repair corrupt images, so you need an automated solution that can quickly fix the corrupt/damaged photos. In our opinion, Kernel Photo Repair is the best utility that can quickly repair damaged/inaccessible images. It is designed with advanced algorithms that make it easy for users to fix photo corruption. Also, the functioning of the software is pretty simple and straightforward.

fix photo corruption


Fixing the ‘Invalid Value for Registry’ error can be complicated if you don’t know the exact process. However, this error can also occur due to corrupt pictures. In this article, we have discussed top JPEG file errors and ways to fix them with focus on ‘Invalid Value for Registry’ error. Also, we have provided an automated solution – Kernel tool , just in case the JPEG images are still inaccessible after trying the manual methods.

Professional tool to Repair Corrupt JPEG, JPG, PNG, BMP, GIF, RIFF Files


Kernel Photo Repair