If you upgraded your ConfigMgr 2012 R2 SP1 server to Windows 10 ADK, most likely to start testing Windows 10 deployments, you probably learned that some of the existing Windows 7 deployment no longer works. More specifically, it’s the computer refresh and computer replace scenarios that fails because an issue with loadstate on Windows 7 machines. The simple root cause is that loadstate requires additional files when run on Windows 7, files that are not in the default USMT package.
Disclaimer: This is not an official fix, and is probably not supported. This fix only works.
Update 2015-09-01: The official fix is here: http://support.microsoft.com/en-us/kb/3084782 (also about copy the files, but not all setup files).
Computer Refresh or Computer Replace to Windows 7 fails with the following error:
The program can’t start because DismApi.DLL is missing from your computer. Try reinstalling the program to fix this problem.
The fix is easy, simply add the missing files to the USMT package in ConfigMgr 2012 R2 SP1. Either create a new package or add the missing files to the existing package.
If you want to update the default package, for x64 deployments, copy the entire contents of C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Setup\amd64\Sources to C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\User State Migration Tool\amd64 (Replace any existing files) Then update the package. Done!
Happy Deployment, Johan