Lỗi 0x80070020 (ERROR_SHARING_VIOLATION) thường xảy ra khi Windows Update không thể cập nhật vì một chương trình khác đang sử dụng file cần cập nhật. Đây là lỗi khá phổ biến. Dưới đây là cách khắc phục theo thứ tự hiệu quả nhất.

1. Khởi động lại máy tính (Cách đơn giản nhưng hiệu quả)

  • Khởi động lại máy tính hoàn toàn (Restart).
  • Sau khi khởi động xong, vào SettingsUpdate & SecurityWindows UpdateCheck for updates thử lại.

2. Chạy Windows Update Troubleshooter

  1. Nhấn Windows + I mở Settings.
  2. Chọn Update & SecurityTroubleshootAdditional troubleshooters.
  3. Tìm Windows Update → nhấn Run the troubleshooter.
  4. Để Windows tự động sửa lỗi.

Hướng dẫn chi tiết sửa lỗi Windows Update 0x80070020 trên Windows 10 4

3. Restart các dịch vụ Windows Update

  1. Nhấn Windows + R, gõ services.msc rồi Enter.
  2. Tìm và khởi động lại các service sau (chuột phải → Restart):
    • Windows Update
    • Background Intelligent Transfer Service (BITS)
    • Cryptographic Services
  3. Đặt Startup type của chúng thành Automatic.

Hướng dẫn chi tiết sửa lỗi Windows Update 0x80070020 trên Windows 10 5

4. Reset Windows Update Components (Cách mạnh và hiệu quả cao)

Mở Command Prompt với quyền Administrator:

  1. Nhấn Windows + S, gõ cmd, chuột phải → Run as administrator.
  2. Gõ lần lượt các lệnh sau (Enter sau mỗi lệnh):

cmd

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

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

net start wuauserv
net start cryptSvc
net start bits
net start msiserver
  1. Khởi động lại máy và thử cập nhật lại.

Hướng dẫn chi tiết sửa lỗi Windows Update 0x80070020 trên Windows 10 6

5. Chạy SFC và DISM

  1. Mở Command Prompt (Admin).
  2. Gõ lần lượt:

cmd

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
  1. Khởi động lại máy.

6. Các cách khác nếu vẫn chưa được

  • Tắt tạm thời Antivirus (Windows Defender hoặc phần mềm thứ ba).
  • Cập nhật Windows thủ công qua Microsoft Update Catalog.
  • Sử dụng Windows Update Assistant tải trực tiếp từ Microsoft.
Rate this post