All the corrupt files in your system can be analyzed and repaired by several built-in tools in Windows 10 system. One such command-line tool is Deployment Image Service och Management or DISM, which assists in servicing and preparing Windows images on Windows Recovery Environment, Windows Setup, and Windows PE. This tool could also help you in repairing the corrupt files even if System File Checker is not working correctly. Yet, sometimes you may receive Windows 10 DISM Error 87 due to varied reasons. This guide will help you fix DISM Error 87 in Windows 10 PC.
How to Fix DISM Error 87 in Windows 10
What causes DISM Error 87 in Windows 10?
Several reasons contribute to Windows 10 DISM Error 87. A few of them are discussed below.
- Command Line has an Error – Wrongly typed command line can cause the said error. For example, when you have typed an incorrect code or any incorrect spaces exist before the /snedstreck.
- Bug in Windows 10 System – When there is an update pending in your system or if your system has a hidden bug, then you might face DISM Error 87. Installing all the new updates available can fix the issue in your system.
- Running Commands in Regular Command Prompt Window – Few commands are validated only if you have administrative privileges.
- Outdated Version of DISM – If you try to apply or use a Windows 10 image using an old version of DISM in your system, you will face DISM Error 87. In this case, use the correct wofadk.sys filter driver and try applying the Windows 10 image using an apt DISM version.
Now that you have a basic idea about what causes DISM Error 87 in Windows 10, continue reading the article to learn how to fix the said problem. A list of methods is compiled and arranged according to user convenience. So, one by one, implement these until you find a solution for your Windows 10 desktop/laptop.
Method 1: Type Commands with Correct Spelling & Spacing
The most common mistake users make is of either typing an incorrect spelling or leaving an incorrect spacing before or after the / character. To fix this error, type the command correctly.
1. Lansera Kommandotolken genom Windows sökfält, som visat.
2. Type the following command with spelling and spacing as mentioned:
DISM.exe / Online / Cleanup-bild / Scanhealth
OR
DISM.exe / Online / Cleanup-image / Restorehealth
3. Once you hit Enter, you will see some data pertaining to the DISM tool displayed on the screen, as depicted.
4. The said command should get executed and fetch results.
Method 2: Run Command Prompt with Administrative Privileges
Even if you type the command with correct spelling and spacing, you may encounter Windows 10 DISM Error 87 due to lack of administrative privileges. Hence, do as follows:
1. tryck på Windows nyckel och typ cmd i sökfältet.
2. Klicka på Kör som administratör in the right pane to launch Command Prompt with administrative privileges.
3. Skriv in kommando as earlier and hit ange.
Now, your command will be executed and Windows 10 DISM Error 87 will be fixed. If not, try the next solution.
Läs också: Fix DISM Error 14098 Component Store has been corrupted
Method 3: Run System File Checker and CHKDSK
Windows 10 users can automatically, scan and repair their system files by running System File Checker (SFC) and Check Disk (CHKDSK) commands. These are built-in tools that let the user delete files and fix Windows 10 DISM Error 87. Steps to run SFC and CHKDSK are given below:
1. Lansera Kommandotolk som administratör using the steps explained in Förfarande 2.
2. Skriv följande kommando: sfc / scannow och tryck Enter-tangent.
Now, System File Checker will begin its process. All the programs in your system will be scanned and will be repaired automatically.
3. Vänta på Verifieringen är 100 % klar statement to appear, and once done, starta om datorn.
Check if Windows 10 DISM Error 87 is fixed. If not, follow the steps further.
Notera: Before executing the CHKDSK tool, make sure you do not need to recover any deleted files in your system since this tool cannot restore the recoverable data.
4. Starta igen Command Prompt as an administrator.
5. Typ CHKDSK C:/r and hit ange, som visat.
6. Slutligen, vänta tills processen körs framgångsrikt och stäng fönstret.
Läs också: Fix DISM Source Files Could not be Found Error
Metod 4: Uppdatera Windows OS
If you did not obtain any results by the above-mentioned methods, then there might be bugs in your system. Microsoft releases updates periodically, to fix the bugs in your system. Therefore, always ensure that you use your system in its updated version. Otherwise, the files in the system will not be compatible with the DISM files leading to DISM Error 87 in Windows 10 computers.
1. tryck på Windows + I knapparna tillsammans för att öppna Inställningar i ditt system.
2. Välj nu Uppdatering och säkerhet, som visat.
3. Klicka sedan på Sök efter uppdateringar knapp.
3A. Klicka på installera nu för att ladda ner och installera Uppdateringar tillgängliga.
3B. Om ditt system redan är uppdaterat kommer det att visas Du är uppdaterad message, as depicted.
4. Starta om systemet och kontrollera om problemet är löst nu.
Läs också: Åtgärda DISM-fel 0x800f081f i Windows 10
Method 5: Use the Correct Version of DISM
When you execute command lines on older versions of DISM on Windows 8.1 or earlier, you are bound to face Windows 10 DISM Error 87. But this problem can be fixed when you use the correct version of DISM in Windows 10 with the correct Wofadk.sys filter driver. The Operating System used by DISM is the Host deployment environment. The DISM supports the following platforms in several Windows versions, as listed below:
Värddistributionsmiljö | Målbild: Windows 11 eller WinPE för Windows 11 | Målbild: Windows 10 eller WinPE för Windows 10 | Målbild: Windows 8.1, Windows Server 2016, Windows Server 2012 R2 eller WinPE 5.0 (x86 eller x64) |
Windows 11 | Som stöds | Som stöds | Som stöds |
Windows 10 (x86 eller x64) | Stöds, med Windows 11-versionen av DISM | Som stöds | Som stöds |
Windows Server 2016 (x86 eller x64) | Stöds, med Windows 11-versionen av DISM | Som stöds | Som stöds |
Windows 8.1 (x86 eller x64) | Stöds, med Windows 11-versionen av DISM | Stöds, med Windows 10-versionen av DISM | Som stöds |
Windows Server 2012 R2 (x86 eller x64) | Stöds, med Windows 11-versionen av DISM | Stöds, med Windows 10-versionen av DISM | Som stöds |
Windows 8 (x86 eller x64) | Stöds inte | Stöds, med Windows 10-versionen av DISM | Stöds, med Windows 8.1-versionen av DISM eller senare |
Windows Server 2012 (x86 eller x64) | Stöds, med Windows 11-versionen av DISM | Stöds, med Windows 10-versionen av DISM | Stöds, med Windows 8.1-versionen av DISM eller senare |
Windows 7 (x86 eller x64) | Stöds inte | Stöds, med Windows 10-versionen av DISM | Stöds, med Windows 8.1-versionen av DISM eller senare |
Windows Server 2008 R2 (x86 eller x64) | Stöds, med Windows 11-versionen av DISM | Stöds, med Windows 10-versionen av DISM | Stöds, med Windows 8.1-versionen av DISM eller senare |
Windows Server 2008 SP2 (x86 eller x64) | Stöds inte | Stöds inte | Stöds, med Windows 8.1-versionen av DISM eller senare |
WinPE för Windows 11 x64 | Som stöds | Stöds: Endast X64-målbild | Stöds: Endast X64-målbild |
WinPE för Windows 10 x86 | Som stöds | Som stöds | Som stöds |
WinPE för Windows 10 x64 | Stöds, med Windows 11-versionen av DISM | Stöds: Endast X64-målbild | Stöds: Endast X64-målbild |
WinPE 5.0 x86 | Stöds, med Windows 11-versionen av DISM | Stöds, med Windows 10-versionen av DISM | Som stöds |
WinPE 5.0 x64 | Stöds, med Windows 11-versionen av DISM | Stöds, endast med Windows 10-versionen av DISM: X64 målbild | Stöds: Endast X64-målbild |
WinPE 4.0 x86 | Stöds inte | Stöds, med Windows 10-versionen av DISM | Stöds, med Windows 8.1-versionen av DISM eller senare |
WinPE 4.0 x64 | Stöds inte | Stöds, endast med Windows 10-versionen av DISM: X64 målbild | Stöds, med Windows 8.1-versionen av DISM eller senare: endast X64-målbild |
WinPE 3.0 x86 | Stöds inte | Stöds, med Windows 10-versionen av DISM | Stöds, med Windows 8.1-versionen av DISM eller senare |
WinPE 3.0 x64 | Stöds inte | Stöds, endast med Windows 10-versionen av DISM: X64 målbild | Stöds, med Windows 8.1-versionen av DISM eller senare: endast X64-målbild |
Thus, when you use DISM for an image service, always ensure what version you are using and whether it is compatible with the device or not. Run DISM commands only if you are sure that you are using the correct DISM version.
Method 6: Perform Clean Installation
If none of the methods have helped you solve the issue, you can try to reinstall Windows. Here’s how to fix DISM Error 87 in Windows 10 by performing a clean installation of Windows:
1. Navigera till Inställningar> Uppdatering och säkerhet enligt instruktionerna i Metod 3.
2. Välj nu Återvinning option from the left pane and click on KOM IGÅNG i den högra rutan.
3. Here, choose an option from the Återställ den här datorn fönster:
- Behåll mina filer option will remove apps and settings but keeps your personal files.
- Smakämnen Ta bort allt option will remove all your personal files, apps, and settings.
4. Följ slutligen instruktioner på skärmen för att slutföra återställningsprocessen.
Rekommenderad
Vi hoppas att den här guiden var till hjälp och att du kunde fix DISM Error 87 in Windows 10. Låt oss veta vilken metod som fungerade bäst för dig. Dessutom, om du har några frågor/förslag angående den här artikeln får du gärna släppa dem i kommentarsektionen.