Skip to content

Published: February 6, 2016 | Applies to:

When you can't open JPG files in Photos app and get - Invalid value for registry error in Windows 10, you can try this solution and fix it.

Sometimes when you update your apps in Windows, the registry entries of previous version may remain intact. In some cases these registry entries remained intact may create problem for you.

Recently, we came around one such problem in Windows 10. Actually, when we tried to open images having JPG format with the Photos app, we were treated with following error:

Invalid value for registry

FIX - Invalid Value For Registry Error In Windows 10

We were keep getting this error for JPG files only but we believe that you may face this issue with other file formats plus other apps as well. After investigating, we concluded that the registry entry of previous version of affected app is causing this problem. Hence if you delete the older version entries, the problem can be solved very easily.

Here is the how-to part:

FIX : Invalid Value For Registry Error In Windows 10

Registry Disclaimer: The further steps will involve registry manipulation. Making mistakes while manipulating registry could affect your system adversely. So be careful while editing registry entries and create a System Restore point first.

1. Press W8K + R and put regedit in Run dialog box to open Registry Editor (if you’re not familiar with Registry Editor, then click here). Click OK.

Windows 10 Registry Editor

2. In the left pane of Registry Editor, navigate to following registry key:

HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Families\Microsoft.Windows.Photos_8wekyb3d8bbwe

FIX - Invalid Value For Registry Error In Windows 10

3. At this registry location, you first need to take ownership of Microsoft.Windows.Photos_8wekyb3d8bbwe registry key using RegOwnerShipEx or this manual method. After taking ownership, expand Microsoft.Windows.Photos_8wekyb3d8bbwe key and examine sub-keys next to it. There should 50% outdated version keys and 50% keys are for newer/existing version. So all you need to do is to spot outdated version registry keys which should be equal to number of keys for newer version. For example, if you have 2 keys, one must be for newer version (higher version number) and another should be for outdated version (lower version number). Similar analogy can be applied if you’ve 4, 6, 8 and so on registry keys in total.

4. Once you spotted all outdated version keys, right click on them one by one and select Delete. After deleting lower version number entries, you can close Registry Editor and restart your machine, the problem should be fixed by that.

Hope this helps!

Read about other known issues on Windows 10:

1. Class not registered error in Windows 10

2. Windows 10 Element not found error

SHARE: Facebook Google+ Twitter


  • Dear Kapil, Just wanted to say a huge thank you to you for taking the time to post the solution to this issue. I’m sure this has effected many new Windows 10 users installations as this seems to be quite a common issue though few seem to have the solution. It’s easy to see what the issue is now with the second earlier Reg key that was not removed by the MS Photo app update.

    Huge thanks again!!

    Kind Regards,

    London, UK.

  • Kapil Arya

    ^^ Glad we could help :)

  • When I click on Google I get the message “Invalid value for registry.” Also, when I click on photos in Pictures File, they won’t open and I get the same message. I recently downloaded Windows 10. I’ve never had these problems until now. HELP!

  • Kapil Arya

    ^^ Have you tried above mentioned steps?

  • WOW! After 6 hours of struggling with starting Windows Store app, this solved the issue!

  • Kapil Arya

    ^^ Cool :)

  • Thank you so much – I spent hours looking at this the other day, following all sorts of crazy procedures which did nothing… this has fixed it in five minutes. Genius! Thank you…

  • Kapil Arya

    ^^ Thanks for your awesome feedback!

  • Thanks a lot, finally managed to fix the issue I had with Groove Music by removing outdated keys of ZuneMusic!! ;)

  • Kapil Arya

    ^^ Awesome :)

  • Cannot delete outdated versions. lol.

  • Kapil Arya

    ^^ Please take the ownership of the key first then delete:

  • i have an problem bt not like that when i star my laptop all icons on dekstop are visible and suddenly chrome,adobe,vlc,all icons are get invisible and i didn open the videos chrome
    it give me msg INVALID VALUE FOR REGISTRY plz help me

  • Kapil Arya

    ^^ Try third DISM command mentioned here:

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    What's New

    Recent Comments

    • Kapil Arya : ^^ Feedback like this made my day, thank you ☺️...

      2 hours ago

    • Kapil Arya : ^^ This works in Windows 7 too and you can try the steps 😊...

      2 hours ago

    • Tony : Yes, Yes, Yes this is the only solution I could find that ac...

      2 hours ago

    • shubham : I m facing this problem in window 7 I m not able to connect ...

      3 hours ago

    • Dromandus : no Yet. I have done for F72671A9-012C-4725-9D2F-2A4D32D65169...

      5 hours ago

    • Kapil Arya : ^^ Have you performed steps for HKEY_CLASSES_ROOT\AppID\{6B3...

      10 hours ago