PDF download Download Article
Troubleshooting steps to get your photos working again in no time
PDF download Download Article

It’s frustrating when you want to look at or edit a photo or video in Windows and you get the error message “Invalid value for registry” and the file won’t open. This error usually indicates a problem with a value in the Windows Registry, which is a database that stores information about Windows programs, settings and user data. This error often occurs after upgrading Windows or Windows software. There may be some residual registry values for the old software in the Windows Registry. Luckily, there are a few things you can do to fix this issue. This wikiHow article teaches you how to troubleshoot and resolve the “Invalid value for registry” error message.

How to Fix “Invalid Value for Registry”

Start by resetting the Photos app in the Settings menu. If that doesn’t work, you can update your graphics drivers and clear your Windows Store cache and temporary files. Run a Windows troubleshooter, as well as a virus scan. You can also run a scan with SFC and DISM. If you are technically skilled, you can change the registry settings. Reset Windows as a last resort.

1

Reset the Photos app.

PDF download Download Article
  1. You may be able to resolve this issue by resetting the Photos app. This will clear all your settings and cached data for the Photos app. Use the following steps to reset the Photos app:
    • Click the Windows Start button.
    • Click Settings .
    • Click Apps .
    • Click Installed apps (Windows 11) or Apps & features (Windows 10).
    • Click Microsoft Photos (Windows 10) or click the icon with three dots (⋮) next to Photos (Windows 11).
    • Click Advanced options .
    • Scroll down and click Reset .
    • Click Reset .
  2. Advertisement
2

Update your graphics drivers.

PDF download Download Article
  1. Outdated drivers could cause problems with the Windows Registry. If you have more than one graphics driver, update each of them. Use the following steps to update your graphics drivers:
    • Right-click the Windows Start button.
    • Click Device Manager .
    • Expand Display adapters .
    • Right-click your graphics driver (you may have more than one).
    • Click Update driver .
    • Click Search automatically for drivers .
    • Follow the prompts if an update is available.
3

Reset your Windows Store cache.

PDF download Download Article
  1. You can easily reset the Windows Store cache. Use the following steps to do so:
    • Press Windows key + R to open Run.
    • Type WSreset.exe and press Enter .
  2. Advertisement
4

Clear your Windows cache.

PDF download Download Article
  1. You can use the disk cleanup tool to clear your cache. Use the following steps to do so:
    • Click the Windows Start button.
    • Type disk cleanup .
    • Click Disk Cleanup .
    • Click Cleanup System Files .
    • Ensure “Temporary Files” (and anything else you want to clean out) is checked.
    • Click Ok .
    • Click Delete
5

Run a Windows troubleshooter.

PDF download Download Article
  1. Luckily, Windows has many built-in troubleshooters that can help resolve issues with your system. Use the following steps to run a Windows troubleshooter.
    • Click the Windows Start button.
    • Type troubleshoot .
    • Click Troubleshoot settings .
    • Click Additional Troubleshooters or Other troubleshooters .
    • Click Run troubleshooter below “Windows Store apps” (Windows 10) or click Run next to “Program Compatibility troubleshooter” (Windows 11).
    • Follow the prompts.
  2. Advertisement
6

Run a virus scan.

PDF download Download Article
  1. Most antivirus software will scan your system registry for errors in addition to scanning for viruses and malware. You can use a third-party antivirus program, such as Malwarebytes . Use the following steps to scan for a virus using Windows' built-in Windows Defender:
    • Click the Windows Start button.
    • Type Windows Security .
    • Click Windows Security .
    • Click Virus & threat protection .
    • Click Scan options .
    • Click the radio option next to Full Scan .
    • Click Scan now .
7

Run System File Checker.

PDF download Download Article
  1. You run System File Checker to repair minor files using System File Checker. Use the following steps to do so:
    • Click the Windows Start menu.
    • Type CMD .
    • Right-click the Command Prompt and click Run as Administrator .
    • Type sfc/scannow and press Enter .
  2. Advertisement
8

Run DISM.

PDF download Download Article
  1. If System File Checker doesn’t fix broken system files, you can use the Deployment Imaging and Servicing Management tool to fix these issues. DISM compares your current Windows image to a known good version of Windows and can fix any issues that are detected. Use the following steps to run DISM:
    • Click the Windows Start menu.
    • Type CMD .
    • Right-click the Command Prompt and click Run as Administrator .
    • Type Dism.exe /Online /Cleanup-Image /ScanHealth to scan for errors.
    • Type Dism.exe /Online /Cleanup-Image /CheckHealth to determine if any found errors can be fixed.
    • Type Dism.exe /Online /Cleanup-Image /RestoreHealth to fix any errors.
9

Use a third-party image viewer.

PDF download Download Article
  1. If you are only experiencing problems with the Photos app, but everything else is working fine, you may just want to use a third-party photo viewer app. Alternatively, you can upload your photos to Google Photos and view them on the internet. The following are some third-party image viewers you can try:
  2. Advertisement
10

Perform a system restore.

PDF download Download Article
  1. You can fix Windows registry problems and errors by performing a system restore. This will restore Windows back to the state it was in at an earlier time. In order to do this, you must have System Restore enabled and have created previous restore points: [1]
    • Click the Windows Start button.
    • Type System Restore .
    • Click Create a restore point .
    • Click System Restore .
    • Click Next .
    • Select a restore point from before when the problem started.
    • Click Next .
    • Follow the prompts to complete the restore.
11

Change the registry settings.

PDF download Download Article
  1. In order to do this, you need to make sure you are logged in with an account that has administrative privileges. If you do not have administrative privileges, you’ll need to talk to an administrator. It takes a little technical know-how to make changes and identify registry items. Warning: Making unknown changes to the system registry can render your system inoperable. Proceed at your own risk. Use the following steps to change the registry settings:: [2]
    • Press Windows key + R to open Run.
    • Type regedit and press Enter .
    • Click Yes when prompted.
    • Navigate to the following folder location:
      • HKEY_CURRENT_USER > Software > Classes > Local Settings > Software > Microsoft > Windows > CurrentVersion > AppModel > Repository > Families > Microsoft.Windows(or Wallet).Photos_8wekyb3d8bbwe
    • If there are eight entries, 4 are outdated. If there are four entries, two are outdated.
    • Right-click one of the outdated entries and click Properties or Permissions .
    • Click the Security tab.
    • Select your username in the Group window.
    • Click Advanced .
    • Click Change next to “Owner” at the top.
    • Enter your username in the box labeled “Enter object name to select” and click Check Names .
      • If you can’t remember your exact username, click Advanced at the bottom and click Find Now . Select your username and click Ok .
    • Click Ok .
    • Ensure your username is selected and click the checkbox next to Full Control .
    • Click Apply followed by Ok .
    • Right-click the outdated entry and click Delete .
    • Repeat for any other outdated entries.
  2. Advertisement
12

Reset Windows.

PDF download Download Article
  1. If you’ve tried everything and you are still getting “Invalid value for registry” error, your Windows installation may be corrupt. You may need to reset Windows. During this process, you will be asked if you want to keep your files or delete everything. Select the option to keep your files first so you don’t lose your data. If that doesn’t work, you may need to select the option to delete everything, in which case you will lose all your files and data. Be sure to back up anything you want to keep before you proceed. Use the following steps to reset Windows :
    • Click the Windows Start button.
    • Type Reset this PC .
    • Click Reset this PC .
    • Click Get Started or Reset PC next to “Reset this PC.”
    • Select Keep my files or Remove everything .
    • Follow the prompts to reset your PC.

Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Thanks to all authors for creating a page that has been read 456 times.

      Is this article up to date?

      Advertisement