Configuration Manager task sequence doesn't continue after in-place upgrade from Window 7 or 8.1 to Windows 10

Attiecas uz: System Center Configuration Manager (current branch - version 1806)System Center Configuration Manager (current branch - version 1802)System Center Configuration Manager (current branch - version 1710)

Symptoms


You run the Windows 10 in-place upgrade task sequence in Configuration Manager to upgrade the operating system on the computer. If you upgrade the OS from Windows 7 or Windows 8.1 to Windows 10, the task sequence doesn't continue after the in-place upgrade completes. Additionally, when you examine the smsts.log file, you find the following entries logged:

Cause


This issue can occur if Windows Management Framework (WMF) 5.1 was already installed on the OS (Windows 7 or Windows 8.1) when the in-place upgrade task sequence started.

WMF 5.1 installs a Windows 10 version of the WMIMigrationPlugin.dll file in the C:\Windows\System32\migration directory. This DLL is responsible for migrating the WMI repository during the in-place upgrade. However, the Windows 10 version of the WMIMigrationPlugin.dll file is incompatible with Windows 7 and Windows 8.1. Therefore, the migration of the WMI repository fails during the in-place upgrade. This results in the WMI repository becoming corrupted, and the task sequence can't continue in the new (Windows 10) OS.

Resolution


This issue is fixed by the latest Windows 7 cumulative update. If the latest Windows 7 cumulative update is installed after WMF 5.1 is installed, the cumulative update correctly replaces WMIMigrationPlugin.dll with a Windows 7-compatible version. However, if WMF 5.1 is installed after the last Windows 7 cumulative update is installed, the issue will still occur. The issue will then get corrected when the next Windows 7 cumulative update is installed.

For Windows 7 scenarios where WMF 5.1 was installed after the last cumulative update and for all Windows 8.1 scenarios, or just to make sure that a correct version of WMIMigrationPlugin.dll is installed before you run an in-place upgrade in Windows 7 or Windows 8.1, tasks can be added to the task sequence to remediate the issue.

A download of the exported task sequence that contains the steps that should be added to the in-place upgrade task sequence in Configuration Manager is available.

Download the WMF Fix Exported Task Sequence now

For information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to obtain Microsoft support files from online services

After the task sequence is downloaded, import the WMF Fix - Win7 x64 & Win8.1 x64 (1).zip file into your Configuration Manager environment. Copy the steps from the converted task sequence, and then paste the steps immediately above the Upgrade Operating System task in your in-place upgrade task sequence.

For more information about how to import task sequences, see the To import task sequences section of the Manage task sequences to automate tasks in Configuration Manager topic on the Microsoft Docs website.