Computer >> Hướng Dẫn Máy Tính >  >> Kết Nối Mạng >> An Ninh Mạng

Khắc phục lỗi "Network security not available" khi Avast Service không chạy

Nguyên nhân & Bối cảnh

Thông báo **"Network security not available when the Avast service is not running"** (Bảo mật mạng không khả dụng khi dịch vụ Avast không chạy) thường xuất hiện trên Windows khi:

  • Dịch vụ **Avast Antivirus / Avast Service (avast! Antivirus)** bị **Stopped (Dừng)**, **Disabled (Vô hiệu hóa)** hoặc **Crashed (Treo/lỗi)**.
  • Avast cài đặt **Firewall module** (Avast Firewall / Avast Internet Security / Premier / Ultimate) – module này phụ thuộc dịch vụ chính.
  • Windows Security Center phát hiện Firewall/AV không hoạt động → cảnh báo "Network security not available".

Các giải pháp theo thứ tự ưu tiên

1. Khởi động lại dịch vụ Avast (Nhanh nhất)

  1. Win + R → gõ `services.msc` → Enter.
  2. Tìm **avast! Antivirus** (hoặc **Avast Antivirus**, **Avast Service**).
  3. Click chuột phải → **Restart (Khởi động lại)**. Nếu đang Stopped → **Start**.
  4. Đợi vài giây → kiểm tra lại Windows Security Center / Avast UI.

2. Sửa chữa (Repair) cài đặt Avast

  1. Settings (Win+I) → Apps → Installed apps → Tìm **Avast Free Antivirus / Internet Security / Premier** → 3 chấm → **Modify (Sửa đổi)** → **Repair (Sửa chữa)**.
  2. Hoặc: Control Panel → Programs and Features → Avast → **Uninstall/Change** → **Repair**.
  3. Khởi động lại máy sau khi sửa xong.

3. Cập nhật Avast lên phiên bản mới nhất

  1. Mở Avast UI → Menu (☰) → Settings → General → Update → **Check for updates**.
  2. Hoặc: Right-click tray icon → **Update** → **Program**.
  3. Phiên bản cũ có thể không tương thích Windows Update mới (feature update 23H2, 24H2...).

4. Cài đặt lại sạch (Clean Reinstall) – Hiệu quả nhất nếu lỗi lặp lại

  1. Tải **Avast Uninstall Utility (avastclear.exe)** từ trang chủ Avast.
  2. Khởi động vào **Safe Mode (Chế độ an toàn)** (Shift + Restart → Troubleshoot → Advanced → Startup Settings → F4).
  3. Chạy `avastclear.exe` → chọn thư mục cài Avast (thường tự detect) → **Uninstall** → Restart.
  4. Tải bản cài mới nhất (Online Installer) từ avast.com → Cài đặt → Khởi động lại.

5. Kiểm tra xung đột phần mềm khác

  • **Chỉ được cài 1 Antivirus real-time tại một thời điểm.** Gỡ hoàn toàn: McAfee, Norton, Kaspersky, Bitdefender, ESET, Windows Defender (nếu dùng Avast, WinDefender sẽ tự tắt real-time, nhưng nếu Avast lỗi → WinDefender có thể không bật kịp).
  • Gỡ các "System Optimizer", "Driver Updater", "Cleaner" rác (CCleaner, Advanced SystemCare, IObit...).
  • Kiểm tra **Windows Defender Firewall** có bị tắt không (Avast Firewall thay thế nó). Nếu Avast Firewall lỗi → bật tạm Windows Firewall: `services.msc` → **Windows Defender Firewall** → Start / Automatic.

6. Xóa thư mục XNA Framework (Lỗi cũ nhưng vẫn gặp)

Một số bản Avast cũ xung đột với Microsoft XNA Framework Redistributable.

  1. Control Panel → Programs and Features.
  2. Gỡ **Microsoft XNA Framework Redistributable 4.0** (nếu có).
  3. Restart → Repair Avast (cách 2).

7. Kiểm tra Remote Desktop Services (Lỗi dịch vụ phụ thuộc)

  1. `services.msc` → **Remote Desktop Services** → Properties → Startup type: **Automatic** → Start → OK.
  2. Restart PC → kiểm tra Avast.

Nếu vẫn không khắc phục được

  • Dùng **Windows Defender** tích hợp (đã rất tốt từ Win 10/11, AV-TEST Top Product). Tắt/gỡ Avast hoàn toàn.
  • Chuyển sang AV miễn phí nhẹ khác: **Bitdefender Free, Kaspersky Free (Standard), Avira Free**.
  • Liên hệ **Avast Support** (chat/phone/ticket) – cung cấp log: `C:\ProgramData\AVAST Software\Avast\log\` (Setup.log, AvastUI.log, aswFe.log).

Cảnh báo: Avast "Free" hiện nay

Avast Free Antivirus hiện **tích hợp quảng cáo, thu thập dữ liệu duyệt web (bình thường hóa)**, và **không còn bản Pro riêng biệt** (đã gộp vào One/Ultimate). Nếu quan tâm Privacy: cân nhắc **Kaspersky Standard (Free)**, **Bitdefender Free**, hoặc **Windows Defender + Hardening (ConfigureDefender, HardenTools)**.

Tóm tắt quy trình xử lý nhanh

  1. Restart service `avast! Antivirus` trong `services.msc`.
  2. Repair Avast trong Apps & Features.
  3. Update Avast + Windows Update.
  4. Clean Reinstall với `avastclear.exe` trong Safe Mode.
  5. Gỡ AV khác, bật Windows Firewall tạm thời.
  6. Chuyển sang Windows Defender / AV khác nếu Avast vẫn lỗi.