DISM, or Deployment Image Servicing and Management, is a Windows utility tool which has a function for servicing and repairing damaged or corrupted system files on your computer. Your Windows 11 computer exposure to a possible DISM error 87 is possible and professional handling is necessary.
This article is written to meet this specific need. It does this by solving the problem and providing other helpful information and links to moderate any future occurrence. If you have been experiencing this issue, you are precisely where you need to be.
How do I fix DISM error 87 on Windows 11?
1. Check hard drive for error (chkdsk)
- Firstly, press the Windows and S buttons on your keyboard and search for cmd.
- Right-click on the Command Prompt app and then choose to Run as administrator.
- Enter the following command in the Command Prompt window and press the Enter key:
chkdsk /f /r
- Finally, enter Y and restart your PC so the utility can check for file system errors, and search and shield bad sectors.
2. Update Windows
- Firstly, press the Windows + I keys together to open Settings or open by clicking the Windows icon on the Taskbar.
- Then click the Windows Update option and the Check for updates button to find new updates.
- If Windows has a latest update, it will automatically detect it. Follow the instructions to update Windows.
- Finally, restart your computer.
3. Scan for issues
- Firstly, press the Windows and S buttons on your keyboard and search for cmd.
- In the next window, enter the following code and press Enter:
sfc /scannow
- Restart PC as soon as the process is complete.
4. Reset Windows
- Use the Window + I hotkeys together to open the Settings menu, click on System and then select Recovery.
- Under Recovery, select the Reset PC button.
- In the following window, choose the Keep my files option to prevent losing important data. However, note that this option will remove apps and undo settings.
- Select the way you would want to reinstall Windows. We recommend you use the Local reinstall, but if you have some system files, go for the Cloud download option. However, this may contain corrupted files.
- After that, click Next.
- Then, select additional settings and click on Confirm to approve the settings.
- On the next screen, click on Reset.
- Wait patiently until the reset process is prepared.
- Your computer will restart, and you should wait for a while until the process is finished.
5. Boot Windows 11 in Safe Mode
- Click the Power icon on the login screen, hold Shift, and select Restart.
- Choose Troubleshoot from the next menu options.
- Select Advanced options.
- Afterward, click Advanced options to access other options. Now click Startup Settings.
- After that is done, click Restart.
- Press 5 on your keyboard to start Safe Mode with Networking.
7. Check that the command format is correct
- Firstly, press the Windows and S buttons on your keyboard and search for cmd and click Run as administrator.
- Now enter the following command in the Command Prompt and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth
- Confirm that your command is the one below:
DISM.exe /Online /Cleanup-image /Restorehealth
(Correct)
…and not this one:DISM.exe /Online/Cleanup-image /Restorehealth
(Incorrect) - Other correct command format include:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
8. Revert pending actions and do component cleanup
- Firstly, press the Windows and S buttons on your keyboard and search for cmd and click Run as administrator.
- Now enter the following command in the Command Prompt to refresh DISM tool and press Enter:
dism.exe /image:C: /cleanup-image /revertpendingactions
- Then, enter the following command in the Command Prompt to cleanup component store and press Enter:
dism.exe /online /Cleanup-Image /StartComponentCleanup
Does DISM work on Windows 11?
Yes, DISM (Deployment Image Servicing and Management) works on Windows 11. DISM is a command-line tool helpful in managing and servicing Windows images, such as .wim and .vhd files. It can also be helpful in installing, uninstalling, configuring, and updating Windows features, packages, drivers etc.
It is important in the following ways:
- Ensures System Updates: DISM helps to install all the necessary system updates, ensuring that your system is up-to-date and running smoothly.
- System preparation: Additionally, DISM can help prepare a system for Windows installation, upgrade, or repair.
- Package Servicing: DISM can install and uninstall Windows packages, such as Windows updates, language packs, and device drivers.
- Security update: DISM is also useful for applying security updates.
- Cleanup and repair: DISM can help you clean up and repair system components.
- Image management: DISM can create, mount, and manage Windows image files.
- Component management: DISM can add, remove, and configure components within a Windows image.
- Driver management: DISM can install, uninstall, and update device drivers in a Windows image.
- Feature management: DISM can enable or disable Windows features in an offline image.
To conclude, use the solutions provided in this solution manual to fix your issues concerning DISM error 87 on your Windows 11. We are confident that there are some mistakes you have made in the past that you have discovered while studying this guide. Ensure you correct them.