If you cannot open and view your photos in Windows because of the invalid value for registry error, you can read this post to know how to restore files via the best photo recovery software and how to fix invalid value for registry error in Windows.

Error- Invalid Value for Registry Error When Opening Photos

Many users complained that they see the invalid value for registry error when opening JPEG pictures after upgrading their PC from the previous version of Windows to Windows 10. When they try to view the JPEG image in the photo app, they also receive the invalid value for registry error.

Let's see a true example from answers.microsoft.com:

Q: Windows 10 "Invalid Value for Registry" JPEG
I bought a new computer and almost immediately *upgraded* to Windows 10 when I got the alert, and then downloaded a bunch of photos from my phone and now I cannot open any of them, because I get "Invalid Value for Registry" errors. I need to be able to open them so I can edit and I cannot even open to view! Please advise! I don't know what to do or how to fix this. I'm a novice, and I need help....answers.microsoft.com

invalid value for registry

Generally speaking, the most important reason for the invalid value for registry error in Windows 10 is that the registry entry of the previous version may remain intact (technically they should be deleted automatically) whenever you upgrade PC or update your apps in Windows. These older entries conflict with the system process. As a result, you are unable to view these photos.

Now, in today's post, I am going to show you how to fix invalid value for registry error when opening photos in Windows 10/8/7.

Step 1. Recover Missing Photos Before Fixing Invalid Value for Registry Error

When it comes to fixing invalid value for registry error in Windows 10/8/7 when viewing photos, experienced users always recover infected photos and image files before fixing this error because registry problem is serious and easily leads to photos corruption, damage and loss.

Now, you might be wondering:
"How to Recover Photos with Invalid Value for Registry error?"

If you cannot view photos because of the invalid value for registry error, you can try using MiniTool Photo Recovery to get lost photos back before fixing this error. Developed by famous software development company, MiniTool Photo Recovery is a wise choice for people.

This professional photo recovery software offers wizard-like interfaces as well as simple operations. Thus, if you don’t want to spend time learning a new program, you can try this professional tool. Even a new user can easily handle this tool to recover lost photos without any difficulty.

And, with MiniTool Photo Recovery, you don’t need to bear the risk of privacy leakage because it is a read-only tool. More important, it can help to directly recover photos from Digital Camera with ease.

Note: MiniTool Photo Recovery can recover photos from Windows 10/8/7 along with Windows Server 2003/2008/2012, etc. If you want to recover various kinds of photos and videos on Mac OS X, you could choose MiniTool Photo Recovery for Mac Free. More information, please read this post - See! I Can Free Recover Mac Photos with Ease.

If you want to know more details, check out this video:

Download the unregistered edition and have a try!

Free Download

A step-by-step guide to recovering photos with invalid value for registry

Firstly, download MiniTool Photo Recovery, install it on your computer, launch it, and then click Start button at the bottom right-hand corner to start photo recovery. (Avoid installing the photo recovery software on the drive containing lost data.)


Secondly, select the drive you want to recover data from and then click Scan button to start the scanning process. In this window, you are able to click Setting feature to specify certain types of photos before scanning this device.

For instance, if you only want to recover JPEG photos, you can only check JPEG Camera File (*.jpg) and JPEG Graphics file (*.jpg) in the pop-out window, and then please click on OK button to confirm this setting.


Tip: if the target drive is not shown here, you can click on the Refresh button to make MiniTool Photo Recovery try to detect the drive again until it is displayed in this interface.

Finally, when the scanning process is completed, you can see this scan results in a tree view as shown below. The types of recovered files are displayed in the left list. Now, choose one type from the list and view its detailed items.

Next, double click on the pictures to preview them one by one, and check all photos you want to recover. And then, click Save button.

After that, click Browse to select a suitable place to store checked files. It's recommended to save the recovered files on another drive! Otherwise, the lost/deleted data could be overwritten!



The unregistered edition of MiniTool Photo Recovery only enables you to recover 200 MB photos in total although it can help to scan all lost data. Here, if you want to recover more lost photos, you can choose to get its advanced edition from the MiniTool official site.

If you decided to get an advanced edition of this program, you don't need to close the scan result interface.

In this window, you can click on Register Now button after receiving the license key, copy the license to the text box in the pop-out window and then click on Register button to enter the advanced edition immediately. After that, you can directly save needed photos without scanning it again.

register now

Thus, all work has been done. Generally, in addition to photo recovery, MiniTool Photo Recovery can also recover lost videos. Here, you might be interested in this post: How to Recover Deleted Videos from Laptop with MiniTool.

Hi! I quickly and effectively recovered lost photos with invalid value for registry error in Windows 10 without damaging the original data.Click to Tweet

Alternatively, there is another excellent file recovery software – MiniTool Power Data Recovery, which can also help you effectively recover lost photos with invalid value for registry error because of its excellent performance as well as simple operations.

This read-only, simple and professional data recovery software, developed by MiniTool Solution Ltd., not only can recover lost photos, but also can recover lost word document and other data.

Download and install MiniTool Power Data Recovery.

Free Download

Launch MiniTool Power Data Recovery to get its main window as follows.

main interface

Select the drive containing photos, and then click Scan button.

scan drive

Preview photos, check needed photos, and then click Save button to store them on a safe place.

save files

Helpful Article: JPEG Recovery – How Do I Recover JPEG Photos

After getting lost photos back, it is time to fix the invalid value registry error in Windows 10/8/7 when opening photos.

Step 2. How to Fix Invalid Value for Registry When Opening Photos on Windows 10/8/7?

Here, we will show 3 ways to fix invalid value for registry error when opening photos in Windows 10/8/7.

Solution 1: Delete the older version of registry entries

As we know, the culprit of "invalid value for registry" error is related to registry entries. You can easily repair registry entries by deleting the older registry entries and clean out all the Windows store caches. Please take a few minutes on the easy steps below.

Note: Manipulating registry entries are difficult and risky, and a small mistake can adversely affect the entire system. It is recommended to make a System Restore Point or a System Image Backup in case of any accidents.

Helpful article: How Can You Make System Image Recovery in Windows 10?

①Log on to your PC as administrator. Press Windows key + R key together to open Run box. Type regedit in the box and hit Enter to open Registry Editor window. Click Yes when prompted by User Account Control.

②On Registry Editor window, use the left pane and navigate to:


③Scroll down on Families dialog, find and expand Microsoft.Windows.Photos… folder. If this folder contains 8 Microsoft Windows Photos App entries, it means that the outdated registry keys have been left intact after the application update.

Delete the 4 entries with older version number.

Note: If you find 4 entries in total, delete 2 of them with older version number.


It is not easy to delete the entries in Registry Editor window. First, you should take ownership of Microsoft.Windows.Photos_8wekyb3d8bbwe registry key. Follow the steps here:

Right-click on the older version entry and click Permissions…


Click the Advanced button to continue.


Click Change, enter your account name in the box and click Check Names. After that, click OK button to go back to the previous window.

check names

Check on Replace owner on subcontainers and objects, and then click on Apply > OK.

replace owner on subcontainers and objects

Highlight the account you have just added. Next, tick the Allow box of Full Control. Click Apply button and then click OK.

full control

④Once you spotted all outdated version keys, right click on them one by one and select Delete.

⑤Finally, close Registry Editor and restart your PC, the "Invalid Value for Registry" problem might be fixed by that.

In case you still can't open .jpg files after removing registry leftovers, you can try using an elevated PowerShell to reinstall Windows Photos App.

Solution 2: Uninstall the photos app or any app that is causing the issue and then re-install it

Click the Start button located on the lower left corner, type PowerShell, then right click on PowerShell and choose Run as administrator.

run as administrator

In the PowerShell window, type the following command and press Enter to Uninstall Photos App.
Get-AppxPackage *photos* | Remove-AppxPackage
After it has been uninstalled; type the following command in PowerShell and press Enter to reinstall it.
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}


Type Exit to close this window.

Finally, reboot your PC to save the changes.

If you are still facing the invalid value for registry error while opening images .jpg/.jpeg/.png/.gif/.pdf on Windows 10 after trying the above 2 solutions, you may try the following solution.

Solution 3: Clear Windows Store cache with WSReset.exe

It is found that Cache files can also affect the operations of Windows Store. Thus, this might cause the error invalid value for the registry. Try clearing these files to fix the problem.

Open the Run menu box by pressing Win + R keys on the keyboard.
Type WSReset.exe in the text box and press Enter key to start the process.
Windows Store will open and you'll get a conformation message saying that: The cache for the Store was cleared. You can now browse the Store for apps.

Click to Tweet

Hope the above three solutions can help you solve the Windows 10 invalid value for registry error and you can view your pictures successfully right now.

Bottom Line

After seeing the above introduction, you might know how to recover lost photos with invalid value for registry error and how to fix invalid value for registry error when opening photos on Windows 10/8/7.

Like this post? Share it to help more users get rid of this error!

Should you have any another solution to fixing Windows invalid value for registry error, please feel free to leave comments below, thanks. If you have any questions about photo recovery, you can send us emails via [email protected]. We will solve it as soon as possible.

Invalid Value for Registry FAQ

?What does invalid value for registry mean?
Invalid value for registry means there is something wrong with some registry entries. Users who have upgraded their Windows to Windows 10 might encounter this error when opening JPEG pictures.
?How do I fix invalid value in registry error?
  1. Delete the older version of registry entries
  2. Uninstall the photos app or any app that is causing the issue and then re-install it
  3. Clear Windows Store cache with WSReset.exe
?What is a file system error?
You may be familiar with file system (NTFS, FAT32, and exFAT). However, sometimes, you may encounter different file system errors. For instance, if you see the file system error (-2147219196) when opening pictures via the Windows Photo Viewer.
?How do I fix a file system error?
  1. Check Sectors for Your Hard Drive
  2. Check Disk Drive Error
  3. Run Check Disk
  4. Run SFC Utility
  5. Run A Virus or Malware Scan
  6. Uninstall Windows Photo and Reinstall
  7. Set Windows 10 Theme to Default
  8. Perform System Restore
  • Linkedin
  • Reddit