Параметр restorehealth не распознан в этом контексте windows server 2008

Используя DISM в командной строке для проверки хранилища компонентов Windows или других целей, некоторые пользователи могут столкнуться с ошибкой 87: «Неизвестный параметр» или «Параметр не распознан в этом контексте».

В этой инструкции подробно о причинах ошибки 87 в командной строке при использовании DISM в Windows 11, Windows 10 и 7 и о возможных способах её исправления.

Проверьте правильность ввода команды DISM и набор известных параметров

Самая распространенная причина ошибки 87, особенно если речь идёт не о старых ОС, а о Windows 11 и Windows 10 — синтаксические ошибки при вводе команды, либо особенности списка поддерживаемых параметров.

Ошибка 87 в командной строке при использовании DISM и синтаксических ошибках

Чаще всего это бывают следующие варианты ошибок:

  1. Отсутствие пробелов перед знаком «/» в указанных параметрах команды DISM.
  2. Неправильный порядок указания параметров (например, если изменить порядок параметров checkhealth или scanhealth и cleanup-image, вы получите указанную ошибку).
  3. Также русскоязычные пользователи, случается, путают латинские буквы C и S, U и Y.
  4. В некоторых случаях при вводе команд пользователь не учитывает, что список поддерживаемых параметров DISM отличается, в зависимости от того, запущена ли командная строка в работающей системе или в среде восстановления (или с загрузочной флешки). Более подробно на эту тему в инструкции, где рассмотрена именно такая ситуация: Неизвестный параметр Cleanup-Image при использовании DISM — причины и варианты решения.

Даже если вы копируете команду с какого-то сайта, следует учитывать, что ошибки могут быть и там — опечатки, копирование кода с ошибками, никто от этого не застрахован.

Версия DISM

Версии DISM и набор поддерживаемых команд отличаются. Не все команды, которые работают в DISM из Windows 11/10 будут работать в Windows 7 и 8.1. К примеру, если в современной ОС с DISM 10-й версии использовать команду

DISM /online /cleanup-image /checkhealth

она будет исправно работать, равно как и аналогичная по действию

DISM /online /cleanup-image /scanhealth

Если ту же команду (первую в списке) ввести в Windows 7, с DISM версии 6.1, результатом будет ошибка 87:

Ошибка 87 в DISM старой версии

Возможные варианты решения:

  • Не использовать неподдерживаемые команды, если они не критичны для получения нужного результата.
  • Установить последнюю версию DISM, это можно сделать даже в старой версии системы, что будет рассмотрено далее.

Установка последней версии DISM в Windows старых версий

При необходимости использовать последнюю версию DISM в предыдущей версии Windows, вы можете скачать и установить Windows ADK (Комплект средств для развертывания и оценки Windows) нужной версии (например, мы можем установить ADK для Windows 10 в Windows 7) и выбрать пункт «средства развертывания» при установке:

Установить Windows ADK и последнюю версию DISM

Установщики последних версий Windows ADK доступны на официальной странице https://learn.microsoft.com/en-us/windows-hardware/get-started/adk-install при этом следует учитывать:

  • Для установки последних версий требуется наличие .NET Framework 5 на компьютере.
  • Это онлайн-установщики и загрузка необходимых компонентов из РФ без VPN не работает.
  • Новая версия DISM не заменяет имеющуюся, а устанавливается отдельно, по умолчанию — в папке
    C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM

    и потребуется запускать её из этого расположения, либо добавлять в переменные среды.

Если ошибка сохраняется, можно учесть следующие нюансы и попробовать некоторые дополнительные варианты действий:

  1. Для работы некоторых параметров DISM, например, /spsuperseded требуется, чтобы служба «Установщик модулей Windows» была включена. Включить службу можно в Win+Rservices.msc. Находим «Установщик модулей Windows» в списке, дважды нажимаем по службе и устанавливаем тип запуска «Вручную» — значение по умолчанию для этой службы.
  2. Выполнить проверку целостности системных файлов с помощью команды sfc /scannow
  3. Если ранее ошибка не возникала, попробовать использовать точки восстановления системы.
  4. Если есть обновления Windows — попробуйте установить их, однажды в очередном обновлении Windows 10 ошибка 87 была вызвана проблемами в самом обновлении и уже в следующем она была исправлена.

Если проблема сохраняется, опишите в комментариях, при каких обстоятельствах она возникает, а также укажите версию Windows, DISM (отображается после запуска команды), какую именно команду вы пробуете ввести — я постараюсь помочь.


Рейтинг 4.99/75:

0 / 0 / 0

Регистрация: 26.02.2019

Сообщений: 4

Server 2008

26.02.2019, 12:43. Показов 13815. Ответов 7


Добрый день!
Друзья прошу помощи, уже всю ночь просидел и все безрезультатно.
В общем проблема такая: Есть железка обычный ATX, на нем стоит Win server 2008r2. Работает у нас уже 3-й год. Вчера уборщица выдернула из него кабель питания. А когда я подключи обратно начались проблемы, сначала начал ругаться что не крутится куллер ЦП, я заменил. После этого стал просто уходить в перезагрузку. ОС не успевает загрузиться, да даже бегущая полоска загрузки не появляется. Сразу перезагрузка. Я попробовал загрузиться в безопасный режим и увидел что перезагрузка происходит в момент когда на экране последняя строчка: classpnp.sys. Полез гуглить что это такое и наткнулся на ваш форум, перепробовал все что нашел и даже больше, но проблему так и не решил.
Что я уже попробовал:
1. Пробовал загрузиться всеми вариантами которые предлагает ОС при нажатии клавиши F8, ничего не помогло, но зато я узнал что если включать «протоколирование загрузки» или как-то так называется. Он не создает файлик в папке с Виндой.
2. Загрузился в среде восстановления и прогнал чекдиск /f /r — проверка заняла много времени, в отчете поврежденных секторов не было.
3. Там-же попробовал сделать /fixmbr и /fixboot — тоже не помогло
4. Там-же попробовал sfc /scannow для диска Д (он почему-то сдвинулся на 1 букву) – в ответ о написал что-то вроде того что не все восстановил и в файлике CBS.log будет указано. Но нет файлик еще 18 года.
5. Загрузился с лайф СД и прогнал проверку викторией, сразу поставив галочку на ремап. Виктория не нашла ни одного битого сектора.
6. Попробовал подсунуть ему файлик classpnp.sys от другого ПК – не помогло.
7. Попробовал переименовать classpnp.sys в classpnp.old, и при запуске в безопасном режиме он стал затыкаться на disk.sys. Я и его переименовал, он начал на другом файле останавливаться. В общем, так я переименовал штук 5, после чего он начал вместо безопасного режима грузить среду восстановления.
8. Сейчас Акронисом снимаю образ и попробую его восстановить без драйверов (там есть такая штука – перенос ОС на другое железо)
Перепробовал все что нашел на форуме и на просторах интернета, пока ничего не помогло.
Может кто-то сталкивался с подобным и подскажет в какую сторону копать?



0



96 / 17 / 8

Регистрация: 30.08.2018

Сообщений: 115

27.02.2019, 10:13

classpnp.sys , что то я уже вторую тему вижу с этим файлом… Может обновления какие поставились? удалить обновления с предпоследней перезагрузки через dism можно попробовать.
если через F8 отключить перезагрузку системы при сбое, вылетит ли синий экран?

Напишите конфигурацию ПК…

Добавлено через 17 минут

Сообщение от JohnS2

от другого ПК – не помогло

этот другой пк имеет такую же ОС?

Добавлено через 4 минуты
можно также попробовать снять все адаптеры, установленные на мать, кроме видео. в биосе отключите всё, что отключается (звук, сеть, усб (если клавиатура и мышь не усб) и т.д.)



1



162 / 74 / 23

Регистрация: 06.07.2017

Сообщений: 315

27.02.2019, 10:34

Сообщение от JohnS2

в ответ о написал что-то вроде того что не все восстановил и в файлике CBS.log будет указано.

Насколько я помню в системах Win RE sfc не пишет лог и он предупреждает об этом при запуске. Зато пишет DISM.
Если у вас есть дистрибутив 2008r2 на диске подключите диск, загрузитесь в среду восстановления и попробуйте:

Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:E:\Sources\install.wim:1 /limitaccess
Где в качестве соурса указать букву на которую подмаунтился ваш диск с дистрибом



1



0 / 0 / 0

Регистрация: 26.02.2019

Сообщений: 4

28.02.2019, 14:25

 [ТС]

Спасибо за ответы — но пока ничего не помогло:

Сообщение от upplink

если через F8 отключить перезагрузку системы при сбое, вылетит ли синий экран?

Да синий экран — фотку приложил.

Сообщение от upplink

Сообщение от JohnS2
от другого ПК – не помогло
этот другой пк имеет такую же ОС?

Другую — Win 7, но я вообще не особо рассчитвал на это.

Сообщение от upplink

Напишите конфигурацию ПК…

Отключил все что не нужно. Осталось на борту: CPU Core i3-2100, MB P8H61-M LE, RAM 12288Mb (DDR3 1333MHz), HDD WD 500Gb, БП VP-550

Сообщение от upplink

можно также попробовать снять все адаптеры, установленные на мать, кроме видео. в биосе отключите всё, что отключается (звук, сеть, усб (если клавиатура и мышь не усб) и т.д.)

Да отключил: Сетевую и USB — остального и так нет. Все так-же

Сообщение от kapitan_lyagysh

Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:E:\Sources\install.wim:1 /limitaccess
Где в качестве соурса указать букву на которую подмаунтился ваш диск с дистрибом

Пробовал загружаться и с диска и с встроенной среды восстановления везде на эту команду он реагировал ошибкой:
Ошибка:50. Средство Dism не поддерживает обслуживание среды предустановки Windows c использованием параметра /Online.

Еще пробовал восстановить с образа акрониса на новый диск (с переносом на новое железо) — и при безопасном режиме стал перезагружаться на строчке: hwpolicy.sys
+ пробовал ставить (и оригинал и копию акрониса) в другой системный блок — результат такой-же
Я дат думаю если на разном железе результат одинаковый то проблема в самой ОС.

И тогда мысль о том что обновления виноваты в этом звучит очень даже правдоподобно. Но я так и не понял как с помощью Dism удалить обновления.
Или может есть еще каие-то мысли?

Миниатюры

 



0



96 / 17 / 8

Регистрация: 30.08.2018

Сообщений: 115

01.03.2019, 11:45

Сообщение от JohnS2

Другую — Win 7, но я вообще не особо рассчитвал на это.

от такой же ОС найдите скопируйте, многим помогало

Добавлено через 37 секунд

Сообщение от JohnS2

и при безопасном режиме стал перезагружаться на строчке: hwpolicy.sys

наверно это уже потому что вы от семерки ей файл скормили

Добавлено через 11 минут

Сообщение от JohnS2

Или может есть еще каие-то мысли?

откат на точку восстановления на другую дату

Добавлено через 5 часов 35 минут
Зависает ноутбук на «Запуск Windows»
вот у человека таже ситуация, ему тоже я говорил файл заменить, помогло, правда он биос еще сбросил.



1



162 / 74 / 23

Регистрация: 06.07.2017

Сообщений: 315

01.03.2019, 13:50

Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:E:\Sources\install.wim:1 /limitaccess
Да так не заработает.
Попробуйте:
DISM /image:С:\ /cleanup-image /restorehealth /Source:wim:E:\Sources\install.wim:1 /limitaccess
Где буква С: системный раздел.

Добавлено через 19 минут

Сообщение от upplink

откат на точку восстановления на другую дату

В серверных редакциях нет функции восстановления системы) есть только возможность восстановления образа системы.

Добавлено через 47 секунд
Если такой образ имеется, то легче просто развернуть систему заново с этого образа.



1



0 / 0 / 0

Регистрация: 26.02.2019

Сообщений: 4

01.03.2019, 16:54

 [ТС]

Сообщение от upplink

от такой же ОС найдите скопируйте, многим помогало

Сделал — не помогло.
Потом заморочился и скопировал всю папку drivers — тоже безрезультатно.

Сообщение от upplink

откат на точку восстановления на другую дату

Да к сожалению точек восстановления нет

Сообщение от kapitan_lyagysh

Попробуйте:
DISM /image:С:\ /cleanup-image /restorehealth /Source:wim:E:\Sources\install.wim:1 /limitaccess
Где буква С: системный раздел.

Попробовал — он выдал ошибку:
Ошибка:87
Параметр restorehealth не распознан в этом контексте.
Дополнительные сведения см. в справке.
Параметр source не распознан в этом контексте.
Дополнительные сведения см. в справке.
Параметр limitaccess не распознан в этом контексте.
Дополнительные сведения см. в справке.

Погуглил возможно в 2008 нет такого параметра а вместо него используется ScanHealth, попробовал так:
DISM /image:С:\ /cleanup-image /ScanHealth
Ответил: Эта операция поддерживается только в подключенной к сети в настоящее время ОС.
Сейчас верну включу обратно лан и погляжу на результат.



0



0 / 0 / 0

Регистрация: 26.02.2019

Сообщений: 4

02.03.2019, 00:24

 [ТС]

Сообщение от JohnS2

Сообщение от upplink
от такой же ОС найдите скопируйте, многим помогало
Сделал — не помогло.
Потом заморочился и скопировал всю папку drivers — тоже безрезультатно.

В общем я сам себя обманул в первый раз использовал файлы не 100% одинаковой ОС. Поставил с диска отдельно Server 2008 R2 SP1 и взял его папку drivers.
С ней система загрузилась. Ну дальше я уже разберусь! Спасибо еще раз всем!



0



inter-admin

Эксперт

29715 / 6470 / 2152

Регистрация: 06.03.2009

Сообщений: 28,500

Блог

02.03.2019, 00:24

Помогаю со студенческими работами здесь

Win 98 vs Server 2008
Здравствуйте!

Такая проблема на серверe Win.2008 установлен специализированный софт, для которого на этом же серевере создана папка,…

Win server 2008 +Hyper V + AD
Доброго времени суток. Есть сервер — Intel 2 Xeon, Raid 1 на SAS дисках. основная система — windows server 2008 enterprise 64 bit. Сервер -…

Установка Win Server 2008
Доброго времени сутог ув. форумчане!
Не могу воткнуть даже триальную Windows Server 2008 Enterprise x64 Build 6001
Нэт завален постами…

Win 2008 Server ISO
Приветствую
Ребята, кто знает подскажите откуда скачать уже активированный и пропатченый 2008 Сервер, ( только не торрент ) ?
Буду…

Проблемы с Win Server 2008 R2
Всем доброго времени суток!

Сразу к делу… Имеется сервер с WinServ2008R2, роли — DC, DHCP, DNS и FileServer, буквально до вчерашнего…

Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:

8

Новые блоги и статьи

Все статьи  

Все блоги / 

Реализация DI в PHP

Jason-Webb 13.05.2025

Когда я начинал писать свой первый крупный PHP-проект, моя архитектура напоминала запутаный клубок спагетти. Классы создавали другие классы внутри себя, зависимости жостко прописывались в коде, а о. . .

Обработка изображений в реальном времени на C# с OpenCV

stackOverflow 13.05.2025

Объединение библиотеки компьютерного зрения OpenCV с современным языком программирования C# создаёт симбиоз, который открывает доступ к впечатляющему набору возможностей. Ключевое преимущество этого. . .

POCO, ACE, Loki и другие продвинутые C++ библиотеки

NullReferenced 13.05.2025

В C++ разработки существует такое обилие библиотек, что порой кажется, будто ты заблудился в дремучем лесу. И среди этого многообразия POCO (Portable Components) – как маяк для тех, кто ищет. . .

Паттерны проектирования GoF на C#

UnmanagedCoder 13.05.2025

Вы наверняка сталкивались с ситуациями, когда код разрастается до неприличных размеров, а его поддержка становится настоящим испытанием. Именно в такие моменты на помощь приходят паттерны Gang of. . .

Создаем CLI приложение на Python с Prompt Toolkit

py-thonny 13.05.2025

Современные командные интерфейсы давно перестали быть черно-белыми текстовыми программами, которые многие помнят по старым операционным системам. CLI сегодня – это мощные, интуитивные и даже. . .

Конвейеры ETL с Apache Airflow и Python

AI_Generated 13.05.2025

ETL-конвейеры – это набор процессов, отвечающих за извлечение данных из различных источников (Extract), их преобразование в нужный формат (Transform) и загрузку в целевое хранилище (Load). . . .

Выполнение асинхронных задач в Python с asyncio

py-thonny 12.05.2025

Современный мир программирования похож на оживлённый мегаполис – тысячи процессов одновременно требуют внимания, ресурсов и времени. В этих джунглях операций возникают ситуации, когда программа. . .

Работа с gRPC сервисами на C#

UnmanagedCoder 12.05.2025

gRPC (Google Remote Procedure Call) — открытый высокопроизводительный RPC-фреймворк, изначально разработанный компанией Google. Он отличается от традиционых REST-сервисов как минимум тем, что. . .

CQRS (Command Query Responsibility Segregation) на Java

Javaican 12.05.2025

CQRS — Command Query Responsibility Segregation, или разделение ответственности команд и запросов. Суть этого архитектурного паттерна проста: операции чтения данных (запросы) отделяются от операций. . .

Шаблоны и приёмы реализации DDD на C#

stackOverflow 12.05.2025

Когда я впервые погрузился в мир Domain-Driven Design, мне показалось, что это очередная модная методология, которая скоро канет в лету. Однако годы практики убедили меня в обратном. DDD — не просто. . .

Наверх

What is the DISM? Why you receive the DISM error 87 when running DISM tool in Command Line Windows? How to fix the error 87 DISM? This post shows how to fix the DISM error 87 Windows 10/8/7. After solving this CMD error 87, it is recommended to use MiniTool software to keep your data safe.

What Is DISM?

DISM, whose full name is the Deployment Image Service and Management, is a built-in tool of Windows, first introduced in Windows 7 and Windows Server R2. It can perform servicing tasks on a Windows installation image, on an online or offline image within a folder, or on WIM files.

The DISM tool can be available from the Command Line or the Windows PowerShell. DISM tool can be used to update files and fix problems when a Windows image becomes unserviceable. However, when running the DISM tool, you may receive the error code 87 or some other codes like DISM error 50, DISM error 2, DISM error 3, DISM error 1639 and so on, as shown in the following picture:

DISM error 87

These DISM error codes mean that you cannot proceed. Therefore, do you know what may cause the DISM error 87 or other DISM error codes?

What Causes DISM Error 87?

As a matter of fact, there are several reasons leading to the DISM error 87 Windows 10/8/7.

1. The command is not correct.

This is the common reason that leads to the DISM error 87 the parameter is incorrect. In most situations, users may forget to type a space before the slash when they type the command.

2. The command does not run into an elevated prompt.

The second cause for the DISM error 87 is that the command does not run into an elevated Command Prompt window. If users run this command in a regular Command Line window, they may receive the error 87 DISM.

3. The machine uses the wrong DISM version.

You may encounter the DISM error 87 if you use the wrong version of DISM when applying a Windows 10 image. Thus, to fix this problem, you need to use the correct DISM version.

Having known what may lead to the DISM restorehealth error 87, how to fix this DISM error?

How to Fix Dism Error 87?

  1. Use Correct DISM Command.
  2. Run this command using an elevated command prompt.
  3. Run Windows update.
  4. Run System File Checker.
  5. Use correct DISM version.
  6. Reinstall Windows.

6 Solutions to DISM Error 87 Windows 7/8/10

In the following section, we will list several solutions to DISM error 87. If you have the same trouble, try these solutions.

Solution 1. Use Correct DISM Command

As we have mentioned in the above section, the DISM error 87 may be caused by the incorrect command. For example, if you input the command without space before the slash like this DISM/online/cleanup-image/checkhealth, you will encounter the DISM/online/cleanup-image/restorehealth error 87.

So, in order to solve this DISM error code, please type the correct command. Please add the space before the slash, like these:

  • DISM /Online /Cleanup-image /Scanhealth
  • DISM /Online /Cleanup-image /Restorehealth

After that, you can check whether you still encounter the DISM error 87.

See what you can do if DISM /Online /Cleanup-image /Restorehealth is stuck.

Solution 2. Run This Command Using an Elevated Command Prompt

Some people say that they encounter the DISM error 87 when they do not run Command Prompt as administrator.

So in order to solve the error 87 DISM Windows 10, try to run Command Prompt as administrator.

Step 1: Type command prompt in the search box of Windows 10 and choose the best matched one.

Step 2: Right-click it to choose Run as administrator to continue.

You can also refer to the post Command Prompt Windows 10: Tell Your Windows to Take Actions to know more ways to run Command Prompt as administrator.

After running Command Prompt as administrator, type the command to continue and check whether the issue DISM error 87 is solved.

Solution 3. Run Windows Update

The DISM restorehealth error 87 may be caused by the pending Windows update. So in order to solve this error 87 DISM, you need to install all pending updates.

Now, here is the tutorial.

Step 1: Open Windows Update

  1. Press Windows and I keys together to open Settings.
  2. In the pop-up window, choose Update & Security to continue.

Step 2: Check for updates

  1. In the pop-up window, go to Windows Update tab.
  2. Then choose Check for Updates to continue.

choose Check for updates

Tip: During the Windows Update process, you may need to restart your computer.

When the process is finished, you can run Command Prompt as administrator and input the command again to check whether the error 87 DISM is solved.

Solution 4. Run System File Checker

If there are corrupted system files on your computer, you may also encounter the error 87 DISM Windows 10/8/7. Thus, to fix this problem, you need to check and repair the corrupted system files firstly.

Hence, the Windows built-in tool System File Checker is a good choice to repair the corrupted system files.

Now, here is the tutorial on how to fix the corrupted system files so as to fix the DISM error 87 Windows 7/8/10.

Step 1: Open Command Prompt

  1. Type command prompt in the search box of Windows 10 and choose the best matched one.
  2. Right-click it to choose Run as administrator to continue.

Step 2: Type the command to continue

  1. In the pop-up window, type the command sfc /scannow and hit Enter to continue.
  2. Please do not close the command line windows until you see the message verification 100% completed.

type the command

When the process is finished, you will successfully repair the corrupted system files if there exists. Then open Command Prompt and run as administrator, type the command again, and check whether the DISM error 87 is solved.

If this sfc command does not work, you can refer to the post Quickly Fix – SFC Scannow Not Working (Focus on 2 Cases) to look for solutions.

Note: In addition to checking and repairing corrupted system files, you can also check whether there are bad sectors on hard drive and repair them.

Solution 5. Use the Correct DISM Version

Here, we will walk you through the fifth solution to fix the DISM error 87 Windows 10. If you are a Windows user, you need to run the Windows 10 version of DISM because this version requires the Wofadk.sys filter driver.

Note: The Wofadk.sys filter is contained in the Windows 10 Assessment and Deployment Kit. The driver must be installed and configured with Windows 10 DISM when the command runs on an earlier version of Windows host or Windows Preinstallation Environment.

So, in order to solve DISM error 87 Windows 10, you need to use the Windows 10 Version of DISM with the wofadk.sys filter driver. For more detailed information, you can see the DISM Supported Platforms and Install Windows 10 using a Previous version of Windows PE.

After that, you can reboot your computer and run Command Prompt as administrator again, then type the command to check whether the DISM error 87 Windows 10 is solved.

Solution 6. Reinstall Windows

Now, we will show you the last solution to DISM error 87. If none of the above methods works, there is no other choice for you except reinstalling Windows. Hence, you can reinstall the operating system to fix the DISM error 87and other system problems.

But one important thing is that reinstalling the operating system will lead to data loss. So before continuing, please back up all important files firstly.

After ensuring data safe, you can continue to reinstall the operating system.

I encountered the DISM error 87 when running DISM, but I successfully fixed this DISM error code after I read this post. Click to tweet

What to Do After Solving DISM Error 87?

After you have fixed the DISM restorehealth error 87, what can you do?

It is strongly recommended to create a system image after fixing this issue. In this way, you can restore your computer to the normal state if you encounter the error 87 DISM again in later.

In addition, if you encounter some other OS problems during the using process, you can also restore your computer to a previous state with the system image created before.

Thus, do you know how to back up computer or create system image easily? To easily keep data safe, MiniTool ShadowMaker would be a good choice.

MiniTool ShadowMaker is a piece of professional Windows backup software which is specializing in backing up disks, partitions, files, folders and the operating system.

Besides backup feature, it is also a clone tool which can clone OS from HDD to SSD without data loss.

So, with so many features, download MiniTool ShadowMaker Trial from the following button immediately or choose to purchase an advanced edition.

MiniTool ShadowMaker TrialClick to Download100%Clean & Safe

Now, we will show you how to back up computer with the step-by-step guide.

Step 1: Launch MiniTool ShadowMaker

  1. Download MiniTool ShadowMaker and install it on your computer.
  2. Launch it.
  3. Click Keep Trial to continue.

Step 2: Select the backup source

  1. MiniTool ShadowMaker chooses the operating system as the backup source by default. So, there is no need for you to choose it again.
  2. However, if you want to select a backup source by yourself. Please go to the Backup page, click the Source module, and choose Disk and Partitions to select the system disk to continue. (If you want to back up files, choose Folders and Files.)

choose Disk and Partitions

Step 3: Select the backup destination

  1. After returning to the backup page, please click the DESTINATION module to choose a backup destination.
  2. Here are four available paths which are User, Computer, Libraries, and Shared. It is suggested to save the backup images on an external hard drive. So, click Computer, choose an external hard drive, and click OK to continue.

choose backup destination

Here are three points you should pay attention to.

  • MiniTool ShadowMaker enables you to create a regular backup. Just go to Options > Schedule Settings.
  • MiniTool ShadowMaker provides three different backup schemes. Go to Options > Scheme Settings to change.
  • You can also set some advanced backup parameters during the backup process, such as encrypting backup files, etc.

Step 4: Start to backup

  1. After selecting the backup source and destination, click Back Up Now to perform the backup task immediately.
  2. Or click Back Up Later to postpone the backup task and restart it on the Manage page.

click Back up Now to continue

When all steps have been finished, you have successfully created a system image. With this system image, you can feel relax even though you encounter the DISM error 87 again or some other system problems because you can restore computer to a previous state.

MiniTool ShadowMaker TrialClick to Download100%Clean & Safe

MiniTool ShadowMaker is a powerful tool. With this software, I am assured as it can keep my computer and data safe.Click to tweet

Bottom Line

To sum up, this post has introduced what the DISM is and what may cause the DISM error 87. Apart from that, this post has walked through 6 solutions to DISM error 87 Windows 7/8/10.

If you have any better solution to error 87 Windows 10, you can share it on the comment zone. Or if you have any problem with this post or MiniTool ShadowMaker, please contact us via the email [email protected] and we will reply to you as soon as possible.

DISM Error 87 FAQ

How do I fix error 87 DISM?

  1. Use Correct DISM Command.
  2. Run this command using an elevated command prompt.
  3. Run Windows update.
  4. Run System File Checker.
  5. Use correct DISM version.
  6. Reinstall Windows.

What is the DISM?

DISM, also called Deployment Image Service and Management, is a Windows built-in tool that can be used to service and prepare Windows image including the online or offline image within a folder or WIM file. Its features include mounting and unmounting images, querying installed device drivers in an offline image and adding a device driver to an offline image.

What does dism online cleanup image RestoreHealth do?

Dism /Online /Cleanup-Image /RestoreHealth attempts to scan and repair corrupted system files that found on your computer.

How do I fix corrupted files on Windows 10?

  1. Type Command Prompt in the search box of Windows and choose the best matched one.
  2. Right-click it to choose Run as administrator.
  3. Type the command sfc /scannow and hit Enter to continue.
  4. Wait for the process to be finished.

Am I the only one whose DISM doesn’t work properly and getting DISM Error 87 (dism /online /cleanup-image /restorehealth error 87)? and how to Fix DISM error 87 easily and quickly? Now, for your confirmation, I want to tell you that you are not the only one whose DISM is getting error code 87 as from the last few days, most of the Windows 10 and Windows 7 & 8 users are getting trouble while using DISM and getting error 87 DISM. Now, you don’t need to worry anymore as I am going to guide you with the solutions by which you can fix this error instantly.

DISM stands for Deployment Image Service and Management Tool, which was first introduced to Windows 7. It is used to work or perform several tasks on the Windows installation image. It also includes features of mounting or unmounting images. Windows 10 offers many in-built features or tools and DISM is also one of them.

As you may know that DISM is a command-line tool which is mostly used for preparing windows image. Are you also using DISM? then you don’t need any more information about it. Now, if you are frustrated with the DISM Error 87, then after 5 minutes when this article finishes, you can solve your issue 100%, and its a bet. Now, before going to the solutions, let’s take a dig towards the basic information.

Skip to

What is DISM Error 87?

DISM error code 87 is seen by the windows 10 users and lower version aswell but mostly on windows 10 users, when they try to run DISM from an elevated command prompt. Now, if you are also one of those, then don’t be sad, as in the last section, I had a bet with you that I will provide you 100% working DISM error 87 solutions.

So, as you all know before going to the solutions, we should always research for the reasons, that’s why our computer or any device getting an error so, that we can take care in the future. Now, the reasons for this error 87 DISM are given in the next section.

Also Useful: How to Take a Screenshot On a Dell Laptop

What are the Reasons for DISM Error 87?

From the last few days, I got many queries about error code 87 DISM (mostly from Windows 10 Users) and after that, I researched for it and found many major reasons for it and I am going to share all those reasons with you.

So, now please pay attention as the reasons for DISM error 87 are listed below:

1. Check Your Command-Line

Are you new to DISM and didn’t know anything much about it? then maybe you are using some wrong inputs and it can be the main reason because of which you are getting DISM error 87. As it was space-sensitive and maybe you leave incorrect space before / symbol. To overcome this reason you don’t need to do anything big as you just have to read the command lines again, properly.

2. Windows 10 Bug

Are you a Windows 10 user? then the bug can be the main reason for occurring this error as many users disable the core updates of windows and this will lead to bugs and the conflicts and errors might take place.

3. Make Sure to Run Command in Elevated Prompt

Are you trying to run commands in regular command elevated prompt? then this might be the reason for this error code 87 DISM, as I earlier said that you have to use this in an elevated command prompt. So, try to change it if this is your reason.

4. Wrong Version of DISM

This is the major reason for DISM error 87, as might be Windows 10 images are using an older version.

Also Related: How to Fix Discord Awaiting Endpoint Connection Error

How to Fix DISM Error 87 in 2025?

Now, you are in the most important section of today’s section, so pay your full attention and follow the steps as guided.

Fixing DISM Error 87 is not a big deal as it is a temporary issue and you can fix it easily and quickly. This issue occurs because of your small mistakes and in the solutions list, I will cover all the mistakes and now, by following the steps given in the solutions, you can fix it in few minutes.

How to Fix DISM Error 87 in 2025?

The solutions for how to fix DISM error 87 are listed below:

1. Restart Your PC

The first solution that I will prefer is restarting your PC as most of the users marked this method more effective, as this will reduce the bugs and increase your PC speed and your PC starts working properly and might be your error code 87 in DISM gets fixed.

Note: Please keep in mind that before restarting, you should save your work.

Now, after restarting your PC, open the elevated command prompt again and check whether the issue is fixed or not. If not, follow other methods given below.

2. Use Correct Inputs (Spellings)

As I earlier said you that please check your spellings, as we all are humans and the mistakes are common so, before following other steps, first, read your command again and instead of running your command as

"DISM.exe/Online/Cleanup-image/Scanhealth

make use of space before «/» (Symbol) like :

DISM.exe /Online /Cleanup-image /OfZenandComputing

3. Make Sure to Use Elevated Command Prompt

Most of the users didn’t use the Elevated Command prompt and if you are also one of those then follow the steps given below and try to launch commands as guided:

  • Open the Run dialog box by using a shortcut key «Windows Key + R».
    press-windows-key-R

  • Now, you will see a blank space and you have to type «cmd» and after that press «Shift + Ctrl + Enter».
    type-cmd

  • After that, the elevated command prompt gets open, and type your commands there.
    command-prompt-1

Note: You might have to grant permissions to administrative privileges.

4. Update your Windows

If the above steps didn’t work for you then try to update your windows, as many of the windows 10 users disables the automatic updates and in this way, their pc will lead to many errors and issues. Now, follow the steps given below to check for updates:

After a successful update, Your PC will get restarted and after that, check whether the DISM error 87 still arises when you try to launch command on an elevated command prompt.

5. Use Windows 10 version of DISM

This issue may be occurring because your image is using a lower version and to resolve this you have to start DISM with Wofadk.sys filter driver.

6. Performing a Repair Install

If none of the solutions given above helps you then the last method will help you 100%, but if you use this method then your data will be deleted to get DISM error 87 fixed.

  • First of all, Download the Windows 10 ISO file from this link.
  • Then, Save it on your PC in your folder.
  • After that, Mount the ISO file.
  • Now, you have to double click on the file setup.exe to start the repair – install from the mounted drive.

Also Check: How to Fix Twitch Error 5000: Content Not Available

Conclusion

DISM error 87 is a temporary error but at the time you see this error, I know how much it irritates and that’s why I posted this article.

I hope that all the steps and reasons are very helpful for you and you successfully fixed your DISM error 87, because of which you visited our site and I also hope that I won the bet.

Always Keep Smiling!

  • Hello, We are playing duo here. We love to share computing tips & tricks that make digital life SIMPLE.

    View all posts

DISM stands for Deployment Image Service and Management, and you can find DISM in Windows 7/8/10/11 and Windows Server R2 as a preinstalled tool to provide services related to the recovery and repair of Windows images.

You can access the DISM tool from Windows PowerShell or the Command Line of your computer. When a Windows image becomes inoperable, the DISM tool can update files and repair problems. 

DISM Error 87 Overview

But unfortunately, when running the DISM tool, sometimes you may receive the DISM error code 87: Option is Unknown. Let us start with the causes of DISM error 87 to find out what is causing this error in our system.

There are several possible causes of the DISM error 87 in Windows 11/10/8/7, here are listed some of them:

  • The command or the parameters that you have given is incorrect.
  • Unsupported command on Elevated Command Prompt.
  • Inappropriate DISM version.
  • When a service was required, your system was unable to start it. As an example, consider a network connection failure.
  • Failure in Windows Update.

In most cases, the user shall immediately have to repair or update Windows and download the required files. However, it is an open invitation to data loss during the process. 

Relax. Don’t panic! We have got your back. All of your questions will be answered in this tutorial. The following section is the perfect solution to save your data. Here’s how to fix the DISM error 87 option is an unknown issue, and recover your lost data.

Recover Lost Data Before Repair Windows 11/10

It is always recommended that you recover your data before beginning the Windows repair. Your system is at high risk of accidental data loss during the repair. So, to be safe, back up all important files before proceeding.

Now comes the question of how to back up your data and which tool to use. EaseUS Data Recovery Wizard is the best tool you might use when looking for a data recovery tool. 

Here are a few situations that can require you to use a data recovery app:

  • Lost data due to accidental deletion
  • Storage drive damaged
  • Accidentally formatted a drive or partition
  • Data corrupted due to errors 

With its three-step process, you can recover your data quickly and efficiently. The best part is that EaseUS Data Recovery Wizard does not need prior technical or computer knowledge. 

The app even lets you recover data from deleted, hidden, lost or RAW partitions (fix raw partition without losing data). You can also get your data back from unbootable or crashed systems.

Moreover, the software only takes a few minutes to download and will begin scanning your computer with a single click. It supports almost all document formats and can also be used to store images, videos, audio, and other media. Its compatibility with all versions of the Microsoft Windows operating system sets it apart.

Follow the steps below and recover your data using EaseUS Data Recovery Wizard:

Step 1. Run EaseUS Data Recovery Wizard. Choose the drive where you lost files and start scanning by clicking «Search for Lost Data». This software allows you to recover lost data from all devices, including HDD, SSD, USB drive, SD card, pen drive, camera, etc.

select a location to scan

Step 2. Browse the full scan results. You can choose the file type you need by clicking on the file type filter. EaseUS data recovery software supports 1000+ file types like photos, videos, documents, emails, audio files, and many more. 

Choose files to recover

Step 3. Select the files you want to preview. Click «Recover» and set a storage location or Cloud drive to save the recovered data. 

Recover lost data

Now that we have completed the most challenging yet crucial part of recovering our data towards fixing the DISM error 87, proceedings further in this tutorial are safe.

administrative command prompt

Let us look at five effective ways to fix the DISM error 87 — the DISM error 87 option is unknown.

You can also follow the detailed video tutorial to walk you through the process of resolving DISM error 87. Remember to check the key points below:

  • 00:14 Use elevated command prompt
  • 01:10 Use correct spacing
  • 02:38 Reset Windows 10
  • 02:49 Using Recovery

Quick Navigation:

  • Fix 1. Type in Correct DISM Command-Line
  • Fix 2. Run SFC or SCANNOW Tool
  • Fix 3. Run CHKDSK Tool
  • Fix4. Run Windows Update
  • Fix 5. Restore/Re-install Windows

Fix 1. Type in Correct DISM Command-Line

Writing an incorrect DISM command is one of the silliest mistakes. So, whenever you encounter DISM error 87, double-check your command.

Here are a few things to look out for while checking the commands:

  • Spelling mistakes.
  • There must be a space before every slash in the command.
  • Use of correct format and sequence.

Example:

DISM/Online\Clenup-image/Scanhealth (incorrect)

DISM /online /cleanup-image /scanhealth (correct)

After making the required changes, check whether your issue has been resolved. If you still encounter DISM Error 87, try the next solution in the list.

Fix 2. Run SFC or SCANNOW Tool

There is a high chance that you are facing DISM error 87 due to corrupted system files in your computer. The goal is to scan and repair all corrupted system files leading to the error. 

Let’s look at how to repair the error caused by corrupted system files using a built-in tool of Windows, System File Checker, or SFC.

Step 1. Search for the command prompt in the search box of Windows 10.

Step 2. Select the Run-as-administer option to proceed.

Step 3. In the command prompt, type SFC/scannow and press the Enter button to continue.

type sfc

Step 4. Wait for the verification to be completed 100%. 

Note: Do not close the command prompt window before the 100% verification completion.

This will repair all the corrupted system files that exist on your computer.

Now, check the command prompt to see if the issue of DISM error 87 has been resolved. Try the next fix if this doesn’t work for you.

Fix 3. Run CHKDSK Tool

If you are reading this fix, we assume your issue has still not been resolved. Hopefully, CHKDSK will do the work for you. You may be encountering DISM error 87 due to some disk-related issues. 

The CHKDSK tool checks if the data in the disks are in a safe state or not. Here you will see how to use the CHKDSK tool to resolve your problem. The steps involved in this are as follows:

Step 1. Run the command prompt as administrator.

Step 2. Type the «chkdsk C:/r» command in the command prompt window and press «Enter.»

type chkdsk

Step 3. It will ask, «Would you like to schedule the volume to get checked the next time the system restarts?» Type «Y,» and the process begins.

This will help you to check all the issues related to the drive and fix them. Rerun the command prompt and check whether the DISM error 87 has gone.

If the error is still there, the reason behind it must be covered in the upcoming fix provided in this tutorial.

Fix4. Run Windows Update

DISM may also generate error 87 If your Windows is not up to date. In this case, you must check for the latest updates and download and install them. Follow the steps given below to update Windows in your system:

Step 1. Open Settings by pressing Windows, and I key.

Step 2. Click on the Update & Security option to continue.

Step 3. Open the Windows Update tab and click on Check for Updates button.

open windows update

Step 4. If your Windows is up-to-date, it will show that the latest version of Windows is already installed. If not, click on the download and install button.

Step 5. Your system will demand a Restart after it is updated successfully. Restart your computer.

After the system is updated, run the Command Prompt as administrator and check for the DISM error 87. If the system updates were the reason for the mistake, it would vanish. 

However, there are chances that you are still facing the problem of DISM error. Next, we will see one more solution to resolve this issue.

Fix 5. Restore/Re-install Windows

The last solution in this tutorial is to re-install Windows. Since no solution helped resolve the DISM error 87, we have the last option to re-install Windows in our system. Take a look at the steps mentioned below to re-install Windows in your system:

Step 1. Re-installing windows in your system can cause data loss. So, it is advised to back up all the files before proceeding further.

Step 2. After taking data backup, go to the start menu > Settings > Update & Security > Recovery.

open start menu

Step 3. Under the «Reset this PC» tab, click on Get started.

Step 4. In Choose an option window, choose to Keep my files to ensure no data loss.

Step 5. Click Next.

Step 6. Click the Reset button in Ready to reset this PC window.

Step 7: Now, restart your computer. Your windows have been re-installed. 

Now we need to open the command line in administrative mode and check whether the DISM error 87 has gone. We hope this solution was helpful to you.

Summary

In this tutorial, we have discussed DISM and the reasons behind DISM error 87 in Windows 11/10/7. Followed by that, we have also discussed five solutions to the DISM error 87 without losing the computer files and data. 

EaseUS Data Recovery Wizard has made the process even more smooth and stress-free by helping us with its powerful and reliable data recovery tools. You can also refer to the video tutorial mentioned in the article for better clarification of each solution. 

DISM Error 87 FAQs

The solutions provided in the article are beginner friendly and have all the steps mentioned in detail, along with pictures for your reference. You will surely get your answer in the FAQs section below if you have any questions.

1. What is error 87: The parameter is incorrect?

The parameter is incorrect issue can appear due to corrupted system files or when required services are not running. Try installing the latest drivers manually on your computer to solve this issue. But if you still encounter this error, run the CHKDSK tool to fix the error.

2. How do I fix corrupted DISM?

Corrupted DISM will occur when the system files in the computer system are corrupted. You can fix corrupted DISM by scanning all the files in the computer and repairing the corrupted ones. For a detailed solution, run SFC or SCANNOW tool to fix the corrupted DISM.

3. How do I fix the DISM Online cleanup image RestoreHealth?

Follow the steps to fix the DISM Online cleanup image RestoreHealth:

Step 1. Run Command prompt as administrator.

Step 2. Type «sfc /scannow» and press Enter.

Step 3. Type «Dism.exe /online /cleanup-image /StartComponentcleanup» and press Enter.

Step 4. Type «Dism.exe /online /cleanup-image /CheckHealth» and press Enter.

Step 5. Type «Dism.exe /online /cleanup-image /ScanHealth» and press Enter.

Step 6. Type «Dism.exe /online /cleanup-image /RestoreHealth» and press Enter again.

The DISM online cleanup image issue should be resolved.

4. How do I fix error 87 DISM on Windows 7?

There are many ways you can fix error 87 DISM on Windows 7. Start by checking if the command is spelled correctly and doesn’t include any mistakes. Then you can run the SFC, SCANNOW, and CHKDSK tools to fix the error. 

You can also run any available Windows updates and try to restore/re-install Windows to see if this fixes the error. 

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как изменить доменный пароль в windows 10
  • Какая клавиша в windows зарезервирована для вызова справочной информации по теме активного окна
  • Linux server под windows
  • Как переустановить программу на ноутбуке windows 10
  • Heif codec windows 10