Solved

USMT Restore Task Sequence failing with error code 0xC0000135

Posted on 2016-07-14
1
208 Views
Last Modified: 2016-07-18
Hello Experts-Exchange,

I've been tasked with testing USMT at the company I work at and I have created two seemingly simple task sequences to capture a user state to a state migration point and then restore it to a different computer. The two task sequences are really straightforward, as you can see:
USMT.jpg
I created a computer association between two lab machines and then proceeded with testing the task sequences. The capture went through without error and I can see the folder with the USMT.mig file that was created on the state migration point. However, when I run the restore task sequence, it fails every time during the Restore User State step. Here is what shows up in the smsts.log file:

PreLonghorn USMT returned error (0xc0000135). Look USMT log file loadstate.log for detail error message.      OSDUSMT      7/14/2016 9:35:55 AM      4484 (0x1184)
Invoking ReleaseSource on USMTPackagePath C:\_SMSTaskSequence\Packages\CDP00001      OSDUSMT      7/14/2016 9:35:55 AM      4484 (0x1184)
ReleaseSource() for C:\_SMSTaskSequence\Packages\CDP00001.      OSDUSMT      7/14/2016 9:35:55 AM      4484 (0x1184)
reference count 1 for the source C:\_SMSTaskSequence\Packages\CDP00001 before releasing      OSDUSMT      7/14/2016 9:35:55 AM      4484 (0x1184)
Released the resolved source C:\_SMSTaskSequence\Packages\CDP00001      OSDUSMT      7/14/2016 9:35:55 AM      4484 (0x1184)
OSDMigrateUserState finished: 0xc0000135      OSDUSMT      7/14/2016 9:35:55 AM      4484 (0x1184)
Process completed with exit code 3221225781      TSManager      7/14/2016 9:35:55 AM      132 (0x0084)
!--------------------------------------------------------------------------------------------!      TSManager      7/14/2016 9:35:55 AM      132 (0x0084)
Failed to run the action: Restore User State.
Unknown error (Error: C0000135; Source: Unknown)      TSManager      7/14/2016 9:35:55 AM      132 (0x0084)
Set authenticator in transport      TSManager      7/14/2016 9:35:55 AM      132 (0x0084)
Set a global environment variable _SMSTSLastActionRetCode=-1073741515      TSManager      7/14/2016 9:35:55 AM      132 (0x0084)
Set a global environment variable _SMSTSLastActionSucceeded=false      TSManager      7/14/2016 9:35:55 AM      132 (0x0084)
Clear local default environment      TSManager      7/14/2016 9:35:55 AM      132 (0x0084)
Failed to run the action: Restore User State. Execution has been aborted      TSManager      7/14/2016 9:35:55 AM      132 (0x0084)
Set authenticator in transport      TSManager      7/14/2016 9:35:55 AM      132 (0x0084)
Failed to run the last action: Restore User State. Execution of task sequence failed.
Unknown error (Error: C0000135; Source: Unknown)      TSManager      7/14/2016 9:35:55 AM      132 (0x0084)
Set authenticator in transport      TSManager      7/14/2016 9:35:55 AM      132 (0x0084)
Task Sequence Engine failed! Code: enExecutionFail      TSManager      7/14/2016 9:35:57 AM      132 (0x0084)
****************************************************************************      TSManager      7/14/2016 9:35:57 AM      132 (0x0084)
Task sequence execution failed with error code 80004005      TSManager      7/14/2016 9:35:57 AM      132 (0x0084)


I've looked for the LoadState.log file but it does not exist. The only relevant information I found on this problem was from (Technet but the answer provided there did not help me.

Thanks in advance!
0
Comment
Question by:IC-ADMIN
1 Comment
 

Accepted Solution

by:
IC-ADMIN earned 0 total points
Comment Utility
I ended up figuring it out on my own. It turns out that the Loadstate.exe command line was failing when ran manually with the following message (which I was not seeing in the logs or otherwise):

"The program can’t start because DismApi.DLL is missing from your computer. Try reinstalling the program to fix this problem."

Turns out this is a documented issue at Microsoft:

https://support.microsoft.com/en-us/kb/3084782

I followed this resolution to update my USMT package in SCCM and the issue was resolved.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Email signature management is something that is often overlooked in many organizations or is simply not implemented effectively. Let's take a look at what methods are available for managing this important piece of corporate branding.
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now