Hi all,
I have come across an issue with User State capture (and potentially state restore) in2 separate SCCM enviroments that were recently upgraded to
Version 1602.
User State Capture fails with the same error regardless of whether State Capture is using USMT 10 or 6.3, and in both online (OS) captures and offline (WinPE) captures. I have tried capturing from both Windows 7 and Windows 10 (Build 1511) computers and the
result is the same.
The User State Capture and Restore operations were working perfectly before the upgrade to SCCM Version 1602.
The relevant info extracted from SMSTS.log is shown below:
Start executing the command line: osdmigrateuserstate.exe /collect /continueOnError:%OSDMigrateContinueOnLockedFiles% /skipefs:%OSDMigrateSkipEncryptedFiles%TSManager15/04/2016 9:18:57 a.m.1420 (0x058C)
!--------------------------------------------------------------------------------------------!TSManager15/04/2016 9:18:57 a.m.1420 (0x058C)
Expand a string: WinPEandFullOSTSManager15/04/2016 9:18:57 a.m.1420 (0x058C)
Executing command line: osdmigrateuserstate.exe /collect /continueOnError:%OSDMigrateContinueOnLockedFiles% /skipefs:%OSDMigrateSkipEncryptedFiles%TSManager15/04/2016 9:18:57 a.m.1420 (0x058C)
==============================[ OSDMigrateUserState.exe ]==============================OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Command line: "osdmigrateuserstate.exe" /collect /continueOnError:true /skipefs:falseOSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Initializing from environment successfulOSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Trying to resolve package path for packageID - ACU00041OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
ResolveSource flags: 0x00000000OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
SMSTSPersistContent: . The content for package ACU00041 will be persistedOSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Package location: _SMSTSACU00041, \\WCM1.ClientDomain.co.nz\SMSPKGE$\ACU00041\OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
nPos != CCM::Utility::String::npos, HRESULT=80004005 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,249)OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Creating a connection to \\WCM1.ClientDomain.co.nz\SMSPKGE$\ACU00041\ with default accountOSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Connection request for "\\WCM1.ClientDomain.co.nz\SMSPKGE$\ACU00041"OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
No credentials available for connecting to "\\WCM1.ClientDomain.co.nz\SMSPKGE$\ACU00041". See whether the share has already been connected.OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Connecting to "\\WCM1.ClientDomain.co.nz\SMSPKGE$\ACU00041"OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Successfully connected to "\\WCM1.ClientDomain.co.nz\SMSPKGE$\ACU00041"OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
USMT package path = '\\WCM1.ClientDomain.co.nz\SMSPKGE$\ACU00041\'OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
WBEM_NO_ERROR == spEnum.Next(&spObject), HRESULT=87d00215 (e:\nts_sccm_release\sms\framework\core\ccmcore\util.cpp,1535)OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Not entries found by WMI query 'select Version from CIM_DataFile where Name = '\\\\WCM1.ClientDomain.co.nz\\SMSPKGE$\\ACU00041\\amd64\\scanstate.exe''OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
CcmGetFileVersion(sFile, version, versionArraySize), HRESULT=87d00215 (e:\nts_sccm_release\sms\client\osdeployment\osdusmt\userstateaction.cpp,166)OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Failed to retrieve the version of file '\\WCM1.ClientDomain.co.nz\SMSPKGE$\ACU00041\amd64\scanstate.exe'. Error code: 0x87d00215OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
VerifyUSMTBinaryVersionAndUpdateUSMTPath failed (0x87D00215).OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
VerifyUSMTBinaryVersionAndUpdateUSMTPath(sUsmtBinary, m_eUSMTVersion), HRESULT=87d00215 (e:\nts_sccm_release\sms\client\osdeployment\osdusmt\userstateaction.cpp,631)OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
UserStateMigrationAction::GetUSMTBinary failed (0x87D00215).OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
SetUSMTBinary(), HRESULT=87d00215 (e:\nts_sccm_release\sms\client\osdeployment\osdusmt\userstateaction.cpp,1128)OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Failed to initlialize, (0x87D00215)OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
usmAction.Init(::GetCommandLineW()), HRESULT=87d00215 (e:\nts_sccm_release\sms\client\osdeployment\osdusmt\main.cpp,203)OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Invoking ReleaseSource on USMTPackagePath \\WCM1.ClientDomain.co.nz\SMSPKGE$\ACU00041\OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
ReleaseSource() for \\WCM1.ClientDomain.co.nz\SMSPKGE$\ACU00041\.OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
reference count 1 for the source \\WCM1.ClientDomain.co.nz\SMSPKGE$\ACU00041\ before releasingOSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Released the resolved source \\WCM1.ClientDomain.co.nz\SMSPKGE$\ACU00041\OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
OSDMigrateUserState finished: 0x87d00215OSDUSMT15/04/2016 9:18:57 a.m.1940 (0x0794)
Process completed with exit code 2278556181
TSManager15/04/2016 9:18:57 a.m.1420 (0x058C)
!--------------------------------------------------------------------------------------------!TSManager15/04/2016 9:18:57 a.m.1420 (0x058C)
Could not find CCM install folder. Don't use ccmerrors.dllTSManager15/04/2016 9:18:57 a.m.1420 (0x058C)
Failed to run the action: Capture User State (Offline Hardlinks).
Unknown error (Error: 87D00215; Source: Unknown)TSManager15/04/2016 9:18:57 a.m.1420 (0x058C)
Environment for both sites:
- SCCM Site Type:Standalone SCCM Primary site (no CAS)
- SCCM Version: SCCM 2012 R2 SP1 upgraded to SCCM 1511, and then upgraded to SCCM 1602.
- WADK Version:WADK 10.0.26624 (*NOTE: This is not the latest 1511 version which has some issues according to MS)
- USMT version:USMT 10 (created from WADK 10.0.26624)
- SCCM DB:SQL 2012 and SQL 2014
- MDT version:MDT 2013 Update 2
- SCCM OSD Environment:MDT 2013 Update 2 is integrated into SCCM. All Task Sequences are MDT type Task Sequences.
The User State Capture failure occurs whether State Capture is attempted online (i.e. in OS), or offline (i.e. in WinPE)
What I have tried:
1.Recreate USMT 10 and 6.3 package and redistribute to DP's
2.Tried User State Capture in both enviornments from within the OS AND from WinPE. Both failed with the same error.
3.Tried User State Capture using all the following USMT versions USMT 10.1 (1511), USMT 10.0, USMT 6.3, USMT 6.2 and the error is exactly the same.
Not sure what the problem is and was wondering if anyone else has come across this problem? It's quite a problem becuase I can't roll back from the 1602 upgrade and I need User state Migration working for my clients OS Deployment process.
Thanks!