Error -2147219196 ขึ้นตอนเปิดรูปด้วย Photos App (บางครั้ง Calculator ก็ขึ้น) บน Windows 10 เท่านั้น มาจากบั๊ก Windows Update
วิธีเร็วที่สุด: ใช้ Windows Photo Viewer (Classic) แทน → คลิกขวารูป → Open with → Windows Photo Viewer (ปลอดภัย ไม่ต้องติดตั้งอะไร)
วิธี 1: Uninstall/Reinstall Photos App (PowerShell + PsTools)
- รัน Restoro ซ่อมไฟล์ระบบ (Optional)
- PowerShell Admin:
Get-AppxPackage Microsoft.Windows.Photos | Remove-AppxPackage - ดาวน์โหลด PsTools (Microsoft Sysinternals) → Extract
- CMD Admin:
<PsToolsPath>\PsExec.exe -sid c:\windows\system32\cmd.exe→ Agree - ใน CMD ใหม่:
rd /s "C:\Program Files\WindowsApps\Microsoft.Windows.Photos_..._8wekyb3d8bbwe"(Path เวอร์ชันแตกต่าง → ใช้ Run Autocomplete หา) - กด Y ยืนยัน → เปิด Microsoft Store ติดตั้ง Photos ใหม่
วิธี 2: Clean Boot
แอปบุคคลที่สามอาจขัดขวาง
- Win+R →
msconfig→ Services → ติ๊ก Hide all Microsoft services → Disable all - Startup → Open Task Manager → Disable ทุก Enabled items
- Restart → ทดสอบ Photos App
- หาได้ ให้ Enable ทีละ Service จนเจอตัวทำให้ Error → Disable ตัวนั้นทิ้ง
วิธี 3: Windows Troubleshooter
Settings → Update & Security → Troubleshoot → Windows Store Apps → Run troubleshooter
วิธี 4: แก้สิทธิ์โฟลเดอร์ Photos App (Advanced)
- CMD Admin:
TAKEOWN /F "C:\Program Files\WindowsApps" /R /D Y - เข้าโฟลเดอร์ WindowsApps (Show hidden files) → หา Photos App Folder → Properties → Security → Advanced → Change Owner →
NT SERVICE\TrustedInstaller→ Replace owner on subcontainers → Apply - PowerShell Admin:
get-appxpackage *Microsoft.Windows.Photos* | remove-appxpackage→ Restart - PowerShell Admin:
Get-AppxPackage -allusers Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
วิธี 5: Windows Update
รอ Bug Fix จาก Microsoft Update เป็นวิธีถาวร