Windows 7 deployment fails during a computer refresh or replacement

Symptoms
Windows 7 deployment fails when you are refreshing or replacing a computer. In this situation, you may receive the following error message:

The program can’t start because DismApi.DLL is missing from your computer. Try reinstalling the program to fix this problem.
Cause
This problem occurs because of missing dependencies on the Loadstate.exe component on Windows 7-based computers.
Resolution
To fix this issue, use one of the following methods.

Method 1

When you install the Windows Assessment and Deployment Kit (Windows ADK), select the Deployment Tools feature in addition to the Windows User State Migration Tool (USMT). Then, run Scanstate.exe from a deployment tools command prompt.

Method 2

If you can't install the Windows ADK on the system that's running Loadstate, install the Windows 10 ADK on another system (and make sure that you also install the Deployment Tools feature). Then, follow these steps:

  1. Locate the appropriate architecture folder from the following paths on the system that has the ADK installed:

    • For x64 computers

      C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM

      C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\x86\DISM
    • For x32 computers

      C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM

      C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\x86\DISM
  2. Copy the following binaries to the matching architecture folder from step 1 that contains Loadstate.exe:

    • dismapi.dll
    • api-ms-win-downlevel-advapi32-l1-1-1.dll
    • api-ms-win-downlevel-kernel32-l1-1-0.dll
    • api-ms-win-downlevel-kernel32-l2-1-0.dll
    • api-ms-win-downlevel-ole32-l1-1-1.dll
    • api-ms-win-downlevel-user32-l1-1-1.dll
    • api-ms-win-downlevel-version-l1-1-0.dll
  3. If you're using System Center Configuration Manager, update the USMT package on the distribution points that contain the USMT package.
For example, if you want to update the package for x64 deployments, copy the files in step 2 from the following folder:

C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Setup\amd64\Sources
Then, paste the files to the following folder:
C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\User State MigrationTool\amd64
Properties

Article ID: 3084782 - Last Review: 01/11/2016 02:35:00 - Revision: 3.0

Windows 7 Enterprise, Windows 7 Professional, Windows 7 Ultimate

  • kbexpertiseadvanced kbsurveynew kbtshoot KB3084782
Feedback