Wondershare Repairit

Photo Repair

  • Fix all photo issues like photo grainy, photo pixelated, photo not opening, etc.
  • Enlarge the repaired photos to 2X, 4X, and 8X with AI technology.
  • Repair photos of 15+ different photo formats, such as JPG, PNG, NRW, etc.
  • Advanced Repair mode for severely corrupted photos.
  • Support a wide range of storage media including cameras, SD cards, mobile phones, hard drives, etc.
Free Download Free Download Free Download Learn More >
file repair

7 Methods to Fix Invalid Value for Registry JPG/JPEG

Wondershare Recoverit Authors

Jan 15, 2024 • Filed to: Photo/Video/Audio Solutions • Proven solutions

The Windows registry is a large database that contains the settings and configurations for hardware, programs, and applications running on your computer. If the registry is not properly maintained, it can suffer errors that cause system and application problems. There are chances that after the upgrade, not all files of the Windows Photos app or Photo Viewer are updated, consequently leading to the invalid value for registry error in JPEG/JPG files.

However, it is highly recommended to take a full backup of your photos in an external storage media, before performing any manual method to restore JPG/JPEG files with Invalid Value for Registry error. This ensures you are safe in case of any kind of photo loss situation occurring due to troubleshooting.

Method 1: Open JPEG in another Photo viewer application

Windows image viewer will now be the default picture viewer for that form of photograph file. You'll need to copy this manner for each kind of photo document you need to apply it with. In different words, whenever you open a picture that opens inside the photographs app, simply close the pics app and use the "open with" menu to a companion that records kind with home windows photo viewer. You'll simplest ought to do this the primary time you open each new sort of picture document.

flie select open with choose another app


Method 2: Reset Photos App on Windows 10

If you want to reset the photo app then you have to reset the photos app and it will wipe the app's cache and reset all its data to default settings.

  • Right-click the Start menu and go to "Apps and Features."
  • Next, scroll down to "Photos" in the list and click it, then click "Advanced Options," and in the next window click "Reset."
  • This will wipe all data from the Photos app, including any saved image presets or settings you may have had, and get it back to its original state.

go to store update app

  • Secondly, remove and Reinstall the Photos App. The more drastic option is to remove the Photos app manually and then reinstall it. Unfortunately, you can't do this through the "Apps and Features" list like you could a normal app.

go to app setting and reset


Method 3: Perform Drivers update

A device driver is an essential piece of code that allows Windows 10 to detect and interact with a specific piece of hardware (such as graphics card, hard drive, or network adapter), as well as peripherals, including mice, keyboards, printers, monitors, and many others.

Usually, Windows 10 can detect and install drivers automatically using the array of product drivers built into the system and Windows Update. However, on occasion, you may have to update a device manually for several reasons. For instance, when a particular piece of hardware isn't recognized automatically, stops working after an upgrade, Windows Update installs a generic package, or you need to access a new feature or bug fix.

Whatever the reason, Windows 10 comes with several options to update a device driver, including using Windows Update, Device Manager, and using auto-update assistants from device manufacturers.

In this Windows 10 guide, we walk you through several ways to properly update hardware drivers on your computer. Also, we outline the steps to determine if the driver was updated successfully.

Although it can take some time until manufacturers publish their latest driver updates in Windows Update, it's still the recommended method to download and install drivers, because packages in this channel have been tested, verified, and signed by Microsoft.

To quickly update device drivers using Windows Update, use these steps:

Once you complete the steps, if a driver is missing after an upgrade or clean installation, or a new driver has been published to improve an older version, it'll download and install automatically.

go to setting and check for update


Method 4: Update Windows Photo Viewer

Photo Viewer is a free Microsoft program that comes with Microsoft Windows. If you're running Windows 7, 8, or 8.1, it's the default program for viewing photos on the operating system. You can search for any new Windows Photo Viewer update using the Windows update tool. In Windows 10, they've largely replaced Photo Viewer with a tool called Microsoft Photos, though you can still use Photo Viewer if you wish.

credit: Westend61/Westend61/GettyImages

Windows Photo Viewer comes with Microsoft Windows versions 7 and up, but Microsoft may introduce updates to the software over time. If you want to see if there's a Photo Viewer update you can install, you can use the Windows Update tool to search for one.

  • Press the Windows key on your keyboard, then type "Update" in the search box and press the enter key.
  • Click the Windows Update icon, then click "Check for Updates."
  • If you see a Photo Viewer icon appear after Windows is done searching for updates, check the checkbox next to it.
  • Then, click "Install Updates" to install the updates to Photo Viewer.
  • If you're prompted to restart your computer, save any work and close any open programs, then click "Restart."

You can update the Windows photo viewer through your Windows update feature. Follow the steps below on how to update your Windows photo viewer:

  • On your keyboard, press the Windows Image key.
  • Type Update then presses Enter.
  • At the top of the window that displays on the screen, click on the Windows update icon.
  • On the Software menu, click on the Check for updates icon. (Windows will now look for any updates)
  • There will be a small box next to the Photo Viewer icon, check it. Then at the bottom part of the page, click the Install Updates icon.
  • Updates will now start to install, wait until it's finished. After that, a window will appear, click Restart.
  • Your computer will restart automatically, allow it to finish the process.

go to setting and  check for update


Method 5: Change the registry settings (for technically aware users)

Here you will find several entries each with a version number, like Windows.Photos_15.1201.10020.0_etc. If this folder contains 8 Microsoft Windows Photos App entries, it means half (4) are outdated. If it has 4 entries, 2 are outdated, and so on. The outdated entry is the lower version number. Delete one by one all the outdated entries.

To delete outdated entries:

log in to pc run as an administrator


Method 6: Perform SFC scan

Note for Windows 10, 8.1, and Windows 8 users: Before running the SFC scan, run the inbox Deployment Image Servicing and Management (DISM) on your system while others can directly perform the SFC scan.

To run DISM follow the below steps:

  • Press the Windows key + X to open the Power User menu and select Command Prompt (Admin)
  • Type the following command and press Enter: DISM /Online /Cleanup-Image /RestoreHealth. It takes about 20 minutes to complete the process

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, EnterPerform command prompt window type sfc /scan now

(Note: In the process of fixing JPEG 'Invalid Value for Registry' error by any of the manual methods, if you happen to lose any photos, use Wondershare Repairit Photo Recovery to recover your lost and deleted photos/videos, etc., from the computer or other storage media.)

Unlike manual techniques, the software approach is easy and hassle-free. But always use a safe and secure JPEG repair application that is free from any malware and efficiently repairs all kinds of corruption in the photos without hampering the original quality of the photo. If you are successful in resolving the "Invalid Value for Registry" JPEG error through any of the above techniques, do share the same with us in the comment box below.

right click command prompt click run as administrator


Method 7: Automatic Solution: Wondershare Repairit Photo Repair

Wondershare Repairit Photo Repair software is the best DIY software to recover media files lost due to deletion, corruption, or accidental formatting. It works with all major cameras, drones, PCs, memory cards, USB Flash Drives, and more.

The 'Advance Repair' option is for severely corrupt JPEG/JPG images. In case your JPEG/JPG image is not repaired through the normal repair process, the software automatically gives the option of Advance Repair. Click on it, follow the onscreen instructions, and repair the severely corrupt photos.

Wondershare Repairit Repair for Photo software does not edit or modify your RAW camera image files because it is read-only. Wondershare Repairit Repair for Photo can repair almost all kinds of corrupt images. You can efficiently fix broken, damaged, greyed-out, blurry, pixilated, grainy, missing bytes in images, loss of colors, blank image, unreadable, and inaccessible photos giving various errors like error #50, error #51, etc.

The software will extract thumbnails out of severely corrupt RAW camera files.

To repair RAW image formats of cameras, follow the below steps:

Step 1 Add damaged or corrupt photos

Simply launch Wondershare Repairit on your Windows PC and go to the “Photo Repair” feature from the sidebar.

Now, click on the "Add" button that would load a browser window. You can now go to the location where your corrupt photos are saved and load them on the application.

add corrupt photos

Step 2 Repair and preview your photos

Click on the “Repair” button and wait as the application would implement its unique algorithm to fix the loaded photos. When the repairing process would be completed, the application will let you know about the result.

repair corrupt photos

You can also just click on the thumbnail of the image to open its preview window. This will let you view the results, and you can check if the standard repairing process was successful or not.

preview repaired photos

Step 3 Save the repaired photos

Lastly, you can simply click on the “Save” button on the preview panel to export your photo. You can also go back, select multiple pictures, and click on the “Save All” button.

save repaired photos

Advanced Photo Repair

If the corrupt photos failed to be repaired, they must be severely damaged. In the case, you need to choose "Advanced Repair". Adding photo template with the same data structure, it will help to repair severely damaged photos.

Wondershare Repairit Photo Repair is also capable of recovering different video and audio file formats stored on hard drives, memory cards, and other storage media. The supported video file formats are MP4, 3GP, AVI, MPEG, Matroska Video File (MKV), AVCHD Video File (MTS), Divx Encoded Movie File (DIVX), MOI Video File, Video Object File (VOB), OGG, OGM, 3G2, ASX, MTS, AJP, F4V, VID, TOD, HD MOV, MOV, MQV, M4B, M4V, WMV, MXF movies and SVI. Supported Audio file formats are RPS, MP3, AU, WAV, MIDI, OGG, AIFF, RM, WMA, RA, M4P, M4A, ACD, AMR, AT3, CAFF, DSS, IFF, M4R, NRA, and SND files.

The image repair software lets you save the directory tree structure generated after a drive/volume scan to a desired location on the disk. The information is saved as a file that can be used to regenerate the tree structure of the found files/folders or to resume recovery at a later stage. You can choose to save the result of the complete procedure or stop the scan at any time and save the information up to that point.

Recoverit author

Eleanor Reed

staff Editor

Home > Resources > Photo/Video/Audio Solutions > 7 Methods to Fix Invalid Value for Registry JPG/JPEG