大网数据广告活动
启动与系统组件

DISM command fails with error code 87

· 52CE 我爱测

Resolves an issue in which you can't apply a Windows 10 image.

This article provides a solution to the error 87 that occurs when you try to apply a Windows 10 image.

Applies to:   Windows 10 - all editions
Original KB number:   3082581

Symptoms

Consider the following scenario:

  • You have a Windows 10 image.
  • Windows has Compact OS compression enabled on some files.
  • You have an earlier version of DISM (that is, a version from Windows 8.1 or from an earlier version of Windows).
  • You try to apply the Windows 10 image by using the DISM /Apply-Image command.

In this scenario, the command fails with error code 87. Additionally, the DISM log file shows the following error message:

Error DISM DISM WIM Provider: PID=1804 [RestoreReparsePoint:(1332) -> ioctl: setting reparse point tag failed]

C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Runt0d283adf#\9766308db336f6018797df6128270717\System.Runtime.WindowsRuntime.ni.dll (HRESULT=0x80070057) - CWimManager::WimProviderMsgLogCallback

Cause

To apply a Windows 10 image, you must use the Windows 10 version of DISM. This version requires the Wofadk.sys filter driver.

Note: The Wofadk.sys filter driver is included in the Windows 10 Assessment and Deployment Kit (ADK). The driver must be installed and configured to be used with Window 10 DISM when the command runs on an earlier version of Windows host or Windows Preinstallation Environment (Windows PE).

Resolution

Use the Windows 10 version of DISM with Wofadk.sys filter driver. For more information, see DISM Supported Platforms and Copy DISM to Another Computer.

More information

For more information about Compact OS compression, see Compact OS, single-instancing, and image optimization. In that article, see the "To deploy Windows using a WIM file section for more information about how to deploy Windows by using a WIM file.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for deployment-related issues.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。