Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Windows 7 deployment fails during a computer refresh or replacement


View products that this article applies to.

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.

↑ Back to the top


Cause

This problem occurs because of missing dependencies on the Loadstate.exe component on Windows 7-based computers.

↑ Back to the top


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

↑ Back to the top


Keywords: kbexpertiseadvanced, kbsurveynew, kbtshoot, kb

↑ Back to the top

Article Info
Article ID : 3084782
Revision : 1
Created on : 1/7/2017
Published on : 1/11/2016
Exists online : False
Views : 131