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 Servicing og 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 /slash.
- 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. Lancering Kommandoprompt gennem Windows søgelinje, som vist.
2. Type the following command with spelling and spacing as mentioned:
DISM.exe / Online / Cleanup-image / 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. Tryk på Windows nøgle og type cmd i søgefeltet.
2. Klik på Kør som administrator in the right pane to launch Command Prompt with administrative privileges.
3. Indtast kommando as earlier and hit Indtast.
Now, your command will be executed and Windows 10 DISM Error 87 will be fixed. If not, try the next solution.
Læs også: 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. Lancering Kommandoprompt som administrator using the steps explained in Metode 2.
2. Indtast følgende kommando: sfc / scannow og tryk Indtast nøgle.
Now, System File Checker will begin its process. All the programs in your system will be scanned and will be repaired automatically.
3. Vent på Verifikation 100 % gennemført statement to appear, and once done, genstart din pc.
Check if Windows 10 DISM Error 87 is fixed. If not, follow the steps further.
Bemærk: 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. Igen, start Command Prompt as an administrator.
5. Type CHKDSK C:/r and hit Indtast, som vist.
6. Vent endelig på, at processen kører med succes og tæt vinduet.
Læs også: Fix DISM Source Files Could not be Found Error
Metode 4: Opdater 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. Tryk på Windows + I tasterne sammen for at åbne Indstillinger i dit system.
2. Vælg nu Opdatering og sikkerhed, som vist.
3. Klik derefter på Søg efter opdateringer .
3A. Klik på Installer nu for at downloade og installere Opdateringer tilgængelige.
3B. Hvis dit system allerede er opdateret, vises det Du er opdateret message, as depicted.
4. Genstart dit system og kontroller, om problemet er løst nu.
Læs også: Ret DISM-fejl 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ærtsimplementeringsmiljø | Målbillede: Windows 11 eller WinPE til Windows 11 | Målbillede: Windows 10 eller WinPE til Windows 10 | Målbillede: Windows 8.1, Windows Server 2016, Windows Server 2012 R2 eller WinPE 5.0 (x86 eller x64) |
Windows 11 | Understøttet | Understøttet | Understøttet |
Windows 10 (x86 eller x64) | Understøttet ved hjælp af Windows 11-versionen af DISM | Understøttet | Understøttet |
Windows Server 2016 (x86 eller x64) | Understøttet ved hjælp af Windows 11-versionen af DISM | Understøttet | Understøttet |
Windows 8.1 (x86 eller x64) | Understøttet ved hjælp af Windows 11-versionen af DISM | Understøttet ved hjælp af Windows 10-versionen af DISM | Understøttet |
Windows Server 2012 R2 (x86 eller x64) | Understøttet ved hjælp af Windows 11-versionen af DISM | Understøttet ved hjælp af Windows 10-versionen af DISM | Understøttet |
Windows 8 (x86 eller x64) | Ikke understøttet | Understøttet ved hjælp af Windows 10-versionen af DISM | Understøttet, ved hjælp af Windows 8.1-versionen af DISM eller nyere |
Windows Server 2012 (x86 eller x64) | Understøttet ved hjælp af Windows 11-versionen af DISM | Understøttet ved hjælp af Windows 10-versionen af DISM | Understøttet, ved hjælp af Windows 8.1-versionen af DISM eller nyere |
Windows 7 (x86 eller x64) | Ikke understøttet | Understøttet ved hjælp af Windows 10-versionen af DISM | Understøttet, ved hjælp af Windows 8.1-versionen af DISM eller nyere |
Windows Server 2008 R2 (x86 eller x64) | Understøttet ved hjælp af Windows 11-versionen af DISM | Understøttet ved hjælp af Windows 10-versionen af DISM | Understøttet, ved hjælp af Windows 8.1-versionen af DISM eller nyere |
Windows Server 2008 SP2 (x86 eller x64) | Ikke understøttet | Ikke understøttet | Understøttet, ved hjælp af Windows 8.1-versionen af DISM eller nyere |
WinPE til Windows 11 x64 | Understøttet | Understøttet: Kun X64-målbillede | Understøttet: Kun X64-målbillede |
WinPE til Windows 10 x86 | Understøttet | Understøttet | Understøttet |
WinPE til Windows 10 x64 | Understøttet ved hjælp af Windows 11-versionen af DISM | Understøttet: Kun X64-målbillede | Understøttet: Kun X64-målbillede |
WinPE 5.0 x86 | Understøttet ved hjælp af Windows 11-versionen af DISM | Understøttet ved hjælp af Windows 10-versionen af DISM | Understøttet |
WinPE 5.0 x64 | Understøttet ved hjælp af Windows 11-versionen af DISM | Understøttet, bruger kun Windows 10-versionen af DISM: X64-målbillede | Understøttet: Kun X64-målbillede |
WinPE 4.0 x86 | Ikke understøttet | Understøttet ved hjælp af Windows 10-versionen af DISM | Understøttet, ved hjælp af Windows 8.1-versionen af DISM eller nyere |
WinPE 4.0 x64 | Ikke understøttet | Understøttet, bruger kun Windows 10-versionen af DISM: X64-målbillede | Understøttet ved brug af Windows 8.1-versionen af DISM eller nyere: Kun X64-målbillede |
WinPE 3.0 x86 | Ikke understøttet | Understøttet ved hjælp af Windows 10-versionen af DISM | Understøttet, ved hjælp af Windows 8.1-versionen af DISM eller nyere |
WinPE 3.0 x64 | Ikke understøttet | Understøttet, bruger kun Windows 10-versionen af DISM: X64-målbillede | Understøttet ved brug af Windows 8.1-versionen af DISM eller nyere: Kun X64-målbillede |
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. Naviger til Indstillinger> Opdatering og sikkerhed som anvist i Metode 3.
2. Vælg nu Recovery option from the left pane and click on Kom i gang i den højre rude.
3. Here, choose an option from the Nulstil denne pc vindue:
- Gem mine filer option will remove apps and settings but keeps your personal files.
- Fjern alt option will remove all your personal files, apps, and settings.
4. Følg endelig instruktioner på skærmen for at fuldføre nulstillingsprocessen.
Anbefales
Vi håber, at denne guide var nyttig, og at du var i stand til det fix DISM Error 87 in Windows 10. Fortæl os, hvilken metode der virkede bedst for dig. Også, hvis du har spørgsmål/forslag vedrørende denne artikel, så er du velkommen til at slippe dem i kommentarfeltet.