How to Fix “Invalid Value for Registry” Error When Viewing Photos? - Windows Basics

Latest

Thursday, July 21, 2022

How to Fix “Invalid Value for Registry” Error When Viewing Photos?

Microsoft Photos is the default photo viewer on Windows PCs. You can use it to quickly view image files or view all the pictures saved on your computer.

However, while viewing images using the Photos app, users may encounter an "Invalid value for registry" error. The problem can happen with any file, but is most common with JPG, JPEG, and PNG images.

What causes the Invalid value for registry error for Windows Photos?

The "Invalid value for registry" error is common among users who have recently downloaded the latest Windows build. Turns out, if the Microsoft Photos app is out of date, you might have this problem. However, this is not the only cause of the error message.

Here are all the other "culprits" that cause the "Invalid value for registry" error:

1. An error message may appear if there is any kind of error in the Microsoft Photos app.

2. Errors in system files can also be the cause of this error.

3. And finally, misconfigured registry setting is another common reason behind this problem.

Now that you know all the main culprits behind the problem, let's take a look at the available fixes.

How to fix "Invalid Value for Registry" error when viewing photos on Windows

1. Reboot the system

After downloading the latest Windows update, don't forget to reboot the system at least once. If you do not do so, you may encounter various problems, including the Invalid value for registry error.

So please reboot the system and try to view the images again.

2. Run Windows Store Apps Troubleshooter

Windows Store Apps Troubleshooter is a built-in Microsoft utility that helps solve problems with UWP apps after upgrading Windows. You can run this troubleshooter by following the steps below.

1. Open the Settings menu.

2. Select System in the left pane.

3. Go to Troubleshoot > Other troubleshooters.

4. Click Run next to Windows Store Apps.

The troubleshooter window will appear and look for any available problems. If it finds any problems, it will suggest potential fixes for you to try.

3. Update the Microsoft Photos app manually

As mentioned above, the error message may appear because the Microsoft Photos app is out of date. You will have to download the latest update to resolve the issue. Here are the steps to do that:

1. Open the Start menu, type Microsoft Store and press Enter.

2. Click Library in the bottom left corner.

Click the Get Updates button.

The Microsoft Store will begin downloading updates for all apps, including the Photos app. After the update is complete, reboot the system and check for the problem.

4. Change registry settings

The next solution on the list is to delete all obsolete entries of the Photos app from the Registry. You can do this by following the steps below.

Before proceeding, don't forget to back up the registry so you have something to revert to if something goes wrong.

1. Open the Run dialog box, type regedit and press Enter.

2. Click the address bar, paste the following location and press Enter:

HKEY_CURRENT_USER\Software\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Families

3. Locate and right-click the Microsoft.Windows.Photos_2022.31060.30005.0_x64__8wekyb3d8bbwe entry in the left pane.

4. Select Permissions from the context menu.

5. Click Advanced.

6. In the next window, click Change next to the Owner tag.

7. Click on the Advanced option again and then select Find Now.

8. Select the user account from the list and click OK.

9. Click Apply > OK.

10. Right-click Microsoft.Windows.Photos_2022.31060.30005.0_x64__8wekyb3d8bbwe and select Permissions from the context menu again.

11. Select the username and tick the Full Control box.

12. Click Apply > OK.

13. Now, right click on the entry again and select Delete.

14. Click Yes to confirm your selection.

15. After that, reboot the system and check if you still have the problem.

5. Repair and reset the Photos app

The "Invalid value for registry" error may appear due to a bug in the Microsoft Photos app. You can try using the built-in Windows Repair feature to solve the problem in this situation. Here are the steps to use it.

1. Open the Settings menu.

2. Select Apps from the left pane.

3. Click Installed apps.

4. Locate and click the three dots next to Microsoft Photos and select Advanced options from the context menu.

5. Click Repair in the Reset section.

6. After Windows finishes repairing the application, restart it and check for the problem.

You will have to reset the application if you still get the error message. To reset the Microsoft Photos app, open the Advanced option of the Photos app again and click the Reset option.

6. Run an SFC Scan

The Windows system files can get corrupted due to various reasons and cause different issues, including one in the discussion. In this situation, you can consider running an SFC scan.

The System File Checker tool, aka SFC, is a built-in Windows utility that automatically looks for and restores corrupt system files. You can run an SFC scan by following the below steps.

1. Open the Command Prompt as an administrator using one of the many ways to open the command prompt.

2. Type sfc /scannow and press Enter.

7. Reinstall the Microsoft Photos app

If none of the above solutions help, you have no choice but to reinstall Microsoft Photos. Here are the steps to do that.

1. Open the Start menu, type PowerShell and select Run as administrator from the right pane.

2. Type the following command and press Enter.

Get-AppxPackage *photo* | Remove-AppxPackage

3. Next, go to the Microsoft Store and search for Microsoft Photos.

4. Click Get to start the download.

After downloading the application, it will automatically be installed on the system.

The new Microsoft Photos app comes with a ton of cool features that you can try out. But sometimes, you may get an "Invalid Value for Registry" error when viewing images through the Photos app.

Fortunately, a quick setup or reinstall can restore the app to its normal working state. Plus, you can even explore other photo viewer apps for Windows.

No comments:

Post a Comment