Windows Photo Viewer เป็นเครื่องมือที่มีประโยชน์และเรียบง่ายใน Windows 7 จึงน่าประหลาดใจที่ Microsoft ตัดสินใจเลิกพัฒนาค่อยเป็นค่อยไปใน Windows รุ่นต่อๆ ไป เพื่อแอป "Photos" ที่ไม่เสถียร
วันนี้ Microsoft ทำให้ยากที่จะได้ Photo Viewer กลับมาโดยลบ "exe" file ออกไปหมด แต่ด้วยวิธี繞道เล็กน้อย คุณสามารถตั้งค่าให้เป็น Default photo viewer อีกครั้ง ได้ นี่คือวิธี
หากคุณ Upgrade จาก Windows 7/8
หากคุณใช้ Windows 10 หลัง Upgrade จาก Windows 7 หรือ 8 ข่าวดี: คุณควรยังมี Registry entries สำหรับ Windows Photo Viewer และไม่ควรมีปัญหาตั้งค่าเป็น Default
วิธีหนึ่ง หาไฟล์ JPEG, PNG หรือไฟล์ภาพประเภทไหนที่ต้องการเชื่อมโยงกับ Photo Viewer คลิกขวา แล้วคลิก "Open with" และเลือก "Windows Photo Viewer"
หากไม่มี ให้คลิก "Choose another app" จากเมนู "Open with" แล้วเลื่อนลง คลิก "More apps" เลื่อนลงสุดอีกครั้ง คลิก "Look for another app on this PC" แล้วไปที่ "C:\Program Files\Windows Photo Viewer" และเลือก Windows Photo Viewer executable
หากคุณไม่มี Photo Viewer Exe File
หากหา Executable ไม่เจอ แสดงว่า Windows version ของคุณไม่เคยมีมัน หรือ Microsoft ลบไปในอัปเดต
Photo Viewer ยังอยู่บน PC แต่เป็นแค่ไฟล์ "dll" ไม่ใช่ executable เพื่อเอากลับมา เราต้องสร้าง Registry file ใหม่
ขอบคุณ Tenforums user Edwin ที่ทำ Legwork มาก่อน สร้างโค้ดที่จำเป็นเพื่อกู้คืน Photo Viewer ใน Context Menu ของ Windows
คลิกด้านล่างเพื่อดูโค้ด แล้ว Copy และ Paste ลงใน Notepad ว่าง
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll]
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell]
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open]
"MuiVerb"="@photoviewer.dll,-3043"
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,6e,00,64,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,00,31,00,00,00
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\DropTarget]
"Clsid"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print]
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,6e,00,64,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,00,31,00,00,00
[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\DropTarget]
"Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}"
ต่อไป คลิก "File -> Save as" และบันทึกเป็นไฟล์ ".reg" คล้ายกับที่ทำในภาพด้านล่าง
เมื่อบันทึกแล้ว ไปที่ไฟล์ reg ใหม่ใน Windows Explorer คลิกขวา และสุดท้ายคลิก "Merge"
ไฟล์ควรลงทะเบียนสำเร็จ ตอนนี้เมื่อคุณคลิกขวาไฟล์ภาพ เลือก "Open with" และ "Choose another app" คุณจะเห็น Windows Photo Viewer กลับมาอยู่ในตัวเลือก (อาจต้องคลิก "More apps") เลือกมัน แล้วติ๊ก "Always use this app to open files"
สรุป
ข้อเท็จจริงที่ Windows Photo Viewer ยากขนาดนี้ในการทำงานอีกครั้งบน Windows 10 เป็นสัญญาณลบของนโยบายกดดันของ Microsoft ในการบังคับให้ผู้ใช้ Windows ใช้แอปที่พวกเขาต้องการ คิดว่าการกลับมายัง Photo Viewer เป็นการต่อต้านเล็กน้อยต่อ Microsoft! หากพอคนทำมากพอ Microsoft อาจสังเกตและนำ Photo Viewer กลับมาที่มันควรจะอยู่
Image credit: Frames