Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

วิธีแก้ไข Windows Update Error 8024402F – คู่มือขั้นตอนอย่างรวดเร็ว

หากคุณพยายามอัปเดต Windows และเจอรหัสข้อผิดพลาด 8024402F "Windows Update encountered an unknown error" คุณมาถูกที่แล้ว วันนี้เราจะพูดถึงวิธีแก้ไขปัญหานี้ Windows Updates จำเป็นสำหรับความปลอดภัยของ Windows และการทำงานที่ถูกต้อง แต่หากไม่สามารถอัปเดต Windows ได้ ระบบจะอยู่ในสภาพอ่อนไหวต่อการโจมตี ควรแก้ไขปัญหาโดยเร็วที่สุดและรัน Windows Update

Windows could not search for new updates:
An error occurred while checking for new updates for your computer.
Error(s) found: Code 8024402F Windows Update encountered an unknown error.

แม้ใช้ Windows Update Troubleshooter ข้อผิดพลาดก็ไม่หาย แม้ติดตั้ง Windows ใหม่ก็ไม่แก้ไขได้ ทุกขั้นตอนนี้ไม่ผลลัพธ์ เพราะสาเหตุหลักอยู่ที่ Firewall การปิด Firewall ช่วยแก้ได้ในหลายกรณี ไม่ต้องเสียเวลา ให้ดูวิธีแก้ไข Windows Update Error 8024402F ด้วยขั้นตอนด้านล่าง

แก้ไข Windows Update Error 8024402F

โปรดสร้างจุดกู้คืนระบบ (Restore Point) ก่อนการดำเนินการ

วิธีที่ 1: ปิด Antivirus และ Firewall ชั่วคราว

(ขั้นตอนเดียวกับบทความก่อนหน้า - ปิด Antivirus จาก System Tray และปิด Windows Firewall ผ่าน Control Panel)

วิธีที่ 2: อัปเดต วันที่/เวลา Windows

1. คลิกที่ วันที่และเวลา บนแถบงาน เลือก Date and time settings

2. ใน Windows 10 ตั้ง Set Time Automatically เป็น On

3. สำหรับเวอร์ชันอื่น คลิก Internet Time ติ๊ก Automatically synchronize with Internet time server

4. เลือก Server time.windows.com คลิก Update แล้ว OK (ไม่ต้องรออัปเดตเสร็จ แค่กด OK)

ตรวจสอบอีกครั้งว่าสามารถ แก้ไข Windows Update Error 8024402F ได้หรือไม่ หากไม่ ให้ดำเนินการวิธีถัดไป

วิธีที่ 3: ตรวจสอบ Update Logs

1. พิมพ์ powershell ใน Windows Search คลิกขวา PowerShell เลือก Run as Administrator

2. พิมพ์คำสั่งต่อไปนี้ใน PowerShell แล้วกด Enter:

Get-WindowsUpdateLog

3. จะบันทึก Windows Log บน Desktop ดับเบิลคลิกเปิดไฟล์

4. เลื่อนลงไปที่ วันที่และเวลา ที่พยายามอัปเดตและล้มเหลว

5. ไปที่ลิงก์เพื่อเข้าใจวิธีอ่านไฟล์ Windowsupdate.log

6. เมื่อทราบสาเหตุแล้ว ให้แก้ไขปัญหา และดูว่าสามารถ แก้ไข Windows Update Error 8024402F ได้หรือไม่

วิธีที่ 4: ตรวจสอบบริการ Windows Update ให้ทำงานอยู่

1. กด Windows Key + R พิมพ์ services.msc กด Enter

2. ค้นหาบริการต่อไปนี้ และตรวจสอบว่ากำลังทำงานอยู่:

  • Windows Update
  • BITS
  • Remote Procedure Call (RPC)
  • COM+ Event System
  • DCOM Server Process Launcher

3. ดับเบิลคลิกแต่ละบริการ ตั้ง Startup type เป็น Automatic คลิก Start หากบริการยังไม่ทำงาน

4. คลิก Apply ตามด้วย OK

5. รีสตาร์ทคอมพิวเตอร์ ลองรัน Windows Update อีกครั้ง

วิธีที่ 5: รัน System File Checker และ DISM Tool

1. เปิด Command Prompt (ค้นหา 'cmd' กด Enter)

2. พิมพ์คำสั่งต่อไปนี้ใน cmd แล้วกด Enter:

Sfc /scannow
sfc /scannow /offbootdir=c:\ /offwindir=c:\windows (หากข้างต้นล้มเหลว ลองคำสั่งนี้)

3. รอกระบวนการเสร็จ รีสตาร์ทคอมพิวเตอร์

4. เปิด cmd อีกครั้ง พิมพ์คำสั่งต่อไปนี้ กด Enter หลังแต่ละคำสั่ง:

Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth

5. รอคำสั่ง DISM ทำงานจนเสร็จ

6. หากคำสั่งข้างต้นไม่ทำงาน ลองคำสั่งด้านล่าง:

Dism /Image:C:\offline /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows
Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess

หมายเหตุ: แทนที่ C:\RepairSource\Windows ด้วยตำแหน่งแหล่งซ่อมแซม (Windows Installation หรือ Recovery Disc)

7. รีสตาร์ทคอมพิวเตอร์ ตรวจสอบว่าสามารถ แก้ไข Windows Update Error 0x800705b3 หรือ 8024402F ได้หรือไม่

วิธีที่ 6: รัน Windows Update Troubleshooter

หากไม่มีวิธีไหนทำงาน จะต้องลองรัน Windows Update Troubleshooter จากเว็บไซต์ Microsoft โดยตรง ดูว่าสามารถแก้ไขได้หรือไม่

1. เปิด Control Panel ค้นหา Troubleshooting ใน Search Bar ด้านขวาบน คลิก Troubleshooting

2. จากแถบซ้าย เลือก View all

3. จากรายการ เลือก Windows Update

4. ปฏิบัติตามคำแนะนำบนหน้าจอ ให้ Windows Update Troubleshoot ทำงาน

5. รีสตาร์ทคอมพิวเตอร์ อาจสามารถ แก้ไข Windows Update Error 8024402F ใน Windows 10 ได้

วิธีที่ 7: ยกเลิกการเลือก Proxy

(ขั้นตอนเดียวกับวิธีที่ 3 ในบทความก่อนหน้า - ใช้ inetcpl.cpl ไปที่ Connections > LAN settings Uncheck Use a Proxy Server, ติ๊ก Automatically detect settings)

วิธีที่ 8: เปลี่ยนชื่อโฟลเดอร์ SoftwareDistribution

1. เปิด Command Prompt (ค้นหา 'cmd' กด Enter)

2. พิมพ์คำสั่งต่อไปนี้เพื่อหยุดบริการ Windows Update กด Enter หลังแต่ละคำสั่ง:

net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver

3. พิมพ์คำสั่งต่อไปนี้เพื่อเปลี่ยนชื่อโฟลเดอร์ SoftwareDistribution กด Enter:

ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old

4. พิมพ์คำสั่งต่อไปนี้เพื่อเริ่มบริการ Windows Update อีกครั้ง กด Enter หลังแต่ละคำสั่ง:

net start wuauserv
net start cryptSvc
net start bits
net start msiserver

5. รีสตาร์ทคอมพิวเตอร์ ตรวจสอบว่าสามารถ แก้ไข Windows Update Error 8024402F ได้หรือไม่

วิธีที่ 9: Reset Windows Update Component

1. เปิด Command Prompt (ค้นหา 'cmd' กด Enter)

2. พิมพ์คำสั่งต่อไปนี้ใน cmd กด Enter หลังแต่ละคำสั่ง:

net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc

3. ลบไฟล์ qmgr*.dat โดยเปิด cmd พิมพ์:

Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"

4. พิมพ์คำสั่งต่อไปนี้ใน cmd กด Enter:

cd /d %windir%\system32

5. ลงทะเบียน BITS files และ Windows Update files ใหม่ พิมพ์คำสั่งแต่ละคำสั่งใน cmd กด Enter หลังแต่ละคำสั่ง:

regsvr32.exe atl.dll
regsvr32.exe urlmon.dll
regsvr32.exe mshtml.dll
regsvr32.exe shdocvw.dll
regsvr32.exe browseui.dll
regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
regsvr32.exe scrrun.dll
regsvr32.exe msxml.dll
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
regsvr32.exe actxprxy.dll
regsvr32.exe softpub.dll
regsvr32.exe wintrust.dll
regsvr32.exe dssenh.dll
regsvr32.exe rsaenh.dll
regsvr32.exe gpkcsp.dll
regsvr32.exe sccbase.dll
regsvr32.exe slbcsp.dll
regsvr32.exe cryptdlg.dll
regsvr32.exe oleaut32.dll
regsvr32.exe ole32.dll
regsvr32.exe shell32.dll
regsvr32.exe initpki.dll
regsvr32.exe wuapi.dll
regsvr32.exe wuaueng.dll
regsvr32.exe wuaueng1.dll
regsvr32.exe wucltui.dll
regsvr32.exe wups.dll
regsvr32.exe wups2.dll
regsvr32.exe wuweb.dll
regsvr32.exe qmgr.dll
regsvr32.exe qmgrprxy.dll
regsvr32.exe wucltux.dll
regsvr32.exe muweb.dll
regsvr32.exe wuwebv.dll

6. เพื่อ Reset Winsock:

netsh winsock reset

7. Reset BITS service และ Windows Update service ให้เป็น Default Security Descriptor:

sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

8. เริ่มบริการ Windows Update อีกครั้ง:

net start bits
net start wuauserv
net start appidsvc
net start cryptsvc

9. ติดตั้ง Windows Update Agent เวอร์ชันล่าสุด

10. รีสตาร์ทคอมพิวเตอร์ ดูว่าสามารถแก้ไขปัญหาได้หรือไม่

บทความแนะนำ:

  • แก้ไข Printer Installation Error 0x000003eb
  • แก้ไข The Installation Failed In The First Boot Phase Error
  • วิธีแก้ Windows Settings won't open
  • แก้ไข Google Chrome error He's Dead, Jim!

เรียบร้อยแล้ว คุณได้แก้ไข Windows Update Error 8024402F สำเร็จ หากยังมีข้อสงสัย ถามได้ในส่วนความคิดเห็น