Hướng dẫn thêm Exclusion cho phần mềm

Hướng dẫn thêm Exclusion cho phần mềm

Khi Windows Security (Windows Defender) chặn hoặc xoá phần mềm proxy, bạn có thể thêm Exclusion (ngoại lệ) để Defender bỏ qua phần mềm đó mà vẫn giữ bảo mật cho hệ thống.

Khuyến nghị

Đây là cách an toàn nhất — chỉ bỏ qua bảo vệ cho phần mềm cụ thể, không ảnh hưởng bảo mật tổng thể.

Cách 1: Thêm Exclusion qua Windows Security (Giao diện)

Mở Windows Security

Bấm tổ hợp phím Windows + IPrivacy & SecurityWindows SecurityOpen Windows Security.

Hoặc bấm vào biểu tượng khiên trên thanh taskbar.

image

Vào Virus & threat protection settings

Chọn Virus & threat protection → bấm Manage settings.

image

Vào Exclusions

Kéo xuống mục Exclusions → bấm Add or remove exclusions.

image

Thêm Exclusion

Bấm + Add an exclusion → chọn loại ngoại lệ:

  • Folder (Khuyến nghị): Chọn thư mục chứa phần mềm

  • File: Chọn file .exe cụ thể

  • File type: Nhập đuôi file (ví dụ: .exe, .dll)

  • Process: Nhập tên tiến trình (ví dụ: TMProxyManager.exe)

    image

Chọn thư mục phần mềm

Chọn Folder → tìm đến thư mục chứa phần mềm (ví dụ: TMProxyManager) → bấm Select Folder.

image

Hoàn tất

Exclusion đã được thêm thành công. Windows Defender sẽ không quét và chặn các file trong thư mục này nữa.

image


Cách 2: Thêm Exclusion bằng PowerShell

Dành cho người dùng quen với dòng lệnh hoặc cần thêm nhiều exclusion cùng lúc.

Mở PowerShell với quyền Admin

Bấm chuột phải vào Start → chọn Windows Terminal (Admin) hoặc PowerShell (Admin).

Thêm Exclusion theo Folder

Add-MpPreference -ExclusionPath "C:\Users\Admin\Downloads\TMProxyManager"

Thêm Exclusion theo File (tuỳ chọn)

Add-MpPreference -ExclusionPath "C:\TMProxy\TMProxyManager.exe"

Thêm Exclusion theo Process (tuỳ chọn)

Add-MpPreference -ExclusionProcess "TMProxyManager.exe"

Kiểm tra danh sách Exclusion hiện tại

Get-MpPreference | Select-Object -Property ExclusionPath, ExclusionProcess, ExclusionExtension

Để xoá Exclusion

Remove-MpPreference -ExclusionPath "C:\Users\Admin\Downloads\TMProxyManager"

Tổng kết

CáchPhù hợp choPhiên bản
Cách 1: Windows Security (Giao diện)Người dùng phổ thôngMọi phiên bản
Cách 2: PowerShellThêm nhanh, nhiều exclusionMọi phiên bản