Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
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.
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.
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.
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%
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.