CLOUD CONSULTING AWS & Azure Constalting, Migrations, Strategy   CLOUD ADOPTION Architecture, Design, Migrations, Cost Optimization   Cloud Professional Services Engineering, DevOps & Automation, Disaster Recovery   Cloud Operations Support 27x7x365 Cloud Support, Continuity, Patching   Productivity Suite Integration Microsoft 365, G-Suite, Zero Trust Security   Managed IT Services Managed Infrastructure, Business Continuity
About Stepinlogic About Stepinlogic Why Stepinlogic Why Stepinlogic AWS Partnership AWS Partnership Microsoft Partnership Microsoft Partnership Our Story Careers
Latest Blog Posts   Latest Help Articles  

How to Fix JPG/JPEG With “Invalid Value for Registry” Error

invalid value of registry image

How to Fix JPG/JPEG With “Invalid Value for Registry” Error

Invalid Value for Registry

The ‘Invalid Value for Registry’ JPEG error is common with Windows operating system. Usually, the registry error appears after upgrading Windows to

a new version. There are chances that after the upgrade, not all files of the Windows Photos app or Photo Viewer updated. Consequently leading to the invalid value for registry error in JPEG/JPG files.

It is recommended to take a full backup of your photos in an external storage media. This ensures you are safe in case of any photo loss situation occurring due to troubleshooting.


Method 1: Open JPEG in another Photo viewer application

This is the first thing you should try in case of registry errors in JPEG files. Open the JPG/JPEG images with other photo viewer applications, apart from the built-in Windows Photos app. Just right-click on the JPEG/JPG file and choose from applications to view the image. You can also pick the image viewing app in the Microsoft store to open your photos.


Method 2: Reset Photos App

  1. Go to Start > Settings > Apps

Invalid Value for Registry

Invalid Value for Registry Apps
     2. Click on Photos app

Microsoft Photos

     3. A box appears, select Advanced Options and click the Reset button

Reset button



Method 3: Perform SFC scan

Note for Windows 10, 8.1 and Windows 8 users: Before running the SFC scan, run the (DISM) on your system while others can directly perform SFC scan. The /RestoreHealth parameter runs a scan for corruption and attempts to repair any issues that it finds automatically.

To run DISM follow the below steps:

  • Press the Windows key + X to open the Power User menu and select Command Prompt (Admin) or PowerShell (Admin)
  • Type the following command and press Enter: DISM /Online /Cleanup-Image /RestoreHealth 

The scan takes longer to complete if corruption found during the scan of the image. Note that the operation may appear stuck at times, but this is no cause for concern as scanning should commence after a moment automatically. If the scan finds corruption, it attempts to correct the issue using Windows Update by default.

Now perform SFC scan as below:

  • In the Search box, type Command Prompt or cmd
  • Right-click Command Prompt
  • Click Run as administrator
  • In the command prompt window type sfc /scannow and press Enter

sfc /scannow

  • Reboot the computer


Need Help? Contact Us


STEPINLOGIC | 292 262 6652


Full-service IT provider for Growing Companies in NY & NJ

Share Article
Share on facebook
Share on twitter
Share on linkedin
Latest Articles