Nhắc lại: tính năng deduplication dữ liệu tích hợp trên phân vùng đĩa xuất hiện từ Windows Server 2012. Mục tiêu công nghệ deduplication: tiết kiệm dung lượng đĩa trên file server bằng cách tìm và xóa dữ liệu trùng lặp. Hệ thống tìm các block giống nhau trên volume NTFS và xóa, thay bằng link trỏ đến nguồn gốc, giải phóng dung lượng hiệu quả. Công nghệ này tập trung phân khúc server và KHÔNG có sẵn cho client Windows 8 ngay cả Pro và Enterprise.
Tuy nhiên, có thủ thuật kích hoạt deduplication trên Windows 8 (và 8.1). Một số enthusiast trích xuất package tương ứng từ Windows Server 2012/R2 để làm được.
Lưu ý. Chính thức, chức năng deduplication không được hỗ trợ trên client OS, do đó coi là cấu hình không được hỗ trợ. Tuy nhiên kích hoạt deduplication cho tác vụ như môi trường test ảo hóa Hyper-V hoặc ổ lưu image và gói cài phần mềm có thể tiết kiệm tới 90% dung lượng đĩa – không thể đạt được với nén NTFS hay Single Instance Storage (đã lỗi thời).
- Tải và giải nén archive chứa file rollup kích hoạt deduplication
- Windows 8 – windows8-dedup.zip (4133 KB)
- Windows 8.1 – windows81-dedup.zip (4351 KB)
- Chạy lệnh sau (quyền admin)
- Windows 8:
dism /online /add-package /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~~6.2.9200.16384.cab /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~en-US~6.2.9200.16384.cab /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~~6.2.9200.16384.cab /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~en-US~6.2.9200.16384.cab /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~~6.2.9200.16384.cab /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~en-US~6.2.9200.16384.cab
dism /online /enable-feature /featurename:Dedup-Core /all - Windows 8.1:
dism /online /add-package /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.cab /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.cab /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.cab /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.cab /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.cab /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.cab
dism /online /enable-feature /featurename:Dedup-Core /all
Lưu ý. Vì package deduplication trích từ Windows Server 2012/R2, chỉ hoạt động trên Windows 8 64-bit.
- Windows 8:
- Sau cài feature, tùy chọn mới File Server Role → Data Deduplication xuất hiện trong "Windows Features" (Control Panel\All Control Panel Items\Programs and Features\Turn Windows Features on or off).

Quản lý deduplication trên Windows qua PowerShell chạy admin (công cụ GUI trong Server Manager không chạy).
Bật deduplication cho volume D::
Enable-DedupVolume -Volume D:
Mẹo. Không thể bật deduplication cho system hoặc boot volume.
Loại trừ thư mục khỏi deduplication trên Windows 2012 R2 (PowerShell 4.0):
Set-DedupVolume -volume D: -ExcludeFolder d:\HomeFolder;d:\mp3
Chạy ngay tiến trình deduplication:
Start-DedupJob –Volume D: –Type Optimization
Xem trạng thái tiến trình:
Get-DedupStatus
Lưu ý. Tốc độ deduplication phần cứng trung bình ~90 GB/giờ (theo nguồn chính thức).
Sau cài deduplication trên Windows 8, 3 task mới tạo trong Task Scheduler thực hiện deduplication theo lịch. Xem/thay đổi tham số task qua GUI Scheduler (Scheduler → Task Scheduler Library → Microsoft → Windows → Deduplication).
Hoặc qua PoSh:
Get-DedupSchedule
Mẹo Deduplication làm giảm hiệu suất hệ thống một phần. Bình thường vì hệ thống dùng thêm tài nguyên tìm block trùng trên volume. Nên lập lịch chạy deduplication vào giờ không làm việc.
Mặc định deduplication bật cho file không thay đổi >5 ngày. Trong hầu hết trường hợp (đặc biệt môi trường test) tốt hơn bật deduplication cho tất cả file bất kể thời gian thay đổi.
Set-Dedupvolume D: -MinimumFileAgeDays 0
Sau deduplication xong, ước lượng kết quả (tiết kiệm dung lượng) qua PoSh:
Get-DedupStatus
Hoặc nhìn trực quan trong Properties ổ đĩa.
Quan trọng. Khi bật deduplication cho thư mục, chúng không đọc được trên máy khác nếu máy đó không cài thành phần deduplication (dù thấy danh sách file trên ổ, nhưng không đọc được nội dung).
Nếu máy khác không cài được deduplication, phải tắt deduplication trên volume:
Disable-DedupVolume -Volume D: