Solved

USMT Restore Task Sequence failing with error code 0xC0000135

Posted on 2016-07-14
1
254 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
ID: 41717754
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 spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. 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.

929 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

10 Experts available now in Live!

Get 1:1 Help Now