How to Fix Invalid Value for Registry error for JPG

Windows Registry is a collection of databases to store the information and settings for programming programs, equipment devices, user inclinations and more. If in the wake of upgrading your PC to Windows 10, when you attempt to open/see picture files with the local Photos app in Windows 10, you get the Invalid Value for Registry mistake message, then this post will support you. In this post, we will identify some potential known causes that can trigger the blunder and then give the potential solutions you can attempt to help remediate this issue.

The main reason for this mistake is that in the wake of updating to Windows 10, some vault sections of the past Windows installation remain intact and conflict with the present installation.

Invalid Value for Registry

If you’re confronted with this Invalid an incentive for the Registry issue, you can attempt our prescribed solutions underneath in no specific request and check whether that assists with resolving the issue.

Before we begin, we propose you have a go at opening/viewing the picture using Windows Photo Viewer or any comparative outsider app. The picture should open fine and dandy. However, if you want to use the Windows 10 in-manufactured Photos app, you can attempt these solutions to fix the issue.

1] Reset the Photos app

The Invalid an incentive for library blunder when opening any picture file corresponds with the Photos application. Along these lines, in this solution, we will reset the app to reinitialize its configurations.

Here’s how:

  • Press Windows key + I to dispatch the Settings app.
  • Click on the Apps option and select Apps and Features from the left sheet.
  • Search the rundown and click on the Microsoft Photos or the Photos option.
  • Click on the Advanced Options button beneath the name of the app.
  • Look down and click on the Reset button to reinitialize the app.
  • Once the procedure finishes, check if the issue is settled. If not continue with the following solution.

2] Delete the Photos app more established version registry entries

In this solution, you can fix the blunder while opening any picture file by deleting the more seasoned version of the registry entries for the Photos app.

Here’s how:

Caution: Since this is a registry operation, it’s suggested that you back up the library or make a System Restore Point on the off chance that the technique turns out badly. Once you have taken the vital precautionary measures, you would now be able to continue as follows:

  1. Press Windows key + R.
  2. In the Run discourse box, type regedit and hit Enter to dispatch Registry Editor.
  3. Next, explore or bounce to the library key beneath:
    HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Families\Microsoft.Windows. Photos_8wekyb3d8bbwe
  4. On the left sheet, expand/breakdown the Microsoft.Windows. Photos_8wekyb3d8bbwe key.
  5. Under this key, there are typically 8 passages. If you find 4 sections that have a more seasoned version number than the other 4, right-click one after another the 4 obsolete passages and select Delete from the context menu. A few users find 6 passages with 2 obsolete ones, erase the 2 obsolete library sections.

Note: To have the option to erase a vault section, you’ll first need to take responsibility for library passage.

Once you have erased the obsolete sections, leave Registry Editor and then reset Windows Store reserve for good measure.

Subsequently, restart your PC and check whether you can open/see pictures with the Photos app without the mistake. If not, you can continue with the following solution.

3] Uninstall and reinstall Photos app

In this solution, you’ll have to uninstall the Photos app and then re-install it. Re-installing re-keeps in touch with the library with the right settings so this works in many cases and should fix the mistake.

However, most default apps can’t be uninstalled through the conventional way, so you’ll need to uninstall/reinstall the Photos app through PowerShell.

Here’s how:

  • Press Windows key + X to dispatch the Power User Menu.
  • Now, press An on the console to dispatch PowerShell in admin/raised mode.
  • In the PowerShell window, copy and glue the command underneath and hit Enter to uninstall Photos app:
    Get-AppxPackage *photos* | Remove-AppxPackage
  • After the app has been uninstalled, copy and paste the command underneath and hit Enter to reinstall the app.
    Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
  • Once the reinstallation finishes, check and check whether the issue is settled. If not continue with the following solution.

Also see: Download and install KB4538461 Windows 10 Cumulative Update

4] Run Windows Store Apps Troubleshooter

In this solution, you can run Windows Store Apps Troubleshooter to investigate issues that might be preventing the Photos app from working appropriately consequently triggering this blunder.

Do the following:

  • Go to Start > Settings > Update and Security > Troubleshoot.
  • Select Windows Store Apps > Run the troubleshooter.
  • At the point when the procedure finishes, verify whether the issue endures. If so attempt the following solution.

5] Run SFC/DISM check

If you have System files mistakes, you may experience the Invalid an incentive for vault blunder.

The SFC/DISM are tools in Windows that permit users to check for corruption in Windows framework files and restore undermined files.

  • For the reasons for simplicity and convenience, you can run the sweep using the method underneath.
  • Open Notepad – copy and paste the command beneath into the word processor.
    @echo off
    date /t & time /t
    echo Dism /Online /Cleanup-Image /StartComponentCleanup
    Dism /Online /Cleanup-Image /StartComponentCleanup
    echo ...
    date /t & time /t
    echo Dism /Online /Cleanup-Image /RestoreHealth
    Dism /Online /Cleanup-Image /RestoreHealth
    echo ...
    date /t & time /t
    echo SFC /scannow
    SFC /scannow
    date /t & time /t
  • Save the file with a name and append the .bat file extension – eg; SFC_DISM_scan.bat.

Over and again run the bunch file with admin benefit (right-click the spared file and select Run as Administrator from the context menu) until it reports no mistakes – at which point you would now be able to restart your PC and check whether the Photos app issue is settled.

Any of these solutions should fix the issue for you!

Leave a Comment