首页 >系统教程 >Windows系列 >如何在 Windows 10/11 中恢复 Windows 照片查看器

如何在 Windows 10/11 中恢复 Windows 照片查看器

王林
王林原创
2024-06-14 16:18:10354浏览

Microsoft replaced the classic Photo Viewer app in Windows 10 and 11 with Photos, its modern, feature-rich image viewer. However, if you liked the simplicity of Photo Viewer, here's how you can bring it back in Windows 10 and 11.

How to Restore Windows Photo Viewer in Windows 10/11 Using the Registry

You can enable the classic Windows Photo Viewer app using a Windows Registry script. The following Windows Registry script reconfigures and enables the Windows Photo Viewer app.

Modifying your Windows Registry involves risk as incorrect modifications can cause your system to malfunction. If you intend to proceed with the steps below, first create a restore point and back up your Windows Registry. This will help you to recover your system if something goes wrong.

  1. Press Win + R to open the Run dialog. Input notepad and click OK.
  2. Copy and paste the following script into the Notepad file. This script activates the Windows Photo Viewer.
    <code class="hljs xml">Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Applications\Windowsphotoviewer.dll\shell\open] "MuiVerb"="@Windowsphotoviewer.dll,-3043" [HKEY_CLASSES_ROOT\Applications\Windowsphotoviewer.dll\shell\open\command] @="\"%SystemRoot%\\System32\\rundll32.exe\" \"%ProgramFiles%\\Windows Photo Viewer\\PhotoViewer.dll\", ImageView_Fullscreen %1" [HKEY_CLASSES_ROOT\Applications\Windowsphotoviewer.dll\shell\open\DropTarget] "Clsid"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}" [HKEY_CLASSES_ROOT\Applications\Windowsphotoviewer.dll\shell\print\command] @="\"%SystemRoot%\\System32\\rundll32.exe\" \"%ProgramFiles%\\Windows Photo Viewer\\PhotoViewer.dll\", ImageView_PrintTo %1" [HKEY_CLASSES_ROOT\Applications\Windowsphotoviewer.dll\shell\print\DropTarget] "Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}"</code> 
    How to Restore Windows Photo Viewer in Windows 10/11
  3. Press Ctrl + Shift + S to open the Save dialog. Alternatively, go to File > Save As.
  4. In the Save as dialog, enter ActivateWindowsPhotoViewer.reg as the file name. Click the Save astype drop-down and choose All Files(*.*). Choose a location and Save the file to your drive.How to Restore Windows Photo Viewer in Windows 10/11
  5. Next, open File Explorer, browse to the location where you saved the file, double-click ActivateWindowsPhotoViewer.reg, and then click Yes. When a warning prompt appears, click Yes.
  6. After the script is executed, you'll see a success message. Click OK.
  7. To apply the changes, press Win + X to open the Windows Powermenu and choose Task Manager.
  8. In the Process tab, find and right-click on Windows Explorer, then click Restart. Your screen may flash momentarily as Windows Explorer restarts.How to Restore Windows Photo Viewer in Windows 10/11

Since Windows Photos Viewer doesn't have its own .EXE file, but only a .DLL, you can't open it from the search bar in Windows. Instead, to open pictures in Photo Viewer, right-click on any image in File Explorer, go to Open With > Choose another app, and then scroll down and select Windows Photo Viewer. Choose Just once to open the image. If you select Always, Windows will set Photo Viewer as the default app for that image format.

How to Restore Windows Photo Viewer in Windows 10/11

How to Disable Windows Photo Viewer in Windows 10 and 11

To disable Windows Photo Viewer, you must undo the changes you made earlier to the Windows Registry. It's worth making a backup again before making the changes. Then:

  1. Press Win + R to open the Run dialog. Input notepad and click OK.
  2. Copy and paste the following script into the notepad file:
    <code class="hljs css">WindowsRegistryEditorVersion 5.00[-HKEY_CLASSES_ROOT\Applications\Windowsphotoviewer.dll]</code> 
    How to Restore Windows Photo Viewer in Windows 10/11
  3. Press Ctrl + Shift + S to open the Save dialog.
  4. Type DeactivateWindowsPhotoViewer.reg as the file name. Click the Save as type drop-down, choose All files (*.*), then click Save.How to Restore Windows Photo Viewer in Windows 10/11
  5. Double-click DeactivateWindowsPhotoViewer.reg to execute the script and follow the on-screen instructions.

Once done, restart Windows Explorer, and the Photo Viewer app will be disabled.

Use One Photo Viewer

How to Restore Windows Photo Viewer in Windows 10/11

One Photo Viewer is an excellent Windows Photo Viewer and Windows Photos alternative. It's fast, free, and offers a clean interface by placing all the controls in the context menu, decluttering the toolbar area. Right-click the app interface to view the menu and access all the tools and settings.

One Photo Viewer offers all the bells and whistles you expect of an image viewer, plus more. You can scroll through the images using the arrow keys or the dedicated buttons, zoom in and out, rotate, crop, resize, or adjust colors.

它还支持 RAW 格式,包括 HEIC 和 WEBP 动画、文件夹或加载图像中的幻灯片、自定义键盘快捷键以及用于快速增强效果的色彩校正工具。您还可以选择 3 美元的专业版以获得两个附加功能:用于改进功能的工具栏和用于更轻松导航的缩略图。

下载:One Photo Viewer(免费,提供高级版本)

也就是说,如果您更喜欢坚持使用本机选项,请再尝试一下内置的 Windows 照片应用程序。它并不像您第一次使用时想象的那么糟糕。

以上是如何在 Windows 10/11 中恢复 Windows 照片查看器的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn