Enable Hard Links with SCCM
Capture User Files and Settings
Add the following lines to the Task Sequence under Capture User Files and Settings (this is not needed if using MDT…):
Set Task Sequence Variable
Type: Set Task Sequence Variable
Name: Enable Hard Links Capture Command
Task Sequence Variable: OSDMigrateAdditionalCaptureOptions
Value: /nocompress /hardlink
Set Task Sequence Variable
Type: Set Task Sequence Variable
Name: Set Local State Location
Task Sequence Variable: OSDStateStorePath
Value: %_SMSTSUserStatePath%
Then Run Capture User Files and Settings
Restore User Files and Settings
Add the following lines to the Task Sequence under Restore User Files and Settings (this is not needed if using MDT…):
Set Task Sequence Variable
Type: Set Task Sequence Variable
Name: Enable Hard Links Restore Command
Task Sequence Variable: OSDMigrateAdditionalRestoreOptions
Value: /nocompress /hardlink