Computer >> Hướng Dẫn Máy Tính >  >> Xử Lý Sự Cố >> Lỗi Windows

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

Nếu bạn đang cố cập nhật Windows và gặp mã lỗi 8024402F "Windows Update encountered an unknown error", bạn đã đến đúng nơi. Hôm nay chúng ta sẽ thảo luận cách khắc phục sự cố này. Windows Update thiết yếu cho bảo mật và hoạt động ổn định của Windows. Nếu không cập nhật được, hệ thống dễ bị khai thác lỗ hổng, bạn nên khắc phục sớm và chạy 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.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

Ngay cả khi dùng Windows Update Troubleshooter, lỗi cũng không giải quyết được, thậm chí cài lại Windows cũng không khắc phục. Tất cả đều thất bại vì nguyên nhân chính là do Firewall, tắt nó giúp ích trong nhiều trường hợp. Không mất thêm thời gian, hãy xem cách Khắc phục lỗi Windows Update 8024402F với các bước dưới đây.

Khắc phục lỗi Windows Update 8024402F

Tạo điểm khôi phục hệ thống trước khi thực hiện.

Phương pháp 1: Tạm thời tắt Antivirus và Firewall

Đôi khi Antivirus gây lỗi. Để kiểm tra, tắt antivirus trong thời gian ngắn.

1. Chuột phải biểu tượng Antivirus khay hệ thống > Disable.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

2. Chọn khung thời gian tắt (nên 15 hoặc 30 phút).

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

Lưu ý: Chọn thời gian ngắn nhất có thể.

3. Thử mở Chrome và kiểm tra lỗi.

4. Tìm "Control Panel" từ Start > mở Control Panel.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

5. Chọn System and Security > Windows Firewall.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

6. Bên trái click Turn Windows Firewall on or off.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

7. Chọn Turn off Windows Firewall và khởi động lại máy.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

Thử mở Chrome và truy cập trang web từng báo lỗi. Nếu không khắc phục, làm ngược lại để bật lại Firewall.

Phương pháp 2: Cập nhật Ngày/Giờ Windows

1. Click vào ngày/giờ thanh tác vụ > chọn Date and time settings.

2. Trên Windows 10, bật Set Time Automatically = On.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

3. Các phiên bản khác, click tab Internet Time > tích Automatically synchronize with Internet time server.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

4. Chọn Server time.windows.com > Update > OK. Không cần đợi cập nhật xong, chỉ cần OK.

Kiểm tra lại xem đã khắc phục lỗi 8024402F chưa. Nếu chưa, tiếp phương pháp 3.

Phương pháp 3: Kiểm tra nhật ký cập nhật (Update Logs)

1. Gõ powershell vào Windows Search > chuột phải PowerShell > Run as Administrator.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

2. Gõ lệnh sau vào PowerShell > Enter:

Get-WindowsUpdateLog
Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

3. Lệnh này lưu bản sao nhật ký Windows Update trên Desktop, double-click mở file.

4. Cuộn xuống ngày/giờ bạn thử cập nhật và bị thất bại.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

5. Xem hướng dẫn đọc file Windowsupdate.log tại trang Microsoft.

6. Sau khi xác định nguyên nhân, khắc phục vấn đề và kiểm tra xem đã sửa lỗi 8024402F chưa.

Phương pháp 4: Đảm bảo các dịch vụ Windows Update đang chạy

1. Windows + R > gõ services.msc > Enter.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

2. Tìm các dịch vụ sau và đảm bảo chúng đang chạy:

  • Windows Update
  • BITS
  • Remote Procedure Call (RPC)
  • COM+ Event System
  • DCOM Server Process Launcher
Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

3. Double-click từng dịch vụ, đặt Startup type = Automatic và click Start nếu chưa chạy.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

4. Apply > OK.

5. Khởi động lại > chạy lại Windows Update.

Phương pháp 5: Chạy System File Checker và DISM Tool

1. Mở Command Prompt (tìm "cmd" > Enter).

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

2. Gõ lệnh sau > Enter:

Sfc /scannow
sfc /scannow /offbootdir=c:\ /offwindir=c:\windows (Nếu lệnh trên thất bại thì thử lệnh này)
Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

3. Đợi hoàn tất > Khởi động lại.

4. Mở lại cmd, gõ lần lượt các lệnh DISM (Enter sau mỗi lệnh):

Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth
Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

5. Đợi DISM chạy xong.

6. Nếu không hiệu quả, thử lệnh sau:

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

Lưu ý: Thay thế C:\RepairSource\Windows bằng vị trí nguồn sửa chữa (Windows Installation hoặc Recovery Disc).

7. Khởi động lại > kiểm tra xem đã khắc phục lỗi 0x800705b3 hoặc 8024402F chưa.

Phương pháp 6: Chạy Windows Update Troubleshooter từ Microsoft

Nếu đến giờ vẫn không khắc phục được, hãy thử chạy Windows Update Troubleshooter từ trang web Microsoft.

1. Mở Control Panel, tìm Troubleshooting ở thanh tìm kiếm góc trên phải > click Troubleshooting.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

2. Bên trái chọn View all.

3. Chọn Windows Update từ danh sách.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

4. Làm theo hướng dẫn.

5. Khởi động lại, có thể đã khắc phục lỗi Windows Update 8024402F trên Windows 10.

Phương pháp 7: Bỏ chọn Proxy

1. Windows + R > gõ inetcpl.cpl > Enter.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

2. Tab Connections > LAN settings.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

3. Bỏ tích Use a Proxy Server for your LAN và đảm bảo Automatically detect settings được tích.

Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

4. OK > Apply > Khởi động lại.

Phương pháp 8: Đổi tên thư mục SoftwareDistribution

1. Mở Command Prompt (tìm "cmd" > Enter).

2. Gõ lần lượt để dừng dịch vụ (Enter sau mỗi lệnh):

net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

3. Gõ lệnh đổi tên thư mục (Enter sau mỗi lệnh):

ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

4. Gõ lệnh khởi động lại dịch vụ (Enter sau mỗi lệnh):

net start wuauserv
net start cryptSvc
net start bits
net start msiserver
Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

5. Khởi động lại > kiểm tra xem đã khắc phục lỗi 8024402F chưa.

Phương pháp 9: Reset Windows Update Component

1. Mở Command Prompt (tìm "cmd" > Enter).

2. Gõ lần lượt các lệnh (Enter sau mỗi lệnh):

net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc
Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

3. Xóa file qmgr*.dat, mở cmd và gõ:

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

4. Gõ lệnh sau > Enter:

cd /d %windir%\system32
Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

5. Đăng ký lại file BITS và Windows Update. Gõ từng lệnh sau riêng lẻ > Enter sau mỗi lệnh:

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
Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

7. Reset BITS service và Windows Update service về descriptor bảo mật mặc định:

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. Khởi động lại dịch vụ Windows Update:

net start bits
net start wuauserv
net start appidsvc
net start cryptsvc
Khắc phục lỗi Windows Update 8024402F – Hướng dẫn nhanh từng bước

9. Cài đặt Windows Update Agent mới nhất.

10. Khởi động lại > kiểm tra sự cố.

Dành cho bạn:

  • Sửa lỗi cài đặt máy in 0x000003eb
  • Sửa lỗi The Installation Failed In The First Boot Phase
  • Cách sửa Windows Settings won’t open
  • Sửa lỗi Google Chrome "He’s Dead, Jim!"

Chúc bạn thành công khắc phục lỗi Windows Update 8024402F. Hãy bình luận nếu cần hỗ trợ.