Khắc phục mã lỗi 0x8024402f khi cập nhật Windows
Lỗi do file CAB cập nhật bị hỏng. Nguyên nhân thường do ISP cache bản cập nhật Microsoft và file cache bị corrupt. Tắt Antivirus trước khi thử.
Kiểm tra trước: Ngày/giờ chính xác, tắt card mạng nội bộ (nếu dùng 2 card), cập nhật/gỡ .NET Framework, tắt IPv6.
Thử Windows Update Troubleshooter trước (tải từ Microsoft, chạy tự động). Nếu fail thì làm các cách dưới.
Phương pháp 1: Reset Windows Update Components (Hiệu quả 99%)
Dừng dịch vụ, xóa cache, đăng ký lại DLL, reset Winsock/Proxy, khởi động lại dịch vụ.
- Mở CMD Admin: Win → gõ
cmd→ Ctrl+Shift+Enter. - Dừng dịch vụ:
net stop bits net stop wuauserv net stop appidsvc net stop cryptsvc
- Xóa nội dung thư mục:
C:\Windows\SoftwareDistribution\Download. - Xóa file .dat:
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat". - Đổi thư mục & đăng ký lại DLL:
cd /d %windir%\system32 regsvr32.exe atl.dll regsvr32.exe urlmon.dll regsvr32.exe mshtml.dll ... (tổng cộng ~40 lệnh regsvr32 - xem bài gốc để copy đầy đủ) regsvr32.exe wuwebv.dll
Lưu ý: Bỏ qua lệnh báo lỗi, tiếp tục lệnh sau. - Reset Winsock & Proxy:
netsh winsock reset netsh winhttp reset proxy
- Khởi động lại dịch vụ:
net start bits net start wuauserv net start appidsvc net start cryptsvc
- Restart máy → thử cập nhật lại.
Phương pháp 2: Thay đổi cài đặt Windows Update
- Win + I → Update & Security → Advanced Options.
- Bỏ tích Give me updates for other Microsoft Products when I update Windows.
- Nếu tùy chọn bị mờ (disabled) → bỏ qua sang phương pháp khác.
Phương pháp 3: Thay đổi Proxy Settings
Do ISP cache corrupt, đổi proxy có thể khắc phục.
Cách 1 (Settings): Win + I → Network & Internet → Proxy → bật Use a proxy server → nhập IP:Port → Save.
Cách 2 (CMD Admin - nếu cách 1 fail):
- Mở CMD Admin →
netsh winhttp show proxy(xem proxy hiện tại). - Đổi proxy:
netsh winhttp set proxy proxy-server="IP:Port"(ví dụ:netsh winhttp set proxy proxy-server=123.154.165.11:8080).
Phương pháp 4: Đổi Windows Update Service thành Delayed Start
- Win + R →
services.msc→ Enter. - Tìm Windows Update → chuột phải → Properties.
- Startup type: Automatic (Delayed Start) → Start (nếu Stopped) → Apply/OK.
Phương pháp 5: Xóa file tạm (Temporary files)
Xóa file temp hệ thống → chạy Windows Update lại (sẽ tải file mới thay thế).
Phương pháp 6: Thử mạng khác hoặc dùng VPN/Hotspot điện thoại
ISP có thể chặn/cache sai. Dùng mạng khác, VPN, hoặc hotspot 4G (chú ý dung lượng cập nhật).
Phương pháp 7: Đổi DNS (Google DNS: 8.8.8.8 / 8.8.4.4)
DNS của nhà mạng có thể gây lỗi kết nối Microsoft Update. Đổi sang DNS công cộng.
Phương pháp 8: Kiểm tra Firewall Router/Modem
- Tắt dịch vụ AMP (Meraki Firewall).
- Tắt chặn ActiveX.
- Thêm microsoft.com và microsoftupdate.com vào whitelist.
- Cập nhật firmware router mới nhất.
- Reset router về mặc định.
Nếu tất cả fail → cân nhắc cài lại Windows sạch.