ไฟล์เสียหายทั้งหมดในระบบสามารถวิเคราะห์และซ่อมแซมได้ด้วยเครื่องมือในตัวหลายตัวใน Windows 10 เครื่องมือบรรทัดคำสั่งหนึ่งคือ Deployment Image Servicing and Management หรือ DISM ช่วยในการบริการและเตรียม Windows images บน Windows Recovery Environment, Windows Setup และ Windows PE เครื่องมือนี้ยังช่วยซ่อมแซมไฟล์เสียหายได้แม้ System File Checker จะทำงานไม่ถูกต้อง อย่างไรก็ตาม บางครั้งอาจพบ Windows 10 DISM Error 87 จากหลายสาเหตุ คู่มือนี้จะช่วย แก้ DISM Error 87 ใน Windows 10 PC
วิธีแก้ DISM Error 87 ใน Windows 10
สาเหตุของ DISM Error 87 ใน Windows 10
หลายเหตุผลก่อให้เกิด Windows 10 DISM Error 87 บางอย่างดังนี้:
- คำสั่งบรรทัดคำสั่งมีข้อผิดพลาด – การพิมพ์คำสั่งผิดทำให้เกิดข้อผิดพลาด เช่น พิมพ์โค้ดผิด หรือมีช่องว่างผิดก่อน /slash
- บั๊กในระบบ Windows 10 – เมื่อมีอัปเดตค้างอยู่ในระบบ หรือระบบมีบั๊กซ่อนอยู่ อาจเจอ DISM Error 87 การติดตั้งอัปเดตใหม่ทั้งหมดสามารถแก้ปัญหาได้
- รันคำสั่งใน Command Prompt แบบปกติ – บางคำสั่งตรวจสอบได้ก็ต่อเมื่อมีสิทธิ์แอดมิน
- เวอร์ชัน DISM ล้าสมัย – หากพยายาม apply หรือใช้ Windows 10 image ด้วย DISM เวอร์ชันเก่าในระบบ จะเจอ DISM Error 87 ในกรณีนี้ ให้ใช้ wofadk.sys filter driver ที่ถูกต้อง และลอง apply Windows 10 image ด้วย DISM version ที่เหมาะสม
ตอนนี้คุณมีแนวคิดพื้นฐานเกี่ยวกับสาเหตุของ DISM Error 87 ใน Windows 10 แล้ว อ่านต่อเพื่อเรียนรู้วิธีแก้ปัญหา รวบรวมวิธีแก้และจัดเรียงตามความสะดวก โปรดทำทีละขั้นตอนจนกว่าจะพบวิธีแก้สำหรับเดสก์ท็อป/แล็ปท็อป Windows 10
วิธีที่ 1: พิมพ์คำสั่งด้วยการสะกดและช่องว่างที่ถูกต้อง
ข้อผิดพลาดที่พบบ่อยที่สุดคือ พิมพ์สะกดผิด หรือเว้นช่องว่างผิดก่อนหรือหลังตัวอักษร / เพื่อแก้ข้อผิดพลาดนี้ ให้พิมพ์คำสั่งให้ถูกต้อง
- เปิด Command prompt ผ่าน Windows Search bar
- พิมพ์คำสั่งต่อไปนี้ด้วยการสะกดและช่องว่างตามที่ระบุ:
DISM.exe /Online /Cleanup-image /Scanhealth
หรือ
DISM.exe /Online /Cleanup-image /Restorehealth
- กด Enter จะเห็นข้อมูลบางส่วนเกี่ยวกับ DISM tool แสดงบนหน้าจอ
- คำสั่งดังกล่าวควรทำงานและแสดงผลลัพธ์
วิธีที่ 2: เรียกใช้ Command Prompt ด้วยสิทธิ์แอดมิน
แม้พิมพ์คำสั่งถูกต้องแล้ว ก็อาจเจอ Windows 10 DISM Error 87 เพราะขาดสิทธิ์แอดมิน ดังนั้นให้ทำดังนี้:
- กดปุ่ม Windows พิมพ์ cmd ในแถบค้นหา
- คลิก Run as administrator ในแผงขวา เพื่อเปิด Command Prompt ด้วยสิทธิ์แอดมิน
- พิมพ์ คำสั่ง เหมือนเดิม กด Enter
ตอนนี้คำสั่งของคุณจะทำงาน และ Windows 10 DISM Error 87 จะถูกแก้ไข หากไม่ ให้ลองวิธีถัดไป
อ่านเพิ่มเติม: แก้ DISM Error 14098 Component Store has been corrupted
วิธีที่ 3: รัน System File Checker และ CHKDSK
ผู้ใช้ Windows 10 สามารถสแกนและซ่อมแซมไฟล์ระบบอัตโนมัติด้วยการรัน System File Checker (SFC) และ Check Disk (CHKDSK) commands เป็นเครื่องมือในตัวที่ให้ผู้ใช้ลบไฟล์และแก้ Windows 10 DISM Error 87 ขั้นตอนรัน SFC และ CHKDSK ดังนี้:
- เปิด Command Prompt as administrator ตามขั้นตอนใน วิธีที่ 2
- พิมพ์คำสั่ง: sfc /scannow กด Enter key
System File Checker จะเริ่มกระบวนการ โปรแกรมทั้งหมดในระบบจะถูกสแกนและซ่อมแซมอัตโนมัติ
- รอข้อความ Verification 100% completed ปรากฏ และเสร็จแล้ว รีสตาร์ทคอมพิวเตอร์
- ตรวจสอบว่า Windows 10 DISM Error 87 แก้ไขหรือไม่ หากไม่ ให้ทำต่อ
หมายเหตุ: ก่อนรัน CHKDSK tool ให้แน่ใจว่า ไม่ต้องกู้คืนไฟล์ที่ลบ ในระบบ เพราะ tool นี้ไม่สามารถกู้คืนข้อมูลที่กู้คืนได้
- เปิด Command Prompt as administrator อีกครั้ง
- พิมพ์ CHKDSK C:/r กด Enter
- รอกระบวนการรันสำเร็จ และ ปิด หน้าต่าง
อ่านเพิ่มเติม: แก้ DISM Source Files Could not be Found Error
วิธีที่ 4: อัปเดต Windows OS
หากวิธีข้างต้นไม่ได้ผล อาจมีบั๊กในระบบ Microsoft เปิดตัวอัปเดตเป็นระยะเพื่อแก้บั๊กในระบบ ดังนั้นควรใช้ระบบในเวอร์ชันที่อัปเดตล่าสุดเสมอ มิฉะนั้น ไฟล์ในระบบจะไม่เข้ากันได้กับไฟล์ DISM นำไปสู่ DISM Error 87 ในคอมพิวเตอร์ Windows 10
- กด Windows + I พร้อมกันเปิด Settings
- เลือก Update & Security
- คลิกปุ่ม Check for Updates
- คลิก Install now ดาวน์โหลดและติดตั้ง Updates available
- หากระบบอัปเดตแล้ว จะแสดงข้อความ You're up to date
- รีสตาร์ทระบบ และตรวจสอบว่าปัญหาแก้ไขหรือไม่
อ่านเพิ่มเติม: แก้ DISM Error 0x800f081f ใน Windows 10
วิธีที่ 5: ใช้เวอร์ชัน DISM ที่ถูกต้อง
เมื่อรันคำสั่งบรรทัดคำสั่งบน DISM เวอร์ชันเก่าบน Windows 8.1 หรือก่อนหน้า จะเจอ Windows 10 DISM Error 87 แต่นี้แก้ได้เมื่อใช้ DISM เวอร์ชันถูกต้องใน Windows 10 พร้อม Wofadk.sys filter driver ที่ถูกต้อง Operating System ที่ DISM ใช้คือ Host deployment environment DISM รองรับแพลตฟอร์มต่อไปนี้ในหลาย Windows versions:
| Host deployment environment | Target Image: Windows 11 or WinPE for Windows 11 | Target Image: Windows 10 or WinPE for Windows 10 | Target Image: Windows 8.1, Windows Server 2016, Windows Server 2012 R2, or WinPE 5.0 (x86 or x64) |
| Windows 11 | Supported | Supported | Supported |
| Windows 10 (x86 or x64) | Supported, using the Windows 11 version of DISM | Supported | Supported |
| Windows Server 2016 (x86 or x64) | Supported, using the Windows 11 version of DISM | Supported | Supported |
| Windows 8.1 (x86 or x64) | Supported, using the Windows 11 version of DISM | Supported, using the Windows 10 version of DISM | Supported |
| Windows Server 2012 R2 (x86 or x64) | Supported, using the Windows 11 version of DISM | Supported, using the Windows 10 version of DISM | Supported |
| Windows 8 (x86 or x64) | Not supported | Supported, using the Windows 10 version of DISM | Supported, using the Windows 8.1 version of DISM or later |
| Windows Server 2012 (x86 or x64) | Supported, using the Windows 11 version of DISM | Supported, using the Windows 10 version of DISM | Supported, using the Windows 8.1 version of DISM or later |
| Windows 7 (x86 or x64) | Not supported | Supported, using the Windows 10 version of DISM | Supported, using the Windows 8.1 version of DISM or later |
| Windows Server 2008 R2 (x86 or x64) | Supported, using the Windows 11 version of DISM | Supported, using the Windows 10 version of DISM | Supported, using the Windows 8.1 version of DISM or later |
| Windows Server 2008 SP2 (x86 or x64) | Not supported | Not supported | Supported, using the Windows 8.1 version of DISM or later |
| WinPE for Windows 11 x64 | Supported | Supported: X64 target image only | Supported: X64 target image only |
| WinPE for Windows 10 x86 | Supported | Supported | Supported |
| WinPE for Windows 10 x64 | Supported, using the Windows 11 version of DISM | Supported: X64 target image only | Supported: X64 target image only |
| WinPE 5.0 x86 | Supported, using the Windows 11 version of DISM | Supported, using the Windows 10 version of DISM | Supported |
| WinPE 5.0 x64 | Supported, using the Windows 11 version of DISM | Supported, using the Windows 10 version of DISM: X64 target image only | Supported: X64 target image only |
| WinPE 4.0 x86 | Not supported | Supported, using the Windows 10 version of DISM | Supported, using the Windows 8.1 version of DISM or later |
| WinPE 4.0 x64 | Not supported | Supported, using the Windows 10 version of DISM: X64 target image only | Supported, using the Windows 8.1 version of DISM or later: X64 target image only |
| WinPE 3.0 x86 | Not supported | Supported, using the Windows 10 version of DISM | Supported, using the Windows 8.1 version of DISM or later |
| WinPE 3.0 x64 | Not supported | Supported, using the Windows 10 version of DISM: X64 target image only | Supported, using the Windows 8.1 version of DISM or later: X64 target image only |
ดังนั้น เมื่อใช้ DISM สำหรับ image service ควรตรวจสอบว่าใช้เวอร์ชันไหน และเข้ากันได้กับอุปกรณ์หรือไม่ รันคำสั่ง DISM ก็ต่อเมื่อแน่ใจว่าใช้ DISM version ที่ถูกต้อง
วิธีที่ 6: ทำ Clean Installation
หากไม่มีวิธีไหนช่วยแก้ปัญหา สามารถลองติดตั้ง Windows ใหม่ วิธีแก้ DISM Error 87 ใน Windows 10 ด้วยการ clean installation ของ Windows:
- ไป Settings > Update & Security ตาม วิธีที่ 3
- เลือก Recovery จากแผงซ้าย คลิก Get started ในแผงขวา
- เลือกตัวเลือกจากหน้าต่าง Reset this PC:
- Keep my files จะลบแอปและการตั้งค่า แต่เก็บไฟล์ส่วนตัวไว้
- Remove everything จะลบไฟล์ส่วนตัว แอป และการตั้งค่าทั้งหมด
- ปฏิบัติตาม คำแนะนำบนหน้าจอ เพื่อเสร็จสิ้นกระบวนการ reset
แนะนำเพิ่มเติม
- แก้ Sound Keeps Cutting Out ใน Windows 10
- แก้ Mouse Wheel Not Scrolling Properly
- แก้ Fallout 76 Disconnected from Server
- วิธีเปิดใช้งาน User Account Control ในระบบ Windows
หวังว่าคู่มือนี้ช่วยให้คุณ แก้ DISM Error 87 ใน Windows 10 ได้ โปรดแจ้งว่าวิธีไหนใช้ได้ดีที่สุด หากมีคำถาม/ข้อเสนอแนะ สามารถทิ้งความคิดเห็นได้เลย