ในบทความนี้จะแนะนำวิธีแก้ไขข้อผิดพลาด windows update components must be repaired บน Windows 10 เมื่อพยายามรัน Windows Updates นี่คือสกรีนชอตข้อผิดพลาด:

สาเหตุของ Windows Update Components Must Be Repaired
ข้อผิดพลาดนี้ขึ้นเมื่อเครื่องพยายามรัน Windows Update (Manual หรือ Auto)
มักเกิดจาก Windows Update ติดตั้งอัปเดตแล้วมีปัญหา เช่น ไฟล์เสียหาย, ปัญหา Update Cache, Windows Services หยุดทำงาน หรือสาเหตุอื่นๆ
วิธีแก้ไข Windows Update Components Must Be Repaired
จะแนะนำวิธีแก้ไขทั้งหมดที่ผมรู้ แนะนำเริ่มจาก Reset Windows 10 Update Cache ก่อน วิธีที่จะครอบคลุม:
- Reset Windows 10 Update Cache
- รัน Windows 10 Windows Update Troubleshooter Tool
- ซ่อมไฟล์ Windows Update ที่เสียหาย
- Re-register BIT Files ที่ Windows Update ใช้
- ติดตั้ง Windows 10 Updates แบบ Manual
แนะนำตรวจสอบ基本 สิ่งเหล่านี้ก่อนลองวิธีแก้:
Internet Connection: อินเทอร์เน็ตดีไหม? อาจดาวน์โหลดไม่ได้เนื่องจากช้า ทดสอบที่ Google "Internet Speed Test"
Disable Anti-Virus: แอนตี้ไวรัสอาจก่อให้เกิดข้อผิดพลาด ปิดชั่วคราวแล้วรัน Windows Update อีกครั้ง
Reboot Your Machine: จะหยุดและเริ่ม Windows Update Services ใหม่
Check Regional Settings: ตรวจสอบ Date, Time Zone ผ่าน Settings > Time & Language > Region and Language
Free Space: พื้นที่ว่างพอไหม? ควรมีอย่างน้อย 1 GB
วิธี Reset Windows 10 Update Cache
ปัญหาส่วนใหญ่คือ Update Cache เสียหาย ต้องหยุด Windows Update Services แล้ว Rename โฟลเดอร์ Cache 2 ตัว:
-
- คลิก Start > พิมพ์ CMD > คลิกขวา Command Prompt > Run as administrator

- ในกล่องสีดำ พิมพ์คำสั่งด้านล่างทีละคำสั่ง (แต่ละ service หยุดใช้เวลา 1-2 นาที)
net stop wuauserv
net stop cryptsvc
net stop bits
net stop msiserver
- ควรเห็น "Was stopped successfully" หรือ "Service is not started"
- พิมพ์คำสั่ง 3 คำสั่งทีละอัน:
ren %systemroot%\softwaredistribution softwaredistribution.old
ren %systemroot%\system32\catroot2 catroot2.old
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*" - Restart เครื่อง
- รัน Windows Updates แบบ Manual: Start > Settings

- คลิก Update & Security

- คลิก Windows Updates แล้ว Check for updates

- หวังว่า Windows Updates จะดาวน์โหลดและติดตั้งได้ ไม่เจอข้อผิดพลาดอีก
- คลิก Start > พิมพ์ CMD > คลิกขวา Command Prompt > Run as administrator
หากยังมีปัญหา ให้ไปขั้นตอนถัดไป
รัน Windows Update Troubleshooter Tool
ลองดาวน์โหลดและรัน Windows Update Troubleshooter:
- ดาวน์โหลด Windows Update Troubleshooter Tool (คลิกที่นี่)
- ดับเบิลคลิก .exe ที่ดาวน์โหลด
- หน้าจอหลัก คลิกซ้าย "Windows Update" แล้ว Next

- ถ้าถูก prompt คลิก "Try troubleshooting as an administrator"

- ปล่อยให้เครื่องมือรันและแก้ไข
- เสร็จ Close และ Restart เครื่อง
- รัน Windows Update แบบ Manual อีกครั้งเหมือนขั้นตอนที่ 1
แก้ไข Windows Update Components Must Be Repaired: ไฟล์เสียหาย
หากวิธีข้างต้นไม่ได้ ผิดไฟล์เสียหาย หากเจอ "one or more windows update components are configured incorrectly" มักเป็นความเสียหาย:
- Start > พิมพ์ CMD > คลิกขวา Command Prompt > Run as administrator

- ในกล่องสีดำ พิมพ์ chkdsk C: /i /r จะถามว่ารันสแกนตอนรีบูทไหม พิมพ์ Y Enter

- Restart ระบบ สแกนจะรันอัตโนมัติและแก้ไขไฟล์เสียหาย
- ลองรัน Windows Update Manual อีกครั้ง หายังปัญหาไปขั้นตอนถัดไป
- เปิด CMD as admin อีกครั้ง รันคำสั่ง:
dism.exe /Online /Cleanup-image /Restorehealth
sfc /scannow - Reboot ระบบ
- ลองรัน Windows Update Manual อีกครั้ง
Re-register BIT Files ที่ Windows Update ใช้
ลอง Re-register BIT files จะรีเซ็ตไฟล์ Windows Update เป็นค่าเริ่มต้น:
- Start > พิมพ์ CMD > คลิกขวา Command Prompt > Run as administrator

- ในกล่องสีดำ พิมพ์คำสั่งหยุด service (ใช้เวลา 1-2 นาที/คำสั่ง)
net stop wuauserv
net stop cryptsvc
net stop bits
net stop msiserver
- ควรเห็น "Was stopped successfully" หรือ "Service is not started"
- พิมพ์คำสั่ง regsvr32 ทีละคำสั่ง:
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s shdocvw.dll
regsvr32.exe /s browseui.dll
regsvr32.exe /s jscript.dll
regsvr32.exe /s vbscript.dll
regsvr32.exe /s scrrun.dll
regsvr32.exe /s msxml.dll
regsvr32.exe /s msxml3.dll
regsvr32.exe /s msxml6.dll
regsvr32.exe /s actxprxy.dll
regsvr32.exe /s softpub.dll
regsvr32.exe /s wintrust.dll
regsvr32.exe /s dssenh.dll
regsvr32.exe /s rsaenh.dll
regsvr32.exe /s gpkcsp.dll
regsvr32.exe /s sccbase.dll
regsvr32.exe /s slbcsp.dll
regsvr32.exe /s cryptdlg.dll
regsvr32.exe /s oleaut32.dll
regsvr32.exe /s ole32.dll
regsvr32.exe /s shell32.dll
regsvr32.exe /s initpki.dll
regsvr32.exe /s wuapi.dll
regsvr32.exe /s wuaueng.dll
regsvr32.exe /s wuaueng1.dll
regsvr32.exe /s wucltui.dll
regsvr32.exe /s wups.dll
regsvr32.exe /s wups2.dll
regsvr32.exe /s wuweb.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s qmgrprxy.dll
regsvr32.exe /s wucltux.dll
regsvr32.exe /s muweb.dll
regsvr32.exe /s wuwebv.dll - Restart เครื่อง
- รัน Windows Update Manual อีกครั้ง
ติดตั้ง Windows 10 Updates แบบ Manual
ขั้นตอนสุดท้าย: ติดตั้งอัปเดตล่าสุดแบบ Manual ต้องดาวน์โหลดแค่ 1 ไฟล์ (ไม่ใช่ 1 ไฟล์ต่อ 1 อัปเดต)
- ตรวจสอบ 32-bit หรือ 64-bit: Start > Settings

- System > About ดู Device specification > System type จะบอก 32 หรือ 64 bit

- ไปที่ Microsoft 10 Update History Page บันทึก KB ล่าสุดภายใต้ "In this release" (ตัวอย่าง KB4499183)

- ไป Microsoft Windows Update Catalog ค้นหา KB number (KB4499183)
- 32-bit: ดาวน์โหลด "Windows 10 Version for x86-based systems"
- 64-bit: ดาวน์โหลด "Windows 10 Version for x64-based systems"
- ดาวน์โหลดใช้เวลา几分钟 (700MB-1GB)
- ดาวน์โหลดเสร็จ ดับเบิลคลิกไฟล์ ติดตั้งตามขั้นตอน
- Reboot เครื่อง
- ลองรัน Windows Update Manual อีกครั้ง
สรุป: Windows Update Components Must Be Repaired บน Windows 10
หวังว่าขั้นตอนข้างต้นช่วยแก้ไขข้อผิดพลาด "windows update components must be repaired" ได้ หากยังมีปัญหา กดความคิดเห็นด้านล่าง จะช่วยให้