Knowledge - Mistaked to delete file
Position: Home > Mistaked to delete file > Ways to Restore Photos with "Invalid Value for Registry" Error

Top 10 Articles:
New Knowledge:
Featured Articles:
  • How to Fix "External Hard Drive Not Showing Up on Mac"

    Summary:When we plug external hard drive in a Mac OS computer, it suddenly fails to show up. How can we fix "USB flash drive not showing up" issue on Mac and how to recover lost data on your Mac if your Mac can read the external hard drive but unabl

  • Best Premium file recovery software for Mac

    Summary:Do you need to recover deleted files in Mac OS X, such as critical business documents, music, photos or videos?Here I strongly recommend you a Best Premium file recovery software for Mac - Bitwar Data Recovery for Mac which can pick up your

  • How to recover deleted files on android without computer

    Summary:How to recover deleted files on android without computer? Such as messages, photos and videos, etc. Bitwar has developed an Android OS based APP that allows you to recover files on Android phone without computer.

  • Free Data Recovery Software to Recover Deleted Files

    Summary:This article describes a free data recovery software named Bitwar Data Recovery to recover deleted files.

  • How to recover formatted files from a formatted USB drive

    Summary:A USB flash drive, also variously known as a thumb drive, pen drive, jump drive, key drive, flash-drive, memory stick or USB memory, is a small and portable flash memory card that is used to store photos, videos, music and documents. It is c

  • Free download SD Card data recovery software to recover lost

    Summary:SD Card is a common storage device to store pictures, documents, messages etc.But unfortunately,various factors such as accidental deletion, formatting, SD card corruption, virus attack, etc often occurs unexpectedly. Bitware Data Recovery Software so

  • Do You Need Install Antivirus for Mac OS?

    Summary:Usually, we often hear that Mac claims that it will not be infected with a virus, and that there is no reason for installing any antivirus for Mac OS. Is that true?

  • How to unlock iPhone 6 for use without losing data

    Summary:Summary: Forgot your passwords of iPhone 6? Here you can learn how to unlock iPhone 6 for use without losing data. Just follow to unlock/enable disabled iPhone and get all data back now. In general, if your iPhone 6 is locked, you can use a


Ways to Restore Photos with "Invalid Value for Registry" Error


When you cannot open and view JPG/JPEG/PDF images in the photo app and get invalid value for the registry, here are the solutions to fix the issue in Windows.

About registry and "invalid value for registry" error

Windows registry is a collection of databases used to store the information and settings for software programs, hardware devices, user preferences and more. And "invalid value for registry" error means that there is something wrong with registry entries. The main reason of this problem is that some registry entries of the previous Windows system remains intact and conflict with the current system after formatting. So how to recover the inaccessible data and fix the invalid value for registry?

If you cannot view photos because of the "invalid value for registry" error, you can firstly try Bitwar Data Recovery to get lost photos back before fixing this error. This professional data recovery software offers friendly user experience and simple operations to recover data with some simple steps.

How to recover data with Bitwar Data Recovery

Download and install Bitwar Data Recovery on your windows by clicking the following button.

Bitwar Data Recovery for Windows download Bitwar Data Recovery for Mac download

Step 1. Select the partition or device

Launch Bitwar Data Recovery software on your windows. Select the partition or drive where your important data lost, and click "Next".


Step 2: Select the Scan Mode

You can choose "Quick Scan" mode to recover lost files. If files haven't been overwritten, it can be fully recovered.
If you cannot find files  with Quick Scan, try deep scan here. "Deep scan" can find the missing data by searching every sector of the disk. But this mode will spend more time and the original structure and name of data may not be contained.

Select "Images/Photos" types on this step, click "Next" to start scanning.

Step 3: Preview and recover lost files

After the scan, you can filter the files you want by file name, type, path and time. You also can preview them to make a selection. Finally, select the photos you want and click the "Recover" button to save it to the normal partition or other external device.

After following the above steps, the photos you want will be restored with the help of Bitwar Data Recovery. Then you can fix the "invalid value for registry" error by following the steps below.

How to fix the "invalid value for registry" error

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 data loss.

Method 1: Open JPEG in another Photo viewer application

This is the first thing you should do to avoid registry errors in JPEG files. Open the JPG/JPEG images with other photo viewer applications, apart from the built-in Windows Photos app.

Method 2:  Reset Photos App

This way is mainly for Windows 10 users. Resetting will delete settings and cached data from the Photos App on your system. Follow the below steps to reset Photos app:
Go to Start > Settings > System > Apps & Features > Click on Photos app > select Advanced Options and click the Reset button

Method 3: Perform Drivers update

1. In the Start tab type Device Manager. Select Device Manager from the list displayed
2. Expand Display Adapters and right click on the graphics driver listed and select Update Driver
3. Select Search automatically for updated driver software.

Method 4: Update Windows Photo Viewer

1. Go to Start> Settings > Update & Security > Windows Update
2. Select Check for updates
3. Check the Photo Viewer icon and click Install Updates at the bottom
4. When the updates finish Restart the computer

Method 5: 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.
1. Open the Run menu box by pressing Win + R keys on the keyboard.
2. Type WSReset.exe in the text box and press Enter key to start the process saying that: The cache for the Store was cleared. You can now browse the Store for apps.

Method 6: Uninstall and reinstall the photos app that causes the issue 

Click the Start button located on the lower left corner, type PowerShell. Then right click on PowerShell and choose 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.

Method 7: Change the registry settings (for technical users)

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.
①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:
Manipulating registry entries are difficult and risky, it would cause some file loss or program failure issue. If you are not a technician, please restore the data first and proceed with caution.

③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 on 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 on Replace owner on subcontainers and objects, and then click on Apply > OK.

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

④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.


When you meet the problem of photos with "Invalid Value for Registry" error, you can try all the solutions one by one to find a suitable way to fix the issue. And if you lost any of your data during the process, you can download the Bitwar Data Recovery software to get them back.

Bitwar Data Recovery for Windows download Bitwar Data Recovery for Mac download

This article is original, reproduce the article should indicate the source URL:
Keywords:Fix "Invalid Value for Registr