8 Ways to Fix Invalid Value for Registry Error When Checking JPEG

How to fix the "Invalid value for registry" error when reviewing JPEG? Learn why and 8 ways to fix it in this article, as well as the importance of backing up your system and how to do it.

Yuka

by Yuka Updated on November 1, 2022

Share this: instagram reddit

User Case: "Invalid Value for Registry" Error When Viewing JPEG?

"I recently upgraded an old laptop to Windows 10 and downloaded many photos from my phone, but when I tried to browse them, I found that I couldn't open any of them at all. This is because whenever I try to open them, I get the error that the registry has an invalid value. I am new to computers and really don't know how to fix this problem. Can anyone tell me what I should do? Lastly to add, these photos are all in JPEG format."

Error Message

Besides Windows 10, the "Invalid value for registry" error described in the above case may also appear on Windows 7/8/8.1, which can be considered as a common error on Windows systems. Although this error does not affect the normal use of the computer, it is still an urgent problem for some users who need to edit or process images. If you are also troubled with this, follow the below methods to fix this error. But before that, please understand the cause of the problem.

Why Do I Get the Error "Invalid Value for Registry" When Checking JPEG?

When your computer is upgraded from Windows 7/8 to Windows 10/11, Windows system is updated to the latest version or some applications are updated to the latest version. The registry items of the previous version may remain the same. And these old items may conflict with the default photo viewer opening of newer versions of the system. This may lead to interruptions in the system process and eventually an "Invalid value for registry" error when viewing JPEG files.

8 Ways to Fix "Invalid Value for Registry" Error When Checking JPEG

Once you understand the cause, you can fix the above error by following these 8 methods. Note that the following 8 methods can also be used to fix the "Invalid value for registry" error when viewing JPG. In addition, since the default photo viewer in Windows 10 is Microsoft Photos, all the next fixes will be based on Microsoft Photos as an example.

Method 1. Reset Photo Viewer

When you encounter the error "Invalid value for registry" when viewing JPEGs in Windows 10, you should first try resetting the Photo Viewer. This method will delete the settings and cached data stored in the app and bring it back to normal. Please note that this method is only available for Windows 10 systems.

  1. Use Windows + I to open Windows Settings, and tap Apps.
  2. Go to the default Apps & features tab and find Microsoft Photos in the list in the right panel.
  3. Tap Microsoft Photos, and then tap Advanced options.
  4. In the Reset section, tap the Reset button and confirm this action.

Reset Microsoft Photos

Note📝: You can also try to fix Microsoft Photos by tapping the Repair button first to see if you can fix the error, and then reset the application if you can't fix the error.

Method 2. Update Microsoft Photo Viewer

In addition to resetting Microsoft Photos, you can also try updating the app, which will also help fix the "Invalid value for registry" error when viewing JPEGs.

  1.  Use Windows + I to open Windows Settings, and tap Update & Security.
  2. Go to the default Windows Update tab and tap on the Check for updates button in the right panel.
  3. Find Microsoft Photos and tap the Install Updates button, then restart your computer.
  4. In addition, you can update Microsoft Photos in the Microsoft Store. just go to the Microsoft Store and tap the three dot icon in the upper right corner.
  5. Find the Microsoft Photos in the Download and updates window and update it.

Microsoft Photos

Method 3. Reinstall Photo Viewer

If resetting and updating Microsoft Photos does not help you fix the "Invalid value for registry" error when viewing JPEGs, you can also try reinstalling Photo Viewer to fix the error.

Note📝: Photo Viewer is the default application for Windows 10 and therefore cannot be uninstalled in the usual way. Here it is recommended that you reinstall Photo Viewer via Windows PowerShell.

  1. Right-click on the Start button and select Windows PowerShell (Admin).
  2. In a Windows PowerShell window, enter the following command and press Enter to uninstall the photo viewer.
  • Get-AppxPackage *photos* | Remove-AppxPackage
  1. Re-install the photo viewer by entering the following command again and pressing Enter.
  • Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest. xml"}

Reinstall Photo Viewer

  1. Finally, press exit again to close Windows PowerShell and restart your computer to save the changes you have made.

Method 4. Implementation of SFC and CHKDSK tools

The System File Checker (SFC) scans and repairs corrupt system files, while the CHKDSK tool scans and repairs disk errors, and together they can be used to fix "invalid value for registry" error when checking JPEG.

  1. Use Windows + S to open the search box, type cmd, and select Run as Administrator.
  2. In the Command Prompt window, type sfc /scannow and press Enter to execute this command.
  3. Open the Command Prompt again as administrator, type chkdsk C: /f, and press Enter to execute the command, then press Y to confirm the check.

CHKDSK Scan

Note📝: You can replace C in the above command with the local disk drive where the system file is installed.

Method 5. Update the Display Adapter Driver

Outdated display adapter drivers can also be a trigger for the "Invalid value for registry" error when viewing JPEGs. In this case, you can try to update the display adapter driver to fix the above error.

  1. Right-click on the Start button and select Device Manager.
  2. Find and expand the display adapter in the list, and right click on the specific display adapter (Intel, AMD or NVIDIA), and then select Update Driver.
  3. In the new window, tap Search automatically for drivers and wait for the process to complete. If there are updates available, update them promptly.

Search Automatically for Drivers

Method 6. Clear Windows Store Cache

The Windows Store cache is a major cause of the "Invalid value for registry" error when viewing JPEGs. So you can try to fix the above error by clearing the Windows Store cache.

Use Windows + R to open the Execute window, type WSReset.exe and press Enter.

WSReset.exe

At this point, you can see the command prompt pop up automatically and wait for it to execute automatically to clear the cache. After seeing the Windows Store pop up automatically, it means the cache has been cleared successfully.

Method 7. Delete the Old Version of the Registry Items

Older entries in the registry that remain after upgrading or updating Windows are the direct cause of the "Invalid value for registry" error when viewing JPEG. Therefore, removing old version items from the registry is an effective fix.

Note📝: There is a risk that editing the registry may affect the normal operation of your Windows system if you make a mistake. Therefore, it is recommended that you make a system backup before you start.

  1. Use Windows + R to open the Run window, type regedit and press Enter.
  2. In the Registry Editor window, navigate sequentially to the following path.
  • HKEY_CURRENT_USER\Software\Classes\LocalSettings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Families\Microsoft.Windows.Photos_8wekyb3d8bbwe

Delete the Old Version of the Registry Items

▶ Tips: Below the Microsoft.Windows.Photos_8wekyb3d8bbwe project, you will find several projects, each corresponding to a version number, where the lower version number represents the older version of the project, you need to remove these lower version items. But before that, you need to get the ownership of the Microsoft.Windows.Photos_8wekyb3d8bbwe project. Please follow these steps.

  1. Right-click the Microsoft.Windows.Photos_8wekyb3d8bbwe project and select Permissions.
  2. In the Security window, tap the Advanced button.
  3. Tap the Change button next to Owners in the upper left corner to enter the Select User or Group window.
  4. Under Enter the object name to select, enter the user account name, and tap the Check names button, then tap the OK button.

Check Names

  1. Below the owner, check the Replace all child object permission entries with inheritable permission entries from this object check box, and then tap the OK button.
  2. In the Group or user names section, check the account you added in the previous step and check the Allow for Full Control checkbox in the Permissions section, then tap the OK button.
  3. Next, you can delete the old version items in the Microsoft.Windows.Photos_8wekyb3d8bbwe project in the Registry Editor in order and restart your computer.

Method 8. Perform Windows Troubleshooting

Windows 10's built-in troubleshooting tool can help you solve many problems, and when you are at a loss for "invalid value for registry" error when checking JPEG, you can run Windows Troubleshooting to fix the error.

  1. Use Windows + I to open Windows Settings and tap Update & Security.
  2. Switch to the Troubleshoot tab in the left panel, tap Additional troubleshooters in the right panel.
  3. Then Find Windows Store Apps, and tap the Run the troubleshooter button.

Run the Troubleshooter

  1. Wait for Windows Troubleshooter to automatically detect the problems and fix them. Once this process is complete, restart your computer.

Quick Solution to Restore Your System to A Normal State - System Backup

If you are suffering from the "Invalid value for registry" error when viewing JPEGs, please use the 8 fixes provided above to ensure that you can view the photos you need correctly. However, please note that registry problems caused by Windows system upgrades or updates are the main cause of this error.

To avoid this error from happening again, we recommend that you use AOMEI Backupper Standard to backup your system before upgrading or updating your Windows system. This will allow you to restore your system to its previous state if needed.

AOMEI Backupper Standard works with multiple system versions such as Windows 11/10/8.1/8/8/7/Vista/XP. You can back up system files, boot file related partitions (EFI system partition and recovery partition, etc.), application and user profile files of system disks to any location for free.

Moreover, the procedure of backing up your system with AOMEI Backupper Standard is not complicated, you just need to read the following details and you will be able to backup your system easily.

Download FreewareWin 10/8.1/8/7/XP
Secure Download
  1. Run AOMEI Backupper Standard, select the Backup tab in the left panel, and select System Backup in the right panel.

System Backup

  1. Next, you also need to change the save path of the system backup in the System Backup interface, and then tap the Start Backup button.

Start Backup

🧱Tips: Before you start the backup, you can also set the Options, Schedule and Scheme by clicking on them in the bottom left corne
✡ Options: You can add comments to the current backup job and enable email notifications. Enabling encrypted backups increases the security of backups, but requires upgrading to the Pro version.
✡ Schedule: You can set up automatic Daily, Weekly and Monthly backups of your system for free. When upgrading to the Pro version, you can also set up automatic system backups on Event triggers and USB plug in.
✡ Scheme: You can change the current backup method, including incremental backup, full backup and differential backup, where differential backup requires upgrading to the Pro version. When upgrading to the Pro version, you can also enable the Auto Clean Backup feature.

When you edit the registry by mistake or encounter errors related to the case again, you can use the previously created system backup image and use the System Restore feature to quickly restore the system to its previous state, thus saving time in reinstalling Windows.

In addition, to prevent problems with your computer not booting, it is recommended that you create bootable media to ensure that your computer boots safely so that you can use AOMEI Backupper to assist with system recovery.

Conclude

If the "invalid value for registry" error when viewing JPEG has caused you a lot of trouble in image processing, please fix it as soon as possible with the 8 methods provided in this article to save your time.

However, we must remind you that Windows system upgrades or updates may bring similar errors again, so we recommend you to make a system backup via AOMEI Backupper Standard as soon as possible to quickly restore your system when needed.

Yuka
Yuka · Editor
Yuka, our dedicated editor at AOMEI Technology, is committed to bringing you valuable insights and guidance in data protection. Her mission is to empower everyone with her knowledge in computer backup and recovery, disk cloning, file synchronization, and more. Yuka's goal is to do her best to make complex tech tasks simple and ensure that your digital world remains safe and secure.