How to Recover JPG/JPEG Photos with “Invalid Value for Registry” Error?

Are you unable to open JPEG/JPG image you have taken from your DSLR camera on your Windows PC? Whenever you are trying to open your JPEG/JPG file, you are getting an ‘Invalid Value for registry’ error.

Well, if this is happening to you then do not worry at all. I am saying so because, in this blog, you will definitely get a solution to restore JPG/JPEG with Invalid Value for Registry Error.

So, do not skip reading this blog or you will lose something very important that will help you restore the files.

But, first of all, let’s learn something about ‘Invalid Value for Registry’ JPEG error.

What Does Invalid Value For Registry Mean?

invalid value for registry

The ‘Invalid Value for Registry’ error is a common error that takes place in Windows OS. Generally, the registry error takes place after you upgrade Windows to a new version. There are some chances that after you upgrade the Windows OS, all the files of the Windows Photo Viewer or Photo App are updated.

This somehow leads to the invalid value for registry error in the JPEG/JPG file. But the best part is that the solution is available to fix this issue and restore JPG/JPEG with Invalid Value for Registry Error.

 IMPORTANT: Make sure that before you try any solution, you take a complete backup in the external storage media. Doing so ensures that you are safe even if you lose any file when this issue takes place and you try to troubleshoot it. 

How To Restore JPG/JPEG With Invalid Value For Registry Error?

In order to fix and restore JPG/JPEG with Invalid Value for Registry error, you can try JPEG/JPG File Recovery Tool. This tool has special features that allow you to restore lost JPEG image file format. No matter what is the reason behind any JPEG error you get, all you have to is to try this tool.

JPEG/JPG File Recovery Tool not only recovers JPEG file but also other image, video and audio file formats. So, without having doubt in mind, just try the step by step guide to recover JPEG file with error stated as ‘Invalid Value on Registry Error’.

emidDownload Photo Recovery For Windows emidDownload Photo Recovery For Mac
* Free version of the program only scans and previews recoverable items.

Steps To Restore JPG/JPEG With Invalid Value For Registry Error

Step 1: Select Desired Location

Firstly, select the drive, external media or volume from which you want to recover deleted media files. After selecting, click on 'Scan'.

photo-recovery-step-1

Step 2: Preview Recovered Media Files

Next, you can preview the recoverable media files after the scanning process is completed.

photo-recovery-step-2

Step 3: Recover Media Files

Lastly, you can select the images, audio, video files you want to restore and click on 'Recover' option to save them at the location you want.

photo-recovery-step-3

Other Alternatives To Restore JPG/JPEG With Invalid Value For Registry Error

Method 1: Reset Photo Application & Fix Registry Value Invalid Error

In order to fix and restore JPG/JPEG with Invalid Value for Registry error, you can reset photo application. This is the easiest and the best solution you can try. So, to fix this issue, you can go through the below steps:

  • First of all, go to Start option and then Settings and then go to Apps & Features
  • Next, you have to click the option ‘Photo Application’.
  • Al last, a box will display on the Window and there you have to select Advanced Option.

reset-photo-app-1

  • Next, you have to click ‘Reset’ option.

reset-photo-app-2

This will actually reset photo application and will automatically fix registry value invalid error.

Method 2: Open JPEG Image In Another Photo Viewer Application

If you are at all able to open and view JPEG image because of the invalid value for registry error then you can try to open image in another app. To do, follow the below steps:

  • Make sure that you right-click on the JPEG/JPG image.
  • Next, you shave to select the Photo Viewer application, apart from the in-built Window Photo application.

This is another option you can try to restore JPG/JPEG with Invalid Value for Registry error.

Method 3: Update Windows Photo Viewer

If your JPEG/JPG with Invalid value for registry error is not yet fixed then try this solution. In this method, you have to update Windows Photo Viewer Apps. Go through the steps below to do so:

  • First of all, go to Start option and then go to Settings and then click on ‘Update & Security’ option.
  • After this, you are required to select the option ‘Windows Update’ and then select ‘check for updates’ option.
  • Next, you have to check the Photo Viewer icon from there and then simply click ‘Install Updates’.
  • Lastly, Restart the system after the update installation is done.

Method 4: Update Drivers On Windows OS

Another method you can try to fix and restore JPG/JPEG with Invalid Value for Registry error is to update Windows drivers. To update Windows drivers, you have to follow the below steps:

update drivers

  • At first, type Device Manager in the Start tab and then select the option ‘Device Manager’ from the list and then right-click on the Graphics Driver. Next, select the option ‘Update Driver’.
  • At last, you have to select ‘Search automatically’ for updated driver software.

These two steps will help you fix registry value invalid error and restore JPG/JPEG files.

Method 5: Uninstall & Reinstall The Photos App

In order to fix invalid value for registry error, you have to uninstall and reinstall the photos app. To do so, try the below steps:

  • In the first step, click the option ‘Start’ option that is located on the very lower-left corner and then type PowerShell.
  • After this, you have to right-click on ‘PowerShell’ and then select the option ‘Run as administrator’.

Uninstall and reinstall app 1

  • Now, in the PowerShell window, you have to type the below command and then press Enter key so that you can Uninstall Photos App.

 Get-AppxPackage *photos* | Remove-AppxPackage 

  • When the uninstallation process is done, type the below command in the PowerShell and then press Enter key to reinstall it.

 Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”} 

Uninstall and reinstall app 2

  • Next, you have to type Exit so that you can close the window and then finally, reboot the system to save the changes you made.

Method 6: Clear Windows Store Cache With WSReset.exe

Do you know that sometimes cache files can also affect the Windows Store’s operations? Well, if you don’t know then let me tell you that it happens and due to this, invalid value for the registry error occurs.

In this case, you can clear Windows Store cache with the help of WSReset.exe. So, to do so, you can go through the below steps:

  • First of all, Press Win + R keys together to open the Run menu.
  • Next, you have to type there WSReset.exe in the text box and then press Enter key. This will start the process stating: The cache for the Store was cleared. You can now browse the Store for apps.

clear-windows-store-cache

This method may also fix and restore JPG/JPEG with Invalid Value for Registry error.

Method 7: Delete Entries Of Registry’s Older Version

Sometimes it happens that after you update Windows system, you get invalid registry value error while opening JPEG/JPG files. So, to fix this issue and restore JPEG/JPG files, you can follow the below steps to delete entries of older version of Registry:

  • In the first step, you have to open Registry Editor and then simply press Win+ R keys You can then put Regedit in the Run dialog box and then simply click on OK button.

older-registry-version 1

  • Next, it will open the Registry Editor and you can then navigate to the registry key in the very left pane of the window:

 HKEY_CURRENT_USER\Software\Classes\LocalSettings\Software\Microsoft\Windows\ CurrentVersion\AppModel\Repository\Families\Microsoft. Windows.Photos_8wekyb3d8bbwe 

older-registry-version 2

After the second step you have to take ownership of the Microsoft Windows. TO do so, follow the further steps:

  1. Firstly, select ‘Administrator’ and then click the option ‘Advanced’. older-registry-version 3
  2. Next, you have to click the option ‘Change’; located just next to the ‘System’ and then enter your username and click ‘Check Names’ just to get the right form. Next, you have to click on ‘OK’ button so that you can confirm it.
  3. Now, you can check Replace owner on the option ‘sub-containers and objects’. Next, you have to click ‘Apply’ button and then to save the changes, you have to click ‘OK’ button.older-registry-version 5
  4. After this, you have to select the username option and next check the Allow box for Full Control and Read.older-registry-version 6
  5. Lastly, you have to click the option ‘Apply’ and then click ‘OK’ button to make the changes.

After you have completed figure out the outdated version keys, you can click on them and then simply select ‘Delete’ option.

Method 8: Try SFC Scan to Fix Invalid Registry Value Error

In order to fix and restore JPG/JPEG with Invalid Value for Registry error, SFC scan command can be tried once. Yes, it will scan all the protected system files. Also, it will replace the corrupted files with a cached copy which is generally present in a compressed folder at %WinDir%\System32\dllcache.

Before you start running the SFC scan, make sure that you run the Inbox Deployment Image Servicing and Management (DISM) on the system. This should be done if you are using Windows 10, Windows 8.1 or Windows 8. However, if you are using Windows 7 or Windows Vista then you can perform the SFC scan directly.

In order to run DISM, you have to follow the below steps:

  • First of all, to open the Power User menu, you have to press ‘Windows + X’ keys together and then select Command Prompt as an Admin.
  • Next, you have to type the command: DISM /Online /Cleanup-Image /RestoreHealth and then press Enter Generally, to complete the process, it takes about 20 minutes.

Now, you have to follow the below steps to perform SFC Scan:

  • You have to first type Command Prompt in the search box.
  • After this, right-click on ‘Command Prompt’ and then click ‘Run as administrator’.
  • Now, you have to type sfc/scannow in the command prompt window and then press Enter

sfc scannow

With the help of the above steps, one can fix invalid value for registry error. Sometimes users are not able to fix registry error even after trying SFC scan. In that case, users can try to restore JPG/JPEG with Invalid Value for Registry error using Method 9.

Method 9: Change The Registry Settings (For Users With Technical Skills)

Last, but not the least, you can try to change the registry settings but make sure that the user should have some technical knowledge. This solution is for those users only as it can affect other data as well even if a single mistake is done. So, to do, you have to perform the below steps:

  • First of all, log on to the PC as administrator and then click Window + R keys together and then press Enter
  • Now, you have to go to the HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Families\Microsoft.Windows.Photos_8wekyb3d8bbwe directory which is located on the left pane.
  • Several entries will be found here each with its version number, for example, Photos_15.1201.10020.0_etc. Suppose if it has 8 Microsoft Windows Photos App entries then it means that 4 of them are outdated. Or, if it has 4 entries then 2 are outdated. Having lower version number means it is the outdated entry. You need to delete all the outdated entries one by one.
  • In order to delete an outdated entry, you have to select an outdated entry and then right-click and then open Properties
  • You have to select there ‘Security’ and then open ‘Permissions’ and then click Advanced in Select User or Group
  • Next, you have to select Find Now and then select the username and click OK.
  • After this, you have to right-click on the outdated entry and then choose Delete
  • You are required to do the same for each outdated entry and then reboot the PC.

That’s all you have to do to change the registry settings to fix invalid value for the registry error.

Wrap Up

After going through the above information I have provided, you might know how to fix invalid value for registry error. No matter which Windows version you are using, you can easily restore JPG/JPEG with Invalid Value for Registry error using JPG/JPEG File Recovery Tool.

If you find this post helpful enough then please do share it with your friends who are also getting this issue and want to restore JPEG files.

Thank you so much for reading my post.

0 Shares
Share
Tweet
Share
Pin