How to Fix Invalid Value for Registry on JPG/JPEG/PNG Files?

How to Fix Invalid Value for Registry on JPG/JPEG/PNG Files?

Are you struggling badly to restore lost images on Windows 10 and done trying every method you knew? Friends you are not the only one struggling with this problem. The only reason that is restricting you to view your photos is an error called “The invalid value for registry”. There are two ways to resolve the error by manually or by using the software. Devicetricks is your savior who has come up with troubleshooting methods which will help in fixing this error.

What is an invalid value for registry?

What is an invalid value for registry?

Windows programs, software, hardware devices, user preference, and many other items work according to the information and data set in the windows registry. Windows registry is a collection of database and a small difference in the values of registry will be a big problem. Therefore “The invalid value for registry” error is a wrong sign for your system’s functioning. A variation in the registry entries may occur after upgrading your system to Windows 10. Updating your system to Windows 10 may keep the old registry entries of the system intact to it and may cause conflict with the current system.

This error can occur while handling any type of files but mostly it is encountered while opening the JPG/JPEG/PNG files. This error occurs soon after the Windows update or rebooting system.

Why “Invalid Value for Registry” error occurs?

Though there is not any specific reason behind this error. However, many users reported that the error is caused due to the registry entry of the previous version may remain intact soon after the Windows update. The other possible reasons behind this error are bugs in the application, incompatible application or the software, outdated driver and variation in the registry values.

Troubleshooting Tip to Fix invalid value for registry error

Before moving towards the solutions to fix the invalid value for registry error it is always recommended to try this troubleshooting tip to fix the error. Try to open the images with another application. If necessary to download then download and install the application. Try to open the images with this new application. Though this is the simplest method to fix this error sometimes there are chances that the old application or software may not be working properly while opening the images just after the Windows update. If the images are opening properly using the newly installed software or application then the problem is with the software else you can proceed to the next solutions to fix this error.

Fix “The invalid value for registry” error on Windows 10

Let us see the step by step guide along with with the images to fix “The invalid value for registry” error when opening photos on Windows 10

Reset the Photo App

  • Press Windows + X key simultaneously and choose Apps and features from the list.

Press Windows + X key simultaneously and choose Apps and features from the list.

  • In the Apps and features setting search for photo App and click on it.

In the Apps and features setting search for photo App and click on it.

  • Select the Advanced option for resetting the photo App.

Select the Advanced option for resetting the photo App.

  • Selecting the Advanced option will take you to the photo Apps advanced settings where you need to scroll down the list and search for the Reset button and click on it.

Selecting the Advanced option will take you to the photo Apps advanced settings where you need to scroll down the list and search for the Reset button and click on it.

Run the App troubleshooter

  • To select Settings click on the Start button.

To select Settings click on the Start button.

  • Select the Update & Security option from the Window Settings.

Select the Update & Security option from the Window Settings.

  • Search for the troubleshoot and then select the same option from the shown result.

Search for the troubleshoot and then select the same option from the shown result.

  • In the next Window, just navigate to the left sidebar and click on ‘View All’.

In the next Window, just navigate to the left sidebar and click on 'View All'.

  • Scroll down to the list to select Windows Store Apps and click on Run the troubleshooter button.

Scroll down to the list to select Windows Store Apps and click on Run the troubleshooter button.

  • Running the App troubleshooter may have fixed the invalid value for the registry.

Uninstall and Re-Install Photo App

  • Press Windows + Q key simultaneously and type PowerShell in the search box.

Press Windows + Q key simultaneously and type PowerShell in the search box.

  • Right-Click on the Windows PowerShell and Run as Administrator.

Right-Click on the Windows PowerShell and Run as Administrator.

  • Type Get-AppxPackage *photos* | Remove-AppxPackage and press enter to uninstall the App.

Type Get-AppxPackage *photos* | Remove-AppxPackage and press enter to uninstall the App.

  • Once the App is uninstalled re-install the App by typing Get-AppxPackage -AllUsers| Foreach{AddAppxPackageDisableDevelopmentModeRegister“$($_.Install Location)\AppXManifest.xml”}. Restart the system to save the changes and open the photos to check the registry error has gone or not.

Once the App is uninstalled re-install the App by typing Get-AppxPackage -AllUsers| Foreach{AddAppxPackageDisableDevelopmentModeRegister“$($_.Install Location)\AppXManifest.xml”}. Restart the system to save the changes and open the photos to check the registry error has gone or not.

Change the Registry Settings

  • Open a run Program by pressing Windows + R key altogether and type regedit and press OK to open the registry editor.

Open a run Program by pressing Windows + R key altogether and type regedit and press OK to open the registry editor.

  • Navigate to HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\ Repository\Families\Microsoft.Windows.Photos_8wekyb3d8bbwe directory on the left panel.

Navigate to HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\ Repository\Families\Microsoft.Windows.Photos_8wekyb3d8bbwe directory on the left panel.

Before deleting the outdated keys you need to take the ownership of the keys.

  • Right-Click on the Microsoft.Windows.Photos_8wekyb3d8bbwe directory and select permission.

Right-Click on the Microsoft.Windows.Photos_8wekyb3d8bbwe directory and select permission.

  • Select the Administrator by scrolling down the list and click on Advanced button.

Select the Administrator by scrolling down the list and click on Advanced button.

  • Select the change option on the Advanced settings window.

Select the change option on the Advanced settings window.

  • In select User or Group click on Advanced button.

In select User or Group click on Advanced button.

  • Click on Find Now to browse the User or Group from the list.

Click on Find Now to browse the User or Group from the list.

  • Find your username and click on OK to apply the changes.

Find your username and click on OK to apply the changes.

  • Later do the changes in the permission of the Administrator by click on the allow option.

Later do the changes in the permission of the Administrator by click on the allow option.

  • This will give you ownership of the keys and now you can delete the outdated keys and look out that the invalid value for registry error has gone.

Clear Windows Store Cache

  • Press Windows +R key to open the run program and type WSReset.exe and click on OK to clear all the Cache. Once the process is done restart the Photo App and check if the problem persists or not.

Press Windows +R key to open the run program and type WSReset.exe and click on OK to clear all the Cache. Once the process is done restart the Photo App and check if the problem persists or not.

Run the System file checker and Check Disk

  • Press on the Start button and type Command Prompt in the search box. Select Command prompt from the search list right-click on it and Run as Administrator.

Press on the Start button and type Command Prompt in the search box. Select Command prompt from the search list right-click on it and Run as Administrator.

  • Type sfc /scannow and press Enter.

Type sfc /scannow and press Enter.

  • Wait until the scanning completes and once finishes scanning restart the PC.
  • Once again, open the Command prompt in Administrator mode as done in previous steps and type CHKDSK /f /r and hit enter to run the disk check process.

Once again, open the Command prompt in Administrator mode as done in previous steps and type CHKDSK /f /r and hit enter to run the disk check process.

  • It will ask to reschedule the scan, type Y and hit Enter.

It will ask to reschedule the scan, type Y and hit Enter.

Update Driver

  • Search for Device manager in the Start tab and select Display Adapters from the list down items. Click to expand the folder and select the drive. Right-click on it and choose Update Drive option.

Search for Device manager in the Start tab and select Display Adapters from the list down items. Click to expand the folder and select the drive. Right-click on it and choose Update Drive option.

  • A box Pop-up on the display, select Search automatically for Updated Driver Software.

A box Pop-up on the display, select Search automatically for Updated Driver Software.

  • Restart the PC to save the changes and to examine whether the Invalid value for registry error has been fixed.

Conclusion:

That’s all these are the best solution on “The Invalid value for registry” error for Windows 10. These solutions will definitely resolve the issue. Leave your comments below to let us know how these methods work for you. If you feel this article helpful please like, share and follow our Facebook page and keep visiting our website for such tutorials and guides.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top