Partager via


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

Comments

  • Anonymous
    April 12, 2012
    Hi, if we specify : %_SMSTSUserStatePath% ,will it cause any issue? instead of %systemroot%userstate, can I use it?