Invalid value for registry error shows up when opening photos on Windows? No worries! We have 2 solutions that you can do to fix this problem on your computer.
This issue usually happens after you upgrade the Windows version. Somehow, the updating process is not clean enough and left some caches on the registry. Then they cause a crash and lead to invalid value for registry error. To solve the issue, you can follow our instructions below. Read on. 🙂
How to Fix Invalid Value for Registry Error When Opening Photos on Windows
Solution 1: Remove the older version of registry entries
To solve invalid value for registry error when opening photos, you can try to remove the older version of registry entries. Then, clean out all the Windows store caches. Refer to the following steps-wise for the complete guide.
- Hit Windows + R keys simultaneously to open Run box.
- Type Regedit and press Enter. Press Yes if prompted by User Account Control.
- The Registry Editor window will pop-up. Go to the left pane and navigate to: HKEY_CURRENT_USER\Software\Classes\LocalSettings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Families.
- Scroll down on Families dialog, search and expand Microsoft.Windows.Photos… folder. If you see 8 Microsoft Windows Photos App entries in this folder, it means the application update did not delete the older registry keys.
- Remove the 4 entries with older version number.
- Here is how to delete the entries in Registry Editor window. Firstly, take ownership of Microsoft.Windows.Photos_8wekyb3d8bbwe registry key. Follow these steps:
- Right-click on the older version entry and choose Permissions…
- Press the Advanced button to go on.
- Hit Change, insert your account name in the box and press Check Names. Next, click OK button to go back to the previous window.
- Tick Replace owner on subcontainers and objects and press Apply > OK.
- Select the account you have just added. Then, check on the Allow box of Full Control. Press Apply button and OK.
- Right click all the outdated version keys and select Delete.
- Exit from the Registry Editor and reboot PC. Check whether you the invalid value for registry has been resolved.
ALSO CHECK: 3 Solutions for Potential Windows Update Database Error Detected
Solution 2: Re-install the Photo app
In the second method, we will use the PowerShell to fix invalid value for registry error. Follow the easy steps below:
- Click the Start button and type PowerShell in the box.
- Right click on PowerShell and select Run as administrator.
- Type the following commands in the PowerShell window and press Enter to uninstall Photos app.
- Get-AppxPackage *photos* | Remove-AppxPackage
- When the uninstall process is completed, type the following command and press Enter to reinstall it.
- Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
- Type Exit to close the PowerShell window.
Now, restart your PC to see the effect.
READ ALSO: Solutions to Fix System Image Restore Failed on Windows (2 cases)
Conclusion
After performing the two methods above, the invalid value for registry error should have solved. You should be able to open Photos app and see the pictures on your computer without any problem. If the error persists, you can try to restore your Windows OS to the normal state. But you can only do it if you had enabled the restore points feature in advance.
Hopefully the methods can help you solve the problem on Windows. We are welcome for any feedback. Thank you for reading, Folks!