Error when managing boot images in System Center Configuration Manager

Applies to: System Center Configuration Manager (current branch)Microsoft System Center 2012 R2 Configuration ManagerMicrosoft System Center 2012 Configuration Manager

 

Symptoms


In an environment that has Windows Assessment and Deployment Kit (ADK) installed and up-to-date on the server that hosts the SMS Provider, you can’t manage boot images by using System Center Configuration Manager. This includes the following actions:

  • Update boot images on distribution points
  • Import new boot images
  • Create new boot images by using the Microsoft Deployment Toolkit (MDT) wizard
  • Modify boot images, such as to add drivers

In this scenario, the following error is logged in the SMSProv.log file on the SMS Provider server:

When you manually run DISM.exe on the SMS Provider server, the following error is logged in the DISM.log file:

Note Using Process Monitor when you manually run DISM can’t identify which file or directory can't be found.

Cause


This issue occurs if the WIMMount service is corrupted, misconfigured, or missing on the SMS Provider server.

To verify, check the following registry entry on the server that hosts the SMS Provider:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WIMMount\ImagePath

The value of this entry should be the location of the Wimmount.sys file, which is under the installation directory of Windows ADK.

Note The server that hosts the SMS provider may not be the Central Administration Site (CAS) or primary site server. If there are multiple servers that host the SMS Provider, make sure that you check this registry entry on all SMS Provider servers.

To find the servers that host the SMS Provider at a site, follow these steps:

  1. In the Configuration Manager console, go to Administration > Overview > Site Configuration > Sites.
  2. Right-click the site, and then click Properties.
  3. On the General tab, find the servers that are listed under SMS Provider location.

Resolution


To fix the issue, follow these steps to reinstall the WIMMount service:

  1. On the server that hosts the SMS Provider, go to the location where Windows ADK is installed. For example, the default path of Windows ADK 10 is C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64.
  2. Go to the DISM folder, and then run the following command:

    WimMountAdkSetupAmd64.exe  /Install