修復 Windows 照片查看器內存不足錯誤的 5 種方法

修復 Windows 照片查看器內存不足錯誤的 5 種方法

如果您仍在 Windows 11 上使用 Windows 照片查看器,它有時可能無法顯示任何圖像,並且您會看到一條消息,指出內存不足。

為什麼 Windows 照片查看器顯示內存不足?

如果您遇到 Windows Photo Wiewer 內存不足錯誤,可能是由於以下原因造成的:

  • 系統文件損壞– 系統文件可能已損壞或損壞並停止正常運行。
  • 如果應用程序不支持照片格式– 如果照片不是 BMP、JPEG、JPEG XR、PNG、ICO、GIF 和 TIFF 文件格式,則不會顯示。
  • 過時的應用程序版本Windows 照片查看器可能未更新到最新版本。
  • 圖片文件太大– 如果圖片文件大小超過 100 兆像素,則將無法打開。
  • 顯示設置不正確 –如果顏色管理設置選擇不正確。
  • Windows 照片查看器存在問題 應用程序本身可能存在故障。
  • 過時的圖形驅動程序– 圖形驅動程序可能有一段時間沒有更新。
  • 掛起的 Windows 更新– 是否有任何掛起的 Windows 更新等待安裝。

但是,我們有一些解決方法可以幫助您解決 Windows 照片查看器內存不足的問題。

如何修復 Windows 照片查看器內存錯誤?

在繼續執行以下方法之前,請確保執行一些初步檢查,這有時可能會幫助您解決問題:

  • 重新啟動您的電腦。
  • 使用離線防病毒軟件檢查惡意軟件。
  • 檢查所有電纜是否正確連接到其端口。
  • 刪除任何可能干擾應用程序的外部顯示器。
  • 嘗試使用另一台顯示器或外部顯示器。

如果您已滿足這些先決條件,那麼讓我們開始使用以下解決方案來解決此問題。

1.運行SFC/DISM命令

  1. 同時按Win +R 鍵啟動運行控制台,鍵入 cmd,然後同時按Ctrl + Shift +Enter 鍵。
    運行命令提示符命令
  2. 在打開的提升的命令提示符窗口中,依次運行以下命令並Enter 在每個命令後單擊:
    • DISM.exe /Online /Cleanup-image /Scanhealth
    • DISM.exe /Online /Cleanup-image /Restorehealth
    • DISM.exe /online /cleanup-image /startcomponentcleanup
      運行dism命令
  3. 該過程需要一段時間,因此請等到它結束,您會看到成功消息。然後,運行以下命令並點擊Entersfc / scannow
    運行 sfc /scannow 命令

耐心等待,直到 SFC 掃描過程結束,您會看到成功消息。現在,重新啟動電腦並檢查 Windows 照片查看器是否出現相同的錯誤。

2. 更改色彩管理設置

  1. 要打開“運行”控制台,請同時按Win +R 鍵,輸入colorcpl,然後點擊Enter
    運行 colorcpl 命令
  2. 在“顏色管理”窗口中,從下拉列表中選擇主顯示器,或者您也可以單擊下面的“識別顯示器”按鈕。
    選擇顯示或識別監視器
  3. 現在,選中“使用我對此設備的設置”旁邊的框,然後在“與此設備關聯的配置文件”部分下選擇配置文件名稱。單擊“刪除”。
    選擇個人資料
  4. 如果沒有配置文件名稱,請單擊右下角的“配置文件”按鈕,然後選擇“將我的設置重置為系統默認值”。
    將我的設置重置為系統默認值
  5. 現在,轉到“高級”選項卡並將所有設置更改為系統默認值。
    將所有系統設置更改為默認值

現在,重新啟動您的電腦並檢查 Windows 照片查看器是否正在顯示圖像或仍然顯示內存不足錯誤

3.修復/重置Windows照片查看器

  1. 同時按Win +I 鍵啟動“Windows設置”,選擇“應用程序”,然後單擊“應用程序和功能”
    單擊應用程序設置中的應用程序和功能
  2. 查找“Microsoft Photos”,單擊它旁邊的三個點,然後單擊“高級選項”
    微軟照片高級選項
  3. 接下來,轉到“重置”並單擊“修復”開始該過程。您還可以選擇“重置”來重置電腦。
    修復或重置微軟照片

重置/修復過程結束後,您的電腦將自動重新啟動,您可以檢查 Windows 照片查看器現在是否正在顯示圖片。

但是,如果Windows 11 的照片應用程序無法正常工作,您可以按照我們的帖子獲取一些快速解決方案。

4. 在 Microsoft Store 中獲取更新

  1. 轉到 Windows 搜索,查找Microsoft Store,然後單擊結果以打開商店。
    搜索微軟商店
  2. 單擊左側的,然後單擊右上角的獲取更新。
    在商店獲取更新
  3. 它將自動下載和​​更新應用程序,包括商店本身。

現在,重新啟動您的電腦,這應該可以修復Windows 照片查看器中內存不足的錯誤。

5. 安裝任何待處理的 Windows 更新

  1. 同時按Win+I鍵打開 Windows 設置。
  2. 單擊左側的“Windows 更新” ,然後選擇“檢查更新”。
    檢查更新
  3. Windows 將在下面顯示所有待處理的更新。單擊“下載並安裝”以下載更新。
    下載並安裝

完成後,重新啟動電腦以完成更新的安裝。Windows 照片查看器現在應該顯示圖像。

如何在 Windows 11 中啟用 Windows 照片查看器?

Windows 照片查看器不再是 Windows 11 的一部分,也不再是 Windows 10 的一部分。

但是,如果您仍想使用它,您可以按照以下步驟在 Windows 11 電腦上啟用 Windows 照片查看器。

  1. 打開記事本,複製並粘貼代碼,如下所示(在步驟之後)。
  2. 接下來,單擊文件並選擇另存為。
    保存記事本文件
  3. 將文件另存為. reg 文件,將其命名為 Enable Windows Photo Viewer.reg,然後選擇所有文件作為保存類型。
    保存.reg文件
  4. 現在,雙擊“Enable Classic Photo Viewer.reg”文件然後在警告提示中單擊“是”。
    啟用啟用經典照片查看器.reg
  5. 您現在將看到註冊表項已成功添加的確認提示。按確定
    確認
  6. 現在,右鍵單擊圖像,選擇打開方式,然後單擊菜單中的Windows 照片查看器。
    用windows照片查看器打開

按照上面步驟 1 中所示的說明復制並粘貼代碼:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations]
".bmp"="PhotoViewer.FileAssoc.BITMAP"
".dib"="PhotoViewer.FileAssoc.BITMAP"
".jpg"="PhotoViewer.FileAssoc.JPEG"
".jpe"="PhotoViewer.FileAssoc.JPEG"
".jpeg"="PhotoViewer.FileAssoc.JPEG"
".jxr"="PhotoViewer.FileAssoc.JPEG"
".jfif"="PhotoViewer.FileAssoc.JFIF"
".wdp"="PhotoViewer.FileAssoc.WDP"
".png"="PhotoViewer.FileAssoc.PNG"
".gif"="PhotoViewer.FileAssoc.TIFF"
".tiff"="PhotoViewer.FileAssoc.TIFF"
".tif"="PhotoViewer.FileAssoc.TIFF"

; Bitmap

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.BITMAP]
"ImageOptionFlags"=dword:00000001
"FriendlyTypeName"=hex(2):40,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,2c,00,2d,00,33,00,30,00,35,00,36,00,00,\
00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.BITMAP\DefaultIcon]
@="%SystemRoot%\\System32\\imageres.dll,-70"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.BITMAP\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.BITMAP\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.BITMAP\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,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_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.BITMAP\shell\open\DropTarget]
"CLSID"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"

; JFIF

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF]
"EditFlags"=dword:00010000
"ImageOptionFlags"=dword:00000001
"FriendlyTypeName"=hex(2):40,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,2c,00,2d,00,33,00,30,00,35,00,35,00,00,\
00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF\DefaultIcon]
@="%SystemRoot%\\System32\\imageres.dll,-72"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF\shell\open]
"MuiVerb"=hex(2):40,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,70,00,68,00,6f,00,74,00,6f,00,76,00,69,00,65,00,77,00,65,00,72,\
00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,33,00,30,00,34,00,33,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF\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,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_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.JFIF\shell\open\DropTarget]
"CLSID"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"

; Jpeg

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.JPEG]
"EditFlags"=dword:00010000
"ImageOptionFlags"=dword:00000001
"FriendlyTypeName"=hex(2):40,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,2c,00,2d,00,33,00,30,00,35,00,35,00,00,\
00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.JPEG\DefaultIcon]
@="%SystemRoot%\\System32\\imageres.dll,-72"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.JPEG\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.JPEG\shell\open]
"MuiVerb"=hex(2):40,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,70,00,68,00,6f,00,74,00,6f,00,76,00,69,00,65,00,77,00,65,00,72,\
00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,33,00,30,00,34,00,33,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.JPEG\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,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_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.JPEG\shell\open\DropTarget]
"CLSID"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"

; PNG

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.PNG]
"ImageOptionFlags"=dword:00000001
"FriendlyTypeName"=hex(2):40,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,2c,00,2d,00,33,00,30,00,35,00,37,00,00,\
00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.PNG\DefaultIcon]
@="%SystemRoot%\\System32\\imageres.dll,-71"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.PNG\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.PNG\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.PNG\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,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_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.PNG\shell\open\DropTarget]
"CLSID"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"

; WDP

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.WDP]
"EditFlags"=dword:00010000
"ImageOptionFlags"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.WDP\DefaultIcon]
@="%SystemRoot%\\System32\\wmphoto.dll,-400"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.WDP\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.WDP\shell\open]
"MuiVerb"=hex(2):40,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,70,00,68,00,6f,00,74,00,6f,00,76,00,69,00,65,00,77,00,65,00,72,\
00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,33,00,30,00,34,00,33,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.WDP\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,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_LOCAL_MACHINE\SOFTWARE\Classes\PhotoViewer.FileAssoc.WDP\shell\open\DropTarget]
"CLSID"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"

如果您無法在 Windows 11 中打開 JPG 文件,您可以按照我們的詳細帖子中的解決方案進行操作。

或者,您也可以訪問製造商的網站並下載並安裝最新版本以更新顯卡驅動程序

同時,還可以使用系統文件檢查或SFC/DISM工具來修復和恢復損壞的系統文件。

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *