dism online cleanup image restorehealth ошибка 87

Более или менее продвинутые пользователи нередко пользуются командной строкой, ведь через неё можно влиять на большинство системных процессов. При использовании строки DISM, которая есть в седьмой и следующих версиях Windows, время от времени могут появляться сообщения об ошибке.

Это норма для любой программы, но наша задача — избавиться от неполадки, чтобы выполнить необходимую команду. Ошибка 87 DISM возникает по нескольким причинам, и в каждом случае есть свои пути её устранения.

Dism++

Иногда пользователи могут столкнуться с ошибкой 87 в строке DISM

Давайте выясним, при каких обстоятельствах обычно появляется такое сообщение и как избавиться от него без посторонней помощи.

С чем связана ошибка 87?

Как правило, она напрямую относится к любым действиям, выполняемым с директорией WinSxS. Если вдруг в Windows пропадёт любой системный файл, он тут же будет восстановлен рабочей копией из этой папки. То есть, WinSxS это очень важная папка с документами.

И вот ошибка 87 возникает в тот момент, когда пользователь пытается проделать какие-то операции с папкой через DISM. А теперь давайте конкретнее рассмотрим ситуации, когда возникает эта неполадка, чтобы в зависимости от них узнать способы избавления от неё.

Ошибка 87 при проверке целостности системных файлов

Время от времени Windows 7, 8, 8.1 и даже последняя версия начинает некорректно работать. Иногда компьютер внезапно перезагружается или попросту часто зависает. В такой ситуации обычно пользователям советуют не только проверить ПК на вирусы, но и выяснить, нет ли каких-либо повреждений в системных файлах.

Чтобы произвести такую проверку, используется командная строка, где вводится sfc /scannow. Если всё хорошо, то пользователь получает соответствующий текст. Однако в некоторых случаях вы получите сообщение о том, что система нашла повреждённые файлы, но ничего не может с ними сделать.

DISM скриншот

В этот момент в игру вступает DISM — следует открыть его от имени администратора и ввести такие команды:

  • DISM /Online /Cleanup-image /ScanHealth — если у вас седьмая версия Windows;
  • Та же команда + DISM.exe /Online /Cleanup-image /RestoreHealth — две команды для Windows 8, 10. Первая необходима для поиска повреждений, вторая команда запускает их исправление.

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

Как её исправить? Первое очень простое решение — проверить правильность ввода комбинации. Поскольку эта командная строка очень требовательна к каждому знаку, убедитесь, что ставите только один пробел перед каждым слешем.

Не помогло? Тогда вам следует скачать обновление под названием KB2966583 на сайте Майкрософт и установить его на своём компьютере.

После успешной установки вы сможете снова запустить командную строку DISM и выполнить восстановление целостности файлов Windows.

Ошибка 87 и попытки почистить директорию WinSxS

Иногда вышеупомянутую директорию, которая работает страховкой для всех самых важных файлов, пытаются уменьшить. Для чего? В большинстве случаев папка WinSxS занимает много места на диске — 5,7 и даже 8 и больше ГБ, что может не нравиться пользователям, особенно если свободной памяти и так не хватает.

Поэтому чтобы немного сэкономить место, можно удалить бэкап папки таким образом:

  • Открывается DISM.
  • Вводиться текст dism /online /cleanup-image /spsuperseded /hidesp.

Часто именно после этой команды выбивает ошибку 87 с таким текстом: «Параметр spsuperseded не распознан в этом контексте».

Что делать в таком случае? Проверьте работоспособность сервиса «Установщик модулей Windows». Если он нерабочий, установите его, запустите, и затем повторите вышеуказанные действия.

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

DISM скриншот

Теперь вы знаете, по каким причинам появляется ошибка 87 в командной строке Windows, и знаете, что делать для её исчезновения. Советуем быть аккуратными при пользовании подобными программами и внимательно следить за тем, в какие процессы вы вмешиваетесь, чтобы не навредить компьютеру.


How to Fix DISM Error 87 (dism /online /cleanup-image /restorehealth error 87)

Am I the only one who’s DISM doesn’t working 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.

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.

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.

How to Fix DISM Error 87 (2020)?

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 (2020)?

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

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

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:

  • Go to the start menu and type «Settings» and open it.go-to-PC-settings
  • Now, search for windows update and click on that tab.
  • After that, you will see the option «Check Updates’, click on it and check whether any update is available or not.check-for-windows-update
  • Now, if any update is available, update it as soon as possible.

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.

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.


dism /online /cleanup-image /restorehealth gives me an error 87.how to fix this?

#1 jeffhubert

jeffhubert

  •  Avatar image
  • Members
  • 56 posts
  • OFFLINE
  • Gender: Male
  • Location: Philippines
  • Local time: 10:11 AM

i just run (dism /online /cleanup-image /restorehealth) in cmd but this comes to me

Microsoft Windows [Version 6.1.7601]

Copyright © Microsoft Corporation. All rights reserved

C:Windowssystem32>dism /online /cleanup-image /restorehealth

Deployment Image Servicing and Management tool

Image Version : 6.1.7601.17514

The restorehealth option is not recognized in this context.

For more information, refer to the help.

The DISM log file can be found at C:WindowsLogsDISMdism.log

i already tried all caps lock but no luck. i tried this more than 10 times and it gives error 87..

how to fix this?

here is the log file

dism.log 311.21KB 41 downloads

  • Back to top’>Back to top of page buttonBack to top

BC AdBot (Login to Remove)

  • BleepingComputer.com
  • Register to remove ads

#2 dc3

  •  Avatar image
  • Members
  • 32,510 posts
  • OFFLINE
    • Gender: Male
    • Location: Sierra Foothills of Northern Ca.
    • Local time: 03:11 AM

    Why are you running the dism?

    Family and loved ones will always be a priority in my daily life. You never know when one will leave you.

    • Back to top’>Back to top of page buttonBack to top

    #3 jeffhubert

    jeffhubert

    • Topic Starter
    •  Avatar image
    • Members
    • 56 posts
    • OFFLINE
    • Gender: Male
    • Location: Philippines
    • Local time: 10:11 AM
    • Back to top’>Back to top of page buttonBack to top

    #4 dc3

  •  Avatar image
  • Members
  • 32,510 posts
  • OFFLINE
    • Gender: Male
    • Location: Sierra Foothills of Northern Ca.
    • Local time: 03:11 AM

    Yes, let’s do a repair installation.

    ImgBurn1_zps715cb1c2.png

    ImgBurn2_zpsaea72ba9.png

    imageburn11_zpse44f577b.png

    w71_zps6dbda47e.png

    w72_zps2a656a0c.png

    w73_zpsd5483f05.png

    w74_zps490f9a17.png

    w75_zps9941e858.png

    w76_zps3dd75d83.png

    w77_zpsd8be95eb.png

    w78_zpsd49257fb.png

    Family and loved ones will always be a priority in my daily life. You never know when one will leave you.

    • Back to top’>Back to top of page buttonBack to top

    #5 jeffhubert

    jeffhubert

    • Topic Starter
    •  Avatar image
    • Members
    • 56 posts
    • OFFLINE
    • Gender: Male
    • Location: Philippines
    • Local time: 10:11 AM

    i have done that without cd or dvd i have an option when booting up and perssing f8 then there are so many options i click the repair computer then windows files is loading then i tried startup repair after it finishes nad its restarts and it didnt fixed my problem. i tried using dism /online /cleanup-image /restorhealth in the command prompt in the system recovery options but it gives me an error 50.

    but i will try again the startup repair bkus my laptop has an build startup repair on boot time and pressing or tapping f8 so many times and theres an option repair computer.

    Edited by jeffhubert, 06 October 2013 — 10:45 PM.

    • Back to top’>Back to top of page buttonBack to top

    #6 jeffhubert

    jeffhubert

    • Topic Starter
    •  Avatar image
    • Members
    • 56 posts
    • OFFLINE
    • Gender: Male
    • Location: Philippines
    • Local time: 10:11 AM

    can repair install remove my all files,programs and games?

    • Back to top’>Back to top of page buttonBack to top

    #7 jeffhubert

    jeffhubert

    • Topic Starter
    •  Avatar image
    • Members
    • 56 posts
    • OFFLINE
    • Gender: Male
    • Location: Philippines
    • Local time: 10:11 AM

    i will do this later or soon..without the cd or dvd i have an option repair computer at boot time and press f8..what if did not fixed the problem?

    • Back to top’>Back to top of page buttonBack to top

    #8 dc3

  •  Avatar image
  • Members
  • 32,510 posts
  • OFFLINE
    • Gender: Male
    • Location: Sierra Foothills of Northern Ca.
    • Local time: 03:11 AM

    can repair install remove my all files,programs and games?

    The only time that I’ve heard of lost data was when one of our members lost a couple of files, but nothing like losing all your documents or pictures, etc.

    Family and loved ones will always be a priority in my daily life. You never know when one will leave you.

    • Back to top’>Back to top of page buttonBack to top

    #9 jeffhubert

    jeffhubert

    • Topic Starter
    •  Avatar image
    • Members
    • 56 posts
    • OFFLINE
    • Gender: Male
    • Location: Philippines
    • Local time: 10:11 AM

    mate i just tried again startup repair but after attempting repairs it just pops up that it cant be fixed..how can i fix my file?bkus i have so many corrupted files or windows files like .wmp,desktop.ini and pictures

    i did this first:

    then after scanning and attempting repairs this now pops out

    • Back to top’>Back to top of page buttonBack to top

    #10 dc3

  •  Avatar image
  • Members
  • 32,510 posts
  • OFFLINE
    • Gender: Male
    • Location: Sierra Foothills of Northern Ca.
    • Local time: 03:11 AM

    The first picture is of your Advanced Bot Options. This isn’t part of the repair installation, so it looks like you are not doing what I had requested.

    Please use the instructions I posted for the repair installation. One of the step includes the startup repair, let this do its thing and get on with the rest of the repair. This is the only thing you can do at this point short of doing a reinstall of the operating system, or use the system recovery. Either of these will erase all of your data.

    I leave this morning to take my wife to her physician for her bi-monthly treatment and will not be back until Wed. or Thrs.

    Family and loved ones will always be a priority in my daily life. You never know when one will leave you.

    • Back to top’>Back to top of page buttonBack to top


    DISM.exe /Online /Cleanup-Image /Restorehealth Explained

    DISM.exe /Online /Cleanup-Image /Restorehealth Explained

    In this Itechguide, Victor explains “DISM.exe /Online /Cleanup-Image /Restorehealth” – what it is and how to use it. The Itechguide also includes some examples.

    “DISM.exe /Online /Cleanup-Image /Restorehealth” is a DISM command that repairs issues with the running Operating system you are logged into.

    Before I go further to explain what “DISM.exe /Online /Cleanup-Image /Restorehealth” does let me define DISM.exe first.

    Browse Post Topics

    What is DISM.EXE?

    What is DISM.EXE

    DISM.exe (Deployment Image Servicing and Management) is a Windows command-line tool that is used to manage both Windows Online and Offline Images.

    DISM.exe /Online /Cleanup-Image /Restorehealth Explained

    As I said in my introduction, this command fixes any problem(s) identified in your current operating system.

    But what does each switch in this command do? I will explain the switches and put it all together for you.

    DISM.exe /Online vs /Image

    When you run DISM.exe command, you must either specify the /Online or /Image switch. If you specify the /Online switch, DISM.exe will not expect a path to an offline image. Rather, the command tool will target the running operating system.

    On the other hand, if you specify the /Image switch, Deployment Image Servicing and Management tool will expect you to specify the path to the root directory of an offline Windows image.

    So, DISM.exe /Online switch means you are asking DISM to target the running Operating system instead of an offline image. In the next section, I will explain the /Cleanup-Image switch.

    DISM.exe /Cleanup-Image

    For DISM.exe command to work, the /Online or /Image switch must be followed by other image servicing commands. One of the command-line options for the DISM.exe /Online switch is the /Cleanup-Image switch.

    So, what does the /Cleanup-Image switch do in our “DISM.exe /Online /Cleanup-Image /Restorehealth” command? The /Cleanup-Image switch performs cleanup and recovery operations on the running Operating System.

    To put it together to this point: when you run the command “DISM.exe /Online /Cleanup-Image”, you are asking Deployment Image Servicing and Management tool to:

    1. Target the running Operating System
    2. Perform cleanup and recovery operations on the running Operating System

    DISM.exe /Restorehealth

    The last switch in “DISM.exe /Online /Cleanup-Image /Restorehealth” command is the /Restorehealth switch. The /RestoreHealth switch scans the Operating System for corrupt files. If DISM finds corrupt files, it attempts to repair them automatically.

    What Does “DISM.exe /Online /Cleanup-Image /Restorehealth” Do?

    With the 3 switches in the command explained, I can summarize what the command does.

    When you run DISM.exe /Online /Cleanup-Image /Restorehealth command, it does the following:

    1. The /Online switch instructs DISM.exe to target the running Operating System instead of an offline Windows image (.wim) file or virtual hard disk (.vhd or .vhdx)
    2. The /Cleanup-Image switch performs cleanup and recovery operations on the running Operating System
    3. Finally, the /Restorehealth switch scans the running Operating System for corrupt files and attempts to fix them.

    Below is the result of the command.

    DISM.exe /Online /Cleanup-Image /Restorehealth - (Deployment Image Servicing and Management)

    How to Use DISM.EXE to Check Your Operating System Health

    How to Use DISM.EXE to Check Your Operating System Health

    I suppose by now, you are probably thing “can DISM.exe help me find problems in my OS?” Yes, it can! If you are having problems with your Windows computer, use the /ScanHealth switch to perform advanced scan. See the command below:

    The result of the command is shown in the image below:

    DISM.exe /Online /Cleanup-Image /Restorehealth - (Deployment Image Servicing and Management)

    How To Run DISM.EXE from Windows 10 Recovery Mode

    Sometimes Windows may not even boot. If you wish to repair your Windows 10 computer that does not boot at all, use the steps below:

    • Download Windows 10 ISO, burn it into a DVD and boot your computer with it. For a step by step guide on how to download Window 10 ISO image, read Download Windows 10 ISO Image.
    • When your computer boots to the screen shown below, press any key to boot into the Windows 10 DVD.

    DISM /Online /Cleanup-Image /RestoreHealth - Deployment Image Servicing and Management

    • Next, click Troubleshoot. Then click Command Prompt.

    • Command Prompt loads.

    How To Extract Install.WIM from Windows 10 ISO

    As I said earlier, before you can use DISM /Online /Cleanup-Image /RestoreHealth command with a WIM file, the file has to be extracted.

    Follow the steps below to extract the OS WIM file from install.esd:

    DISM /Online /Cleanup-Image /RestoreHealth - Deployment Image Servicing and Management

    • First, you need to determine the drive your ISO image was mounted. This will depend on the number of drives on your computer. Knowing that it cannot be drive C, try D, then E and so on.
    • To change to a drive, enter the drive name, followed by colon then press Enter.
    • Next, type Dir and press the Enter key.

    Keep checking possible drive letters until you find the one with folders, boot, efi, sources and support. This is the drive your Windows 10 ISO is mounted.

    • Next, you need to find the index number of the Windows 10 edition you wish to use. To do this, execute the command below:
    • Then, type this command and press the enter key.

    The result of the last command is shown below:

    DISM /Online /Cleanup-Image /RestoreHealth - Deployment Image Servicing and Management

    All the Windows 10 editions are listed with their index number. As the edition installed on my computer is Windows 10 Pro, I need to use the same edition for DISM repair. To see the index number, I need to scroll down a bit. Here are the details of Windows 10 Pro.

    The index number I need is 6.

    Before you proceed, you need to create a folder to extract your Install.WIM file to. To do this type the command below and press Enter.

    • Now it is time to extract Install.WIM to d:test folder. To do this, run the command below:

    When the command completes, proceed to the next step.

    DISM /Online /Cleanup-Image /RestoreHealth - Deployment Image Servicing and Management

    • Finally, to repair windows 10 using intall.wim, run the command below:

    When I ran the command it returned error 50: DISM does not support servicing Windows PE with the /Online option. If you receive this error message, find the resolution below this image.

    How to Fix DISM Error 50

    How to Fix DISM Error 50

    If you receive error 50 – “dism does not support servicing windows PE with the /online option”, resolve it with the steps below:

    • From the command prompt, type regedit and press enter. Registry editor opens.

    • Navigate to HKEY_LOCAL_MACHINESYSTEMControlSet001Control. Right-click MiniNT key and delete it. On the delete confirmation, click Yes.

    DISM /Online /Cleanup-Image /RestoreHealth - Deployment Image Servicing and Management

    • On the command prompt, type Exit and press Enter. Then Select Turn Off your PC.

    • When the Computer reboots, repeat the steps from Run DISM.EXE from Windows 10 Recovery Mode (opens in a new window/tab)
    • When Command Prompt loads, change to the drive letter where your ISO is mounted. Also change to the Sources directory. Then rerun the DISM command shown below:

    If error 50 persists, get more information on how to resolve it from this guide – How to quickly fix DISM error 50 on Windows 10 (opens in a new window/tab). You may also read the DISM log shown in the error message.

    How to Fix DISM.exe /Online /Cleanup-Image /Restorehealth Error 87

    There are so many reasons why you may receive error 87 when you run the “DISM.exe /Online /Cleanup-Image /Restorehealth” command. Here are some of the causes of the error and how to fix them.

    DISM.exe /Online /Cleanup-Image /Restorehealth Error 87: Solution 1

    From my research, the top on the list is when you run the command without adding the required spaces in the switches. Below is the DISM command without spaces:

    Solution

    Run the command with spaces as shown below:

    DISM.exe /Online /Cleanup-Image /Restorehealth Error 87: Solution 2

    Another reason for error 87 could be pending updates.

    Solution
    The solution is to install all and any pending updates.

    To check for and install any pending update, follow the steps below:

    • Right-click Windows logo on the left of your task bar [1]. Then click System [2].

    DISM /Online /Cleanup-Image /RestoreHealth - Deployment Image Servicing and Management

    • When Settings loads, type updates in the search bar [1]. Then select Check for updates. Check the part labelled [3] for pending updates. If any click install.

    DISM.exe /Online /Cleanup-Image /Restorehealth: Frequently Asked Question

    This section answers frequently asked DISM.exe questions

    DISM.exe (Deployment Image Servicing and Management) is a Windows command-line tool used to manage Windows images. The tool can be used to manage running operating systems or Operating System images and VHDs.

    This DISM command repairs the windows operating system it runs on. The /Online switch forces DISM to scan the operating system for errors – it fixes any errors.

    DISM.exe is a legitimate Windows command that manages both online and offline Windows images. It is completely safe to run DISM.exe

    It take between 10 minutes to a few hours for DISM /Online /Cleanup-image /RestoreHealth to run. How long it takes depends on how much errors it finds and needs to fix

    It is recommended to run SFC first. Then, run DISM /Online /Cleanup-image /RestoreHealth. SFC checks for Windows file integrity violations and tries to fix them. However, DISM is more effective at fixing corrupt Windows Operating System files.

    “DISM.exe /Online /Cleanup-Image /Restorehealth” is a very important and helpful Window command!

    I hope you found this Itechguide helpful?

    You could ask a question, leave a comment or provide feedback with the “Leave a Reply” form found towards the end of this page.

    Finally, for more Itechguides like this, visit our Windows & Linux Explained page.


    Fixed: DISM Error 87 on Windows 10

    Contents:

    DISM Error 87 Overview

    So long as there are any missing or corrupted Windows images or there is a need to repair Windows 10 update errors, users are prone to run the image repairing tool-DISM. While recently, according to your reports, many of you are encountering cannot clean up Windows 10 image – Error: 87. The DISM log file can be found at C:WINDOWSLogsDISMdism.log.

    Often, after SFC command sfc/scannow doesn’t work or fails to fix Windows file errors, you start to take advantage of DISM, and usually, it would take you 20 or more minutes to use DISM /restorehealth, but the error is you just stumble upon error 87 DISM the parameter is incorrect.

    Or what you hit upon may be DISM error code 112, 11, 50, 2, 3, 87, 1910, 0x800f081f. Anyway, once DISM failed after Windows updates or whenever, you would find it hard to fix many system image issues, thus numerous system crashes, such as black screen with cursor. Now try to get down to resolving this DISM cleanup-image error 87 for Windows 10.

    What is DISM?

    Preinstalled on Windows 8.1 and Windows 10, Windows Deployment Imaging Servicing Management (DISM) is dedicated to repairing and preparing Windows images, including Windows Recovery Environment, Windows Setup, and Windows PE. And one the other hand, DISM also serves to fix the recovery images of Windows system and Virtual hard disk on Windows 10.

    Specifically, working as a system management tool, DISM often comes into play while you are unable to solve the Windows errors using the SFC (System File Checker). It is also used to correct the problematic files, thus enabling the SFC. That is how you use DISM to fix SFC can’t work error on Windows 10.

    Having known well about the DISM tool, it is time to deal with the error occurring to it, like DISM error 87.

    How to Fix DISM Error 87 on Windows 10?

    In most cases, parameters in Command Prompt needs to be absolutely correct, otherwise, it will show you the command is unknown and warns you of an error.

    And for another thing, as per the normal situations, users won’t get into DISM cleanup-image error 87 when using DISM /CheckHealth or DISM / ScanHealth, this error 87 DISM or code 50 or 0x800f081f is unique to DISM /RestoreHealth. The reason lies in that DISM will use Windows 10 update to download the files necessary for repairing corrupted images or files. Hence, DISM can run into issues can be somewhat a Windows 10 update error.

    Based on the culprits above, you may as well determine to fix the DISM restore health failed with error 87, 2, 50, 0x800f081f as soon as possible.

    Solutions:

    Solution 1: Use DISM Command-line Utility Correctly

    In line with experiment, if you execute command DISM/Online /Cleanup-Image /RestoreHealth instead of DISM /Online /Cleanup-Image /RestoreHealth, error 87 will pop up, making you unable to use DISM to fix Windows image problem successfully.

    So in the first place, you would better learn how to use DISM command-line utility on Windows 10.

    1. Search in the search bar Command Prompt and then right click it to Run as administrator.

    2. In Command Prompt with administrative privileges, enter the commands below one by one and then press Enter key to run DISM tool.

    input dism commands

    DISM /Online /Cleanup-Image /CheckHealth

    DISM /Online /Cleanup-Image /ScanHealth

    DISM /Online /Cleanup-Image /RestoreHealth

    Do make sure there is a space between every DISM and /.

    As long as there is no DISM incorrect parameter, even a blank space will cause Windows 10 to error code 87 for Deployment Imaging Servicing Management.

    Tips: What are DISM Commands Used for?

    In short, there are mainly three DISM commands.

    DISM /Online /Cleanup-Image /CheckHealth is designed for checking the detected files.

    DISM /Online /Cleanup-Image /ScanHealth aims to scan for the corrupted files or Windows images.

    DISM /Online /Cleanup-Image /RestoreHealth affords to repair the damaged files.

    After DISM finished its working, you will get to know the image version and whether there is component corruption on Windows 10. If possible DISM Restore Health will help you get rid of the corrupted files and images.

    Solution 2: Revert Windows Update and Clear Component Store

    Apart from the incorrect parameter for DISM, Windows update issues are also to blame as DISM will evoke it to supply files for fixing corruptions.

    On this occasion, you would better convert the updated Windows 10 to its previous one and then clean up the component store which supports Windows updates, installations, and configurations.

    1. In Command Prompt, copy and paste the following command and then hit Enter to revert Windows 10 updates.

    dism.exe /image:C: /cleanup-image /revertpendingactions

    revert windows updates

    That will revert all the pending actions, such as Windows 10 updates.

    After that, you are supposed to reboot your PC to take effect. Or if possible, it is feasible to enter the safe mode to fix the DISM error 87 or 0x800f081f.

    2. Then again in Command Prompt, run the command below to clean up the component store corruptions.

    dism.exe /online /Cleanup-Image /StartComponentCleanup

    clean up component store

    3. Reboot Windows 10 again.

    The WinSxS folder where the component store and also some the potentially corrupted files locate will be cleaned up.

    You are likely now able to run DISM cleanup well on Windows 10. And it is suggestible that you manage to run SFC, you will find the System File Checker tool can work as normal as well.

    Solution 3: Run Windows Update Troubleshooter

    After all, DISM error 87 or 2, 50, 87 can be relevant to Windows 10 updates. There is a high probability that Windows embedded troubleshooter will fix this cleanup error.

    1. Head to Start > Settings > Update & Security.

    2. Under Troubleshoot, find out Windows Update and then click Run the troubleshooter.

    run windows update troubleshooter

    It will take some time for Windows 10 to troubleshoot the DISM cleanup issues in Windows system installation.

    Then you might as well make attempt to perform SFC to see whether it can scan for corruptions now.

    Solution 4: Use Source Options

    As discussed above, the error 87 DISM can be caused due to the files from Windows update. Here you are capable of making full use of the /Source options to store the non-corrupted files.

    Then these good filed can be utilized to fix the corruptions, in doing so, there is no need to update Windows 10 in order to get the required files for DISM cleanup tool.

    To activate the /Source options, you need to:

    1. Prepare a copy of wim file from another PC, and download Windows 10 ISO files.

    2. Make sure the source of the good files match those files on your system in version, edition, and language.

    Once you copied, start to use the source options to restore the infected files on Windows 10 in case DISM 87 error appears again.

    3. In Command Prompt, copy the following command and then execute it.

    DISM /Online /Cleanup-Image /RestoreHealth /Source:repairSourceinstall.wim

    source options

    That will repair the files without Windows update, in this way, DISM can work without meeting the broken Windows update files.

    5. Or you can limit the use of Windows update by running the command below.

    DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess

    limit windows updates

    Here if you stored the good files in other locations, you need to replace C:RepairSource with D:RepairSource or any other paths.

    6. Restart your PC to take effect.

    From then on, DISM will start repairing the missing or corrupted files without using Windows 10 updates to provide the repairing files. You can attempt to run DISM command again to check if it will also inform you of error 87 and DISM log files not found.

    All in all, no matter you are plagued by DISM error 87, or 2, 50, 87 or whatever, you are required to enter the correct parameter and avoid the corruptions from Windows 10 updates. And in this case, you can use DISM to fix SFC can’t work on Windows 10.

    Adblock
    detector