修复查看 JPG/JPEG/PDF 时注册表错误的无效值
每当您在照片应用程序中打开(Photo)JPG或JPEG图像时,您都会收到一条错误消息,提示“注册表值无效”。如果您也面临这个问题,请不要担心,我们已经列出了解决此问题的所有可能解决方案。但在此之前,让我们收集有关此错误的更多信息。

大多数用户报告说,当他们将 PC 从以前版本的Windows(Windows)升级到新版本时,他们会看到此错误。当他们尝试在照片应用程序中查看JPEG图像时,会弹出一条错误消息,显示“注册表值无效(Invalid value for registry)”而不是图像。嗯,这是因为每当您在Windows中升级 PC 或更新您的应用程序时,以前版本的注册表项可能会保持不变(从技术上讲,它们应该被自动删除)。这些较旧的条目与系统进程冲突,因此您无法查看照片(Photos)。
修复(Fix Invalid Value)查看JPG/JPEG/PDF注册表错误(Registry Error)的无效值
注意:(Note:)在对系统进行任何更改之前,建议创建一个系统还原点。
方法一:在不触碰注册表的情况下重置照片应用(Photo App)
1. 按 Windows 键 + I 打开Windows 设置(Windows Setting),然后单击系统。(System.)

2. 现在从左侧窗格中选择应用程序和功能。(Apps & Features)

4.接下来,单击照片下的高级选项。(Advanced options under Photos.)
5. 最后,单击“如果此应用程序无法正常运行”下的“重置”按钮,请重置它。(click the Reset button)

6. 这需要一些时间,完成后,重新启动(Restart)您的 PC。
方法 2:修复注册表中的错误本身(Error)
1. 按Windows Key + R然后输入“ regedit ”(不带引号),然后按回车键打开注册表编辑器(Registry Editor)。

2.现在导航到注册表编辑器(Registry Editor)中的以下位置:
HKEY_CURRENT_USER\Software\Classes\LocalSettings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Families\Microsoft.Windows.Photos_8wekyb3d8bbwe
3. 接下来,展开Microsoft.Windows.Photos_8wekyb3d8bbwe 子键(Microsoft.Windows.Photos_8wekyb3d8bbwe sub-keys),您会在其中找到该键的多个条目,它们的名称中都有应用程序的版本号:
Microsoft.Windows.Photos_17.214.10010.0_等(Microsoft.Windows.Photos_17.214.10010.0_ etc.)

4. 现在您将拥有 50% 新密钥和 50% 旧密钥,这基本上意味着 50% 已过时并且由于某种原因未被删除。因此,现在您必须删除导致此问题的这些键(版本号较小的条目)。
5.好吧,您可能无法删除上述密钥,因为您需要拥有上述密钥的所有权。
要获得注册表的所有权,请转到此处( take ownership of the registry go here)并浏览到 手动(Manually Take Ownership)获得项目的所有权。
要获取过时条目的属性,请右键单击每个条目,转到权限,单击高级,将所有者从系统(System)更改为您自己,按确定,然后将密钥的完全权限分配给您自己。现在你应该可以删除它了。(观看此视频(Check this video)以查看有关如何获取注册表项所有权的更详细说明。)
方法 3:运行应用程序疑难解答
您可以从此链接运行(this link)应用程序疑难解答程序( App troubleshooter) ,它可能能够 fix Invalid Value For Registry Error While Viewing JPG/JPEG/PDF.
方法 4:运行系统文件检查器(System File Checker)( SFC ) 和检查磁盘(Check Disk)( CHKDSK )
1.打开具有管理权限的命令提示符(Open Command Prompt with Administrative rights)。
2. 现在在 cmd 窗口中键入以下命令并按Enter:
sfc /scannow

3.等待(Wait)系统文件检查器完成。
4.接下来,从这里运行 CHKDSK 如何使用检查磁盘实用程序(CHKDSK)修复文件系统错误。(How To Fix File System Errors with Check Disk Utility(CHKDSK).)
5. 让上述过程完成并再次重新启动您的 PC 以保存更改。
方法 5:卸载照片应用程序
1. 按 Windows Key + Q然后输入Window Powershell然后右键单击Powershell并选择Run As Administrator 。

2. 然后在PowerShell窗口中键入以下命令来卸载照片应用程序(Uninstall Photos App):
Get-AppxPackage *photos* | Remove-AppxPackage

3.等待(Wait)Photo App卸载,然后在PowerShell 中键入以下内容以重新安装(PowerShell to reinstall:):
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

4.重新安装照片应用程序后,重新启动您的 PC 以保存更改。(Photo App)
方法 6:清除Windows 存储缓存(Windows Store Caches)
按 Windows 键 + R 然后键入“ WSReset.exe ”(不带引号)并按回车键。此过程将重置Windows StoreCaches。此过程完成后,尝试重新启动Windows Store应用程序并查看问题是否仍然存在。

就是这样,您Fix Invalid Value For Registry Error While Viewing JPG/JPEG/PDF但如果您对本文仍有疑问,请随时在评论部分提出。
Related posts
- Windows 10上的Fix Invalid Depot Configuration Steam Error
- Fix Blue Screen Registry Error 51
- 修复 Valorant 中对内存位置错误的无效访问
- 修复 Windows 10 中的句柄无效错误
- 修复 Windows 10 中的 Zoom 无效会议 ID 错误
- 如何Fix Windows Update Error Code 80244010
- Fix c000021A Fatal System Error上Windows 10
- Fix Windows Defender Error 0x800b0100在Windows 10上
- Fix Windows Update Error 0x80072EE2
- Fix Windows Update Error 0x800f0905
- Fix Windows Update Error 0x800F0825
- Windows 10上的Windows Update error 80072EFE
- Fix Windows Upgrade Error 0xC1900101-0x4000D
- Windows 11/10上的Fix WpnUserService.dll Error
- Windows 11或Windows 10中的Fix Windows Update Error 0x80245006
- Fix Windows Update Error 0x8007010b
- Fix的Windows 10安装Update Error 0xc1900104时Feature Update
- Fix Windows Update Error 0x800f0989在Windows 11/10上
- Fix Ntfs.sys上Windows 10失败BSOD Error
- Fix Windows Update Error Code 0x8007025D-0x2000C
