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:
  • Top 10 best free deleted file recovery software on 2018

    Summary:In today’s interconnected world, Data loss is one of the most frustrating things. In that case, you need the best free deleted file recovery software to recover your important data back at any cost.

  • Best Computer Program to Recover Data from Formatted Hard Dri

    Summary:The Format commands are typically run to prepare a new logical drive. When you Format a disk, the operating system erases all bookkeeping information on the disk, tests the disk to make sure all sectors are reliable. marks bad sectors (that

  • Software to restore a U disk format file

    Summary:There are a lot of software to restore U disk format files on the market. Small series have been lucky to use, did not expect quality mixed. Not some U disk File recovery is not good, is installed after the flash-back, or do not know when t

  • [SOLVED] Windows Cannot Access the Specified Device Path or F

    Summary:Received “Windows cannot access the specified device, path or file” when you want to open a file. Don't worry about not being able to access your important files, Bitwar Data Recovery software can help find them which were even removed,

  • How to Restore Deleted Files Cleaned by CCleaner?

    Summary:We often get the question, "If I were cleaning my system by CCleaner, can the data be recovered? How to Restore Deleted Files Cleaned by CCleaner?"

  • Stellar Phoenix Mac Data Recovery Alternative

    Summary:This post introduces the best Stellar Phoenix Mac Data Recovery Alternative data recovery software. You can download to recover lost files from Mac hard disk and all other storage media devices like USB, Flash drive, removable media etc.

  • How to Recover Lost Data From RAW USB Device

    Summary:This article tells you what is a USB device? And also provides you a raw USB device recovery solution to help you effortlessly repair RAW USB drive without losing any data.

  • Where do overwritten files go and how to recover overwritten

    Summary:summary: I accidentally overwrote a file and saved it, is there any way that can help me to recover overwritten files ? dont worry. This article will show you where do overwritten files go and how to recover overwritten files . Overwritin


Ways to Restore Photos with “Invalid Value for Registry” Error


When you cannot open JPG/JPEG/PDF images in photo folder and while get "invalid value for registry" error, you can read this post to know how to restore images and how to fix the registry error in Windows.

What is registry and invalid value for registry?

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

If you cannot view photos because of the invalid value for registry error, you can try using Bitwar Data Recovery to get lost photos back before fixing this error. This professional data recovery software offers friendly user experience and simple operations. Thus, you can try this professional tool to recover your data by only several steps and easily find the lost data, even if you are not familiar with computer operations.

How to recover data with Bitwar Data Recovery

Download and install Bitwar Data Recovery on your windows, then follow the guides to recover data.

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 after Quick Scan, try deep scan here. The deep scan will search every sector of the drive to find all existing files. But the scanning process will spend more time and will not have the original file name in the scanning results.

Select "Images/Photos" types on this step if you want to restore photos. You can also select all file types you want if you have no idea about which files to recover. 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 based on the cause with any methods.

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

Method 1: Open JPEG in another Photo viewer application

This is the first thing you should try in case of 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 is 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.
3.      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.

Method 6: 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.

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)

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

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:invalid value for registry