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

Cách khắc phục mã lỗi Windows Update 0x8024a105

Lỗi 0x8024a105 xuất hiện khi cập nhật Windows 10 qua Windows Update, báo: "There were problems downloading some updates, but we'll try again later... This error code might help: (0x8024a105)". Dưới đây là 9 phương pháp theo thứ tự độ phức tạp.

Phương pháp 1: Chạy Windows Update Troubleshooter

  1. Win + R → control.exe /name Microsoft.Troubleshooting.
  2. Chọn Windows Update → Run the troubleshooter.
  3. Đợi phát hiện lỗi → Apply fix nếu có → Reboot → kiểm tra.

Phương pháp 2: Đổi cài đặt User Account Control (UAC) / Quyền Admin

  1. Win + R → netplwiz.
  2. Tab Users → chọn user đang dùng → Properties → Group Membership → đặt Administrator → Apply. (Nếu đã là Admin → bỏ qua).
  3. Reboot, đăng nhập cùng user, thử cập nhật lại.

Phương pháp 3: Reset thủ công các thành phần Windows Update (Hiệu quả cao)

  1. Mở Command Prompt (Admin).
  2. Dừng dịch vụ:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
  3. Đổi tên thư mục để buộc tạo mới:
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 Catroot2.old
  4. Khởi động lại dịch vụ:
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
  5. Đóng CMD, reboot.

Phương pháp 4: Xóa thư mục SoftwareDistribution bằng PowerShell

  1. Win + X → PowerShell (Admin).
  2. Chạy lần lượt:
    net stop wuauserv
    net stop bits
  3. Mở File Explorer → C:\Windows\SoftwareDistribution → Ctrl+A → Shift+Del (xóa vĩnh viễn) → Confirm.
  4. Reboot, thử cập nhật. Nếu thành công, chạy sfc /scannow sửa file thiếu.

Phương pháp 5: Cập nhật bằng Media Creation Tool

Nếu Windows Update không kết nối được server.

  1. Tải Media Creation Tool từ Microsoft.
  2. Chạy, chọn Upgrade this PC now → Next → Accept license → đợi tải và cài đặt bản mới nhất.

Phương pháp 6: Xóa thư mục tải cập nhật cũ ($Windows.~WS, $Windows.~BT)

  1. Win + R → control → View by: Large icons → File Explorer Options → tab View → Show hidden files, folders, drives → Apply.
  2. Win + E → xóa 2 thư mục $Windows.~WS và $Windows.~BT (ở ổ C:). Dọn Recycle Bin.
  3. Settings → Update & Security → Windows Update → Check for updates.

Phương pháp 7: Reset thư mục Catroot2

  1. CMD Admin → net stop cryptsvc.
  2. Chạy:
    md %systemroot%\system32\catroot2.old
    xcopy %systemroot%\system32\catroot2 %systemroot%\system32\catroot2.old /s
  3. Mở C:\Windows\System32\catroot2 → Ctrl+A → Shift+Del xóa toàn bộ file bên trong (giữ thư mục).
  4. CMD Admin → net start cryptsvc → thử cập nhật.

Phương pháp 8: Cấu hình dịch vụ khởi động tự động

  1. CMD Admin → chạy lần lượt:
    SC Config wuauserv start=auto
    SC Config bits start=auto
    SC Config cryptsvc start=auto
    SC Config trustedinstaller start=auto
  2. Kiểm tra cập nhật.

Phương pháp 9: Đăng ký lại file DLL Windows Update và BITS

  1. CMD Admin → chạy lần lượt các lệnh regsvr32.exe cho các file: atl.dll, urlmon.dll, mshtml.dll, shdocvw.dll, browseui.dll, jscript.dll, vbscript.dll, scrrun.dll, msxml.dll, msxml3.dll, msxml6.dll, actxprxy.dll, softpub.dll, wintrust.dll, dssenh.dll, rsaenh.dll, gpkcsp.dll, sccbase.dll, slbcsp.dll, cryptdlg.dll, oleaut32.dll, ole32.dll, shell32.dll, initpki.dll, wuapi.dll, wuaueng.dll, wuaueng1.dll, wucltui.dll, wups.dll, wups2.dll, wuweb.dll, qmgr.dll, qmgrprxy.dll, wucltux.dll, muweb.dll, wuwebv.dll.
  2. Kiểm tra lại.

Lưu ý cuối: Nếu vẫn lỗi → Clean Boot → cập nhật trong Clean Boot → thoát Clean Boot. Cuối cùng: cài lại Windows sạch.