Lỗi 0x80004005 thường gặp khi cài đặt cập nhật bảo mật (ví dụ KB3087040 - Flash Player). Nguyên nhân: file Windows hỏng, vấn đề kích hoạt, driver, thành phần cập nhật hỏng.
Các phương pháp sửa lỗi 0x80004005
Phương pháp 1: Xóa nội dung thư mục SoftwareDistribution\Download
- Win+R >
%systemroot%\SoftwareDistribution\Download. - Ctrl+A chọn tất cả > Delete.
- Xóa luôn trong Recycle Bin > Khởi động lại > Thử cập nhật lại.
Phương pháp 2: Windows Update Troubleshooter
- Settings > Update & Security > Troubleshoot > Additional troubleshooters.
- Chọn Windows Update > Run troubleshooter.
- Khởi động lại > Kiểm tra cập nhật.
Phương pháp 3: System File Checker (SFC)
- Command Prompt (Admin) > sfc /scannow.
- Đợi quét xong > Thử cập nhật lại.
Phương pháp 4: Reset Windows Update Components + Cài đặt thủ công
- Command Prompt (Admin) chạy lần lượt:
net stop wuauserv net stop bits net stop cryptsvc
- Giữ cửa sổ CMD, chạy:
ren %systemroot%\System32\Catroot2 Catroot2.old ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
- Chạy tiếp:
net start wuauserv net start bits net start cryptsvc
- Đóng CMD > Thử cập nhật.
- Nếu vẫn lỗi: Mở Chrome Incognito/Edge > vào Microsoft Update Catalog > tìm mã KB (ví dụ KB3087040) > Download > Cài đặt thủ công.
Phương pháp 5: Clean Boot
- Win+R > msconfig.
- General: Selective startup, bỏ tích Load startup items.
- Services: tích Hide all Microsoft services > Disable all > Apply/OK.
- Khởi động lại > Thử cập nhật (chỉ chạy dịch vụ Microsoft).
Phương pháp 6: Sửa file opencl.dll hỏng qua DISM
- Command Prompt (Admin) > chạy:
DISM /Online /Cleanup-Image /RestoreHealth
- Đợi hoàn tất > Khởi động lại > Thử cập nhật.
Mẹo: Khởi động lại đơn giản đôi khi cũng giải quyết được sự cố.