1. Select the installation source
The deduplication feature does not exist on Windows 8.1 systems, and it is necessary to extract the relevant files from the corresponding server version, Windows Server R2.
2. Extract Files
There are a lot of directories and files in the installation source, we only need three directories:
\windows\servicing\packages, package file;
\windows\winsxs: assembly file. Other subdirectories are not required except for the subdirectories directory;
\windows\winsxs\manifests: Manifest file.
The subdirectories and files in these three directories are copied to a directory. Assume that all files and directories are copied to s:\4\Packages.
3. Incremental compression
Delta Compression: Delta Compression
Why are you talking about incremental compression? Because many of the files copied to the s:\4\Packages are incrementally compressed, if you open with Notepad, you can see only the beginning of the DCN PA30 and other content, the rest are garbled.
Besides, the document identification.
DC, should be the abbreviation of the increment compression, N denotes some kind of compression; In addition to DCN, there is DCD, DCM. The PA30 should be an incrementally compressed version, indicating that this compression is using Msdelta.dll as the engine, the decompression also uses Msdelta.dll, and a version PA19 that uses Mspatchc.dll for compression, using Mspatcha.dll Decompression (decompression is also called application, apply).
4, pre-installation preparation
Disables the Hash test.
Because the default assembly file should be uncompressed, the files that we extracted from the installation CD are compressed, and when the package is installed, the system does a Hash test of the assembly file and certainly cannot pass the test. To do this, you must turn off the function of the Hash test. You need to add an attribute Disablefilehashverification in the registry, with a type of DWORD, a value of 1, and a location in hklm\software\microsoft\windows\currentversion\ Sidebyside\configuration.
5. Installation package
Commands used by the installation package: Dism
Dism/online/add-package/packagepath: Path to package file
Data deduplication is a feature in the file Services role that relies on some of the underlying functionality of file services, the Microsoft-windows-fileserver-package package.
dism/online/add-package/packagepath:microsoft-windows-fileserver-package~31bf3856ad364e35~amd64~~ 6.3.9600.16384.mum
dism/online/add-package/packagepath:microsoft-windows-fileserver-package~31bf3856ad364e35~amd64~zh-cn~ 6.3.9600.16384.mum
Dism/online/add-package/packagepath:microsoft-windows-dedup-package~31bf3856ad364e35~amd64~~6.3.9600.16384.mum
dism/online/add-package/packagepath:microsoft-windows-dedup-package~31bf3856ad364e35~amd64~zh-cn~ 6.3.9600.16384.mum
6. Preparation before enabling function
This step is critical because almost all of the errors are related to the settings here. This step can be skipped if the extracted file is the original file that was not compressed.
As mentioned earlier, the data deduplication feature involves 10 assemblies, three of which are already installed.
During the installation of the package, the contents of the registry should be automatically written, but not necessarily. If the feature cannot be enabled, the relevant registry values can be set in reference to the schedule. The registry location is hklm\components\deriveddata\components and the file is \windows\system32\config\components.
It is important to note that, typically, hklm\components does not load and needs to be loaded for subsequent operations.
7. Enable function
Enable-windowsoptionalfeature-online-featurename file-services
Enable-windowsoptionalfeature-online-featurename Corefileserver
Enable-windowsoptionalfeature-online-featurename Dedup-core
8. Verification
If the installation completes successfully, the following command can be run.
To view the commands for data deduplication: Get-command dedup
Enable data deduplication on disk: Enable-dedupvolume T:
Scan the disk to calculate the status after Deduplication: Update-dedupstatus T:
Returns the status after data deduplication: Get-dedupstatus
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Installing Dedup on Win8.1 (cont.)