Failures with the Capture User State task or Task Sequence when using System Center 2012 Configuration Manager

Article ID: 2713469 - View products that this article applies to.
Expand all | Collapse all

Symptoms

When performing hard-link migrations in System Center 2012 Configuration Manager, the User State Migration Toolkit (USMT) state store becomes much bigger than anticipated and potentially causes disk space problems. This also potentially causes the Capture User State task and Task Sequence to fail.

Cause

The Capture State task of System Center 2012 Configuration Manager has the ability to set the USMT option of /efs to either skip or copyraw via the option "Skip Files that use the Encrypting File System (EFS)". However there is no option to set it to hardlink.  Without the ability to change the efs option to hardlink a hard-link to the EFS file is not created and instead a full copy of the file is created.

Resolution

Manually run USMT's scanstate.exe via a Run Command Line task which points to the USMT 4 package and provides a customized command line. An example command line using Task Sequence variables which performs a hard-link migration with the efs option set to hardlink would be:

.\%PROCESSOR_ARCHITECTURE%\scanstate.exe %OSDStateStorePath% /o /localonly /c /efs:hardlink /v:5 /l:%_SMSTSLogPath%\scanstate.log /progress:%_SMSTSLogPath%\scanstateprogress.log /i:.\%PROCESSOR_ARCHITECTURE%\migdocs.xml /i:.\%PROCESSOR_ARCHITECTURE%\migapp.xml /hardlink /nocompress %OSDMigrateAdditionalCaptureOptions%

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2713469 - Last Review: July 18, 2012 - Revision: 3.0
Applies to
  • Microsoft System Center 2012 Configuration Manager
Keywords: 
kbtshoot KB2713469

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com