Windows Update là phần quan trọng của Windows. Tính năng tích hợp giúp Microsoft đẩy cập nhật, sửa lỗi và vá lỗ hổng bảo mật. Dù người dùng có thể bỏ qua, dừng, không cập nhật, nhưng không khuyến khích vì để hệ thống gặp rủi ro bảo mật nghiêm trọng.
Vì Windows Update cũng là chương trình, lỗi chắc chắn xảy ra. Một trong số đó: khi chạy Windows Update, lỗi hiện "Windows Update cannot currently check for updates, because the service is not running. You may need to restart your computer". Nguyên nhân: dịch vụ Windows Update không khởi động được, hoặc entry registry hỏng khiến dịch vụ không tìm thấy.
Hướng dẫn này sẽ đi qua vài phương pháp giải quyết vấn đề.

Phương pháp 1: Sửa dịch vụ Windows Update
Để dễ dàng, chúng tôi tạo file batch dừng dịch vụ Windows Update, xóa thư mục SoftwareDistribution, chạy lại dịch vụ. windowsupdatefix.bat
- Chuột phải link windowsupdatefix.bat trên, chọn Save As. Lưu file, mở thư mục chứa, chuột phải file chọn Run As Administrator.
- Cửa sổ Command Prompt đen hiện ra vài giây, sau khi biến mất thử chạy Update lại.
Phương pháp 2: Reset cài đặt Windows Update
Tắt và bật Windows Update qua Control Panel khắc phục vấn đề cho nhiều người vì reset cài đặt không nhất quán. Làm như sau: nhấn Windows key gõ Windows Update.
- Nhấn Windows update kết quả tìm kiếm. Cửa sổ Windows update, nhấn Change Settings.
- Chọn Never check for updates dưới Important Updates nhấn OK. Đóng tất cả cửa sổ.

- Mở lại cài đặt Windows Update. Chọn Install updates automatically nhấn OK. Kiểm tra cập nhật lại.
Nếu vẫn báo lỗi, chuyển giải pháp tiếp.
Phương pháp 3: Tạm tắt Anti-virus và Firewall
Chương trình anti-virus, kể cả Windows Security Essential, đôi khi ngăn Windows Update khởi động. Vậy tạm tắt bảo vệ real-time của antivirus/spyware. Kiểm tra cập nhật. Dù giải pháp có hiệu quả hay không, bật lại tất cả bảo vệ.
Phương pháp 4: Sửa chữa Windows Update Database
Để sửa database Windows Update, nhấn Start gõ cmd. Chuột phải CMD chọn Run As Administrator.
Trong Command Prompt đen, thực hiện lệnh:
net stop wuauserv
cd /d %windir%\SoftwareDistribution\DataStore\Logs
esentutl /mh ..\DataStore.edb | findstr /i /c:"State:"
Nếu hiển thị State: Clean Shutdown dòng lệnh, không cần tiếp tục vì database ổn.

Nếu bước thất bại hoặc không hiển thị State: Clean Shutdown, tạo thư mục tạm "fixedfiles". Gõ lệnh trong Command Prompt:
mkdir c:\fixedfiles
Truy cập máy Windows khác mà Windows Update chạy tốt. Giữ Windows key nhấn R. Gõ System32 nhấn Enter.
Trong thư mục System32, tìm file esent.dll đặt vào thư mục fixedfiles máy cần sửa.
Sau đó gõ lệnh trong Command Prompt máy đích:
copy %windir%\system32\esentutl.exe c:\fixedfiles\ c:\fixedfiles\esentutl.exe /r edb net start wuauserv
Khởi động lại hệ thống và chạy Windows Update kiểm tra xem vấn đề giải quyết chưa.