Methods to Restore JPG/JPEG with Invalid Value for Registry Error

The Invalid Value for Registry error is a very common error that appears when you are handling JPG, PDF, MP4 and MP3 files in particular. But more often than not it will become a major problem when you open photos. What this means is that there are some registry issues, after all the Windows registry is where you store program settings and info, user preferences, hardware device info and so on.

You need to find solutions to fix Invalid Value for Registry, and the important aspect to note here is that after you update to Windows 10, some of the previous registry entries remain and those can lead to a conflict, so you have to figure out how to eliminate the problem naturally.

Recover Photos Before Fixing "Invalid Value for Registry" Error

There are many ways to fix Invalid Value for Registry error. Creating an image backup is needed before you attempt any possible fix. AnyRecover is a tool that can help you here. It’s very good at JPEG recovery since it can easily scan and then recover the deleted, corrupted or lost photos.


1,000,000 + Downloads

Features of iMyFone AnyRecover:        

You can preview your lost data after scanning and select the wanted files to recover.

It is easy to operate and help users restore photos quickly.

It supports not only photos, but also other 1000+ file formats like videos, music, documents and so on.

Try It FreeTry It Free

Steps you can take in order to recover your photos as quickly as possible.

Step 1. Download and install AnyRecover, after that, you have to choose one of the desired recovery modes.

external device recovery

Step 2. Connect your external device to your computer, then press "Next".

connect to computer

Step 3. Select Photo on the next screen, then press "Scan".

select external file type

Step 4. After the scan is completed, you will need to select what image you want recovered, then press Recover. The app allows you preview the images, and that means you can easily figure out if you are getting back the file you need or not. It’s very helpful and convenient, and it will help save time.

preview and recover

How Can You Eliminate the  "Invalid Value for Registry" Error in Windows

1Uninstall and then Reinstall the APP Behind this Error

A good and simple thing you can do is to uninstall that app which is causing the error at this time. Uninstalling the app and then reinstalling it might not seem like the best approach at first, but the potential can be amazing and that’s what you want to pursue. The most important thing is that something as simple as reinstalling the app you use can possibly remove the issue. So even if it feels unlikely, you need to try this at first and then go on to the other options, maybe they are better for you.

2Clear the Windows Store Cache to Fix "Invalid Value for Registry" Error

Clearing the Windows Store cache can also get the job done too. You can press Win+R, type WSReset.exe, and then you can choose OK. The command prompt will open without a message, it will close and then the Microsoft store it will open. This is great because the process itself is rather seamless and you can easily solve the issue without any hassle. It’s the best of both worlds in many ways.

3Run the System File Checker (SFC) and Check Disk (CHKDSK) Solutions

With Regedit you can also try to solve the issue as well:

  • 1. Use Win+R, go in Regedit and then go to the  “HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Families\Microsoft.Windows.Photos_8wekyb3d8bbwe”.

    invalid value for registry

  • 2. Here you want to select Administrator (Desktop Name \ Administrator) and then choose Advanced.

    invalid value for registry

  • 3. Click on Change, enter the Username and then click Check names, then press OK.

    invalid value for registry

  • 4. Check the option to replace owner, press Apply.

    invalid value for registry

  • 5. Now you want to choose the username option and check the Allow Boxes for Full Control and Read. Apply and you will finally know how to fix invalid value for registry error.

    invalid value for registry

Use the SFC scan method:

  • 1. Press Windows+X to enter the Power User menu. Here you want to select Command Prompt and enter the “DISM /Online /Cleanup-Image /RestoreHealth” command. The process can take 20 minutes to complete.

  • 2. In order to perform the SFC scan, you need to enter Command Prompt or even just CMD. Right click to choose to run as an administrator, type “ sfc/scannow” in the resulting window and then press Enter. Now you will finally be ready to restore JPG/JPEG with invalid value for registry error.

  • invalid value for registry


These are all great solutions to fix Invalid Value for Registry. This error is very problematic, but there are ways to get around it and that on its own can be very helpful. It’s all a matter of understanding what causes the issue first and then adapting to that. Thankfully, once you know what’s causing the issue, it’s a lot easier to eliminate it using one of the 3 methods listed above. So you have to check these tips out and use them as needed!

Free DownloadFree Download

+ View all all the comments and join the discussion


By  Simon Marcus , to Photo Recovery

Posted on Nov 14, 2019  ( Updated: May 29, 2020 )

Related Articles: