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.
"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."
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.
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.
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.
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.
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.
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.
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.
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.
Note📝: You can replace C in the above command with the local disk drive where the system file is installed.
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.
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.
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.
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.
▶ 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.
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.
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.
🧱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.
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.