Microsoft ปล่อย Windows 10 cumulative updates ปกติ เพื่อซ่อมช่องโหว่ความปลอดภัยจากแอปภายนอก พร้อมปรับปรุงความปลอดภัยและ bug fixes จากรายงานผู้ใช้ อุปกรณ์ที่เข้ากันได้ต่อเซิร์ฟเวอร์ Microsoft จะติดตั้งอัปเดตอัตโนมัติ แต่บางครั้งหลังปิดเครื่องไม่ถูกต้อง, software crash, power failure หรือ Registry ผิดปกติ Windows Update ทำงานไม่ได้ ผู้ใช้รายงาน Windows 10 ค้าง Checking Updates นานชั่วโมง, Windows Update download และ installation ค้าง 0% ถึง 99% หรือ Windows 10 Cumulative Update ติดตั้งล้มเหลว
ในกรณีเช่นนี้ แนะนำรัน Windows Update troubleshooter diagnostic ที่หาและแก้ปัญหาป้องกัน Windows Update ติดตั้งอัตโนมัติ แต่บางกรณี Troubleshooter ระบุปัญหาได้ แต่แก้ไม่ได้ ปัญหาที่พบบ่อยที่ Troubleshooter แก้ไม่ได้คือ:
Windows Update Components Must Be Repaired
ถ้าคุณอยู่ในสถานการณ์ที่ Windows update troubleshooter แก้ปัญหา Windows Update ไม่ได้ นี่คือวิธีแก้ด้วยตนเอง (ซ่อมแซมหรือรีเซ็ต Windows Update components) เพื่อแก้ปัญหาที่ตัวเอง
ก่อนอื่น ทำ basic troubleshooting steps ที่อาจแก้ปัญหา Windows Update:
- ตรวจสอบอินเทอร์เน็ตเสถียร สำหรับดาวน์โหลดไฟล์อัปเดตจากเซิร์ฟเวอร์ Microsoft
- ปิด Security software (antivirus) ชั่วคราว และตัด VPN ถ้าตั้งค่าไว้
- ตรวจสอบและแก้ไข Date และ time zone จาก Settings → Time & Language → Region and Language (ตั้ง Country/Region เป็น United States และ Language เป็น English (United States)) แก้ Date และ time ให้ถูกต้อง
- ตรวจสอบ system drive (ปกติ C: drive) มีพื้นที่ว่างสำหรับดาวน์โหลดและติดตั้งอัปเดต รัน Disk cleanup หรือตั้งค่า Storage Sense ล้าง junk, cache, temp files อัตโนมัติ เพื่อเพิ่มพื้นที่ว่าง
- รัน DISM dism.exe /Online /Cleanup-image /Restorehealth และ System file checker sfc /scannow ซ่อม system image และคืนไฟล์ระบบที่เสียหาย/หาย ไป ซึ่งอาจแก้ corrupted update components และปัญหาติดตั้ง Windows update
- ทำ Windows 10 clean boot ตรวจสอบว่า third-party software conflict ไม่ใช่สาเหตุ ที่ทำให้ Windows ติดตั้งและนำอัปเดตไปใช้ไม่ได้
รีเซ็ต Windows Update Components
ลอง reset หรือ repair Windows Update components น่าจะช่วยแก้ปัญหาติดตั้ง Windows Update ส่วนใหญ่
เปิด Command Prompt แบบ Administrator รันคำสั่งหยุดบริการที่ Windows Update ต้องการเพื่อดาวน์โหลดและติดตั้งอัปเดต:
- net stop wuauserv
- net stop cryptsvc
- net stop bits
- net stop msiserver
รันคำสั่งเปลี่ยนชื่อ SoftwareDistribution และ catroot2 folder ที่ Windows Update ใช้เก็บข้อมูลและไฟล์ชั่วคราว ระบบจะตรวจพบว่าโฟลเดอร์หายไป และสร้างใหม่ วัตถุประสงค์คือให้ระบบใช้ SoftwareDistribution และ catroot2 ใหม่ หลีกเลี่ยงปัญหาจากโฟลเดอร์เก่า
- Ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
- Ren %systemroot%\system32\catroot2 catroot2.old
ตอนนี้ Reset BITS service และ Windows Update service ให้เป็น default security descriptor ที่ command prompt พิมพ์และรันคำสั่ง:
exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY (A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA) (A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA) (A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
Re-register BITS files และ Windows Update-related files ทั้งหมด รันคำสั่งทีละอัน กด Enter:
cd /d %windir%\system32
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 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 cryptdlg.dll regsvr32.exe /s oleaut32.dll regsvr32.exe /s ole32.dll regsvr32.exe /s shell32.dll regsvr32.exe /s wuapi.dll regsvr32.exe /s wuaueng.dll regsvr32.exe /s wups.dll regsvr32.exe /s wups2.dll regsvr32.exe /s qmgr.dll regsvr32.exe /s wudriver.dll
รีเซ็ต network configuration ด้วยคำสั่ง:
netsh winsock reset netsh winsock reset proxy ipconfig /flushdns
รันคำสั่งเริ่มบริการ Windows Update ที่หยุดไว้ก่อนหน้า:
- net start bits
- net start wuauserv
- net start appidsvc
- net start cryptsvc
เสร็จแล้ว รีสตาร์ทคอมพิวเตอร์ นำการเปลี่ยนแปลงไปใช้ เริ่ม Windows ใหม่ ตรวจสอบ Windows updates จาก Settings → Update & Security → Windows updates → check updates หวังว่าครั้งนี้สำเร็จ ไม่มี error อีก
ติดตั้ง Windows Update ด้วยตนเอง
ถ้าวิธีข้างต้นไม่ได้ Windows update ยังค้างดาวน์โหลดหรือติดตั้งล้มเหลว ลองติดตั้งด้วยตนเอง ไปที่หน้า Windows 10 update history webpage ดู log อัปเดตก่อนหน้าทั้งหมด
สำหรับอัปเดตล่าสุด จด KB number
ใช้ Windows Update Catalog Website ค้นหาอัปเดตด้วย KB number ที่จด ดาวน์โหลดตามเครื่อง: 32-bit = x86 หรือ 64-bit = x64
(ณ วันนี้ – KB5012599 (OS Build 19044.1645) เป็น patch ล่าสุดสำหรับ Windows 10 และ KB5012592 (OS Build 22000.613) สำหรับ Windows 11)
เปิดไฟล์ที่ดาวน์โหลด ติดตั้งอัปเดต
เสร็จแล้ว รีสตาร์ทคอมพิวเตอร์นำการเปลี่ยนแปลงไปใช้
รัน System File Checker scan
บางครั้งไฟล์ระบบ Windows เสียหาย ป้องกัน Windows updates นำไปใช้ ได้ผล "Windows Update components must be repaired" ในกรณีนี้ รัน System File Checker utility (SFC scan) สแกนและแก้ปัญหาอัตโนมัติหลายอย่าง วิธีรัน SFC scan บน Windows 10:
- กด Windows key + S พิมพ์ cmd จากผลลัพธ์ คลิกขวา command prompt เลือก run as administrator
- คลิก Yes ถ้า UAC ขออนุญาต เปิด Command Prompt ด้วย admin permissions
- พิมพ์คำสั่ง sfc /scannow กด Enter
- ปล่อยให้ SFC command สแกนคอมพิวเตอร์หาไฟล์ระบบเสียหาย
- ถ้าพบข้อผิดพลาด SFC utility จะแก้อัตโนมัติ อาจแก้ข้อผิดพลาดเกี่ยวข้องได้
ตรวจสอบ Date และ timezone
ในบางกรณี Date และ time zone ผิด อาจทำให้ปัญหา Windows Update แนะนำตรวจสอบและแก้ไขด้วยตนเอง
ถ้าค้างตอนอัปเกรด ใช้ Media Creation Tool อย่างเป็นทางการ อัปเกรดเป็น Windows 10 version 21H2 โดยไม่มีข้อผิดพลาด
วิธีเหล่านี้ช่วยแก้ปัญหาติดตั้ง Windows Update รวมถึง "windows update components must be repaired" หรือ "one or more windows update components are configured incorrectly" ได้หรือไม่? แชร์ feedback ในความคิดเห็น
อ่านเพิ่ม:
- Fix WUAUSERV (Windows update) High CPU usage in Windows 10
- Solved: Windows 10 Slow Shutdown after may 2022 Update
- Laptop Stuck Getting Windows ready Don't turn off your computer? Try these solutions
- Windows 10 Blue Screen of Death (BSOD) Error – An Ultimate Guide
- 5 solutions to fix NTFS_FILE_SYSTEM error in Windows 10/8/7