Fixes: DISM Error 87 the Parameter is Incorrect/Unknown
Are you now being troubled by DISM error 87: the parameter is incorrect? Scroll down to get the reasons and solutions for this error. Read this full guide to learn fixes for dism cleanup-image option is unknown.
Why do you receive DISM errors in Windows 10?
DISM error 87: the parameter is incorrect could be the result of typing the wrong command when using DISM /CheckHealth or DISM /ScanHealth. The DISM cleanup-image option is unknown Thus, the first thing to check is whether you entered the commands correctly.
If the command you use is confirmed to be correct, then you can consider the following causes:
1. Windows 10 Update error. After DISM finds corrupted images or files, it will use Windows 10 Update to download the necessary files. If Windows Update fails, the process will be interrupted.
2. Attempting to copy a file over 48GB from one partition to another partition using DISM /AddPackage.
3. A required service does not start, e.g. you cannot connect to a network.
How to fix DISM error 87 the parameter is incorrect
In this part, I’ll show you how to fix error 87 in Windows 10 with effective methods. Before that, please be sure you are currently using the Windows 10 version of DISM, which requires the Wofadk.sys filter driver. For more info, see DISM supported platform to fix the DISM cleanup-image option is unknown issue.
Method 1: Use DISM command line correctly
Users often forget to add a space before the slash and type the command below.
DISM/online/cleanup-image/CheckHealth
To type the command correctly, you need to add a space before the slash.
Note: Remember to run cmd as administrator, and this may be one of the reasons for DISM error 87.
Method 2: Revert Windows Update and clear Component Store
Windows Updates can be a cause for DISM error 87. To fix this issue, you can restore Windows Update to a previous good state and clean up the component store. It supports Windows Updates, installations, and configurations.
Step 1. Type cmd in the search box and run as administrator.
Step 2. Type the following command to revert to Windows Update and hit Enter. Then, restart your computer and save these changes.
Step 3. Type the command below and hit Enter. After that, restart your computer and make these changes available.
Now, the component store and potentially corrupted files may be cleaned up. You can try to run DISM again on Windows 10.
Method 3: Run SFC /SCANNOW tool
SFC /SCANNOW can also fix the corrupted files. You can try it first and run DISM again.
Step 1. Run cmd as administrator.
Step 2. Type sfc /scannow in the command prompt window and hit Enter.
Step 3. Run DISM again.
Method 4: Run CHKDSK tool
Some users report that CHKDSK can solve DISM error 87 in Windows 10. Try it if you have no idea.
Step 1. Run cmd as administrator.
Step 2. Type chkdsk C: /r in the command prompt window and press Enter. Type Y if you are asked to run at the next time you start your computer.
Step 3. Run DISM again and check if this issue disappears.
Method 5: Run System Restore
In most cases, System Restore can be the last one you can try. It can solve DISM error 87: the parameter is incorrect but you need to reinstall certain software.
Step 1. Type system restore in the search box and select it.
Step 2. On the first screen, you are told that the recently installed programs will be removed. If you want to continue this operation, click Next.
Step 3. Select the restore point in the list and click Next.
Step 4. Click Finish to start the restore process.
Method 6: Reinstall Windows
If none of the previous methods fix the DISM cleanup-image option is unknown, your last option is to reinstall Windows. Reinstalling the operating system can resolve this error and other related issues. However, keep in mind that this process will cause data loss. Therefore, it's essential to back up all important files before proceeding. Once your data is safely backed up, you can go ahead with the reinstallation.
Easily avoid DISM error 87 in Windows 11/10
You definitely don't want to see the DISM cleanup-image option is unknown when you repair or prepare a Windows image, because you have high hopes for it to make your computer properly. But you have no choice but to fix this error when it occurs. What if you cannot fix it?
The official way is to reinstall Windows 10 using an installation disc provided by Microsoft, which only leaves you a fresh version of the system and you need to reinstall programs. If you don't backup files to an external hard drive or other storage devices, you will lose them finally. And this is exactly the situation that users try to avoid. Here a system image does help a lot if you have one.
It will be OK if you don't have one, but you have to create a system image in Windows 10 immediately with free backup software like AOMEI Backupper.
- Full Backup Solutions: You can create a System Backup/Disk Backup/Partition Backup/File and Folder Backup per your needs.
- Various Destination Paths: You can save the system image to an internal or external drive, USB flash drive, NAS, cloud service, etc.
- Customized Backup Settings: It supports daily, weekly, and monthly automatic backup as well as full or incremental backup to boot backup efficiency.
- System Error Rescue: It's capable of creating a bootable disc (CD/DVD or USB) to boot your computer when it fails.
Then, you may want to have a try! Please download this software and follow the steps below.
Step 1. Launch this free backup software. Then, click Backup and System Backup in order.
Step 2. Select a location to store your backup image. If you want to save it to USB, you need to insert the disk into your computer first.
💡 Helpful tips:
- Options: you are able to comment on a task, set email notifications, or compression level, etc.
- Schedule Backup: it is necessary for you to continuously protect the system and data on it. You have 5 options, namely, Daily, Weekly, Monthly, Event trigger, and USB plug-in. The latter two options are available on the professional version.
- Backup Scheme: you can set Full/Incremental/Differential Backup or cleanup methods (By quantity, By time, By daily/weekly/monthly). Differential backup and auto backup cleanup are only available on the advanced versions.
Step 3. Click Start Backup to run the pending operation.
The system image should be created when your computer behaves normally. If your computer is already having problems, the backup image created cannot be used for DISM error 87 or other serious errors making your computer unbootable.
In this case, you can choose to create a system image and bootable media on another working PC, and then use them on the problematic PC for dissimilar hardware restoration. You need to use the Universal Restore feature (advanced version) to ensure a secure boot after restoration.
Bonus content about DISM cleanup-image option is unknown
1. What is the DISM tool?
DISM (Deployment Imaging Servicing Management), preinstalled on Windows 8.1/10/11, is commonly used to repair and prepare Windows images on Windows Recovery Environment, Windows Setup, and Windows PE.
As a system management tool, it can resolve corrupted system files when SFC SCANNOW not working. But sometimes you may also receive DISM error 87, saying the parameter is incorrect. Why is DISM not working? How to fix it? I will explore these questions in the following article.
2. What is DISM Error 87?
DISM (Deployment Image Servicing and Management) Error 87 occurs when the DISM tool encounters an issue with the parameters provided during the servicing or management of Windows images. This error indicates that the command syntax used with DISM is incorrect or incomplete.
3. Is there a specific command that commonly triggers DISM Error 87?
While DISM Error 87 can be triggered by various commands, it commonly occurs when using commands related to image servicing or management, such as repairing Windows images, adding or removing packages, or enabling features.
FAQs on DISM error 87 cleanup-image option is unknown
1. Can I encounter DISM Error 87 on all versions of Windows?
Yes, DISM Error 87 can occur on various versions of Windows, including Windows 10, Windows 8.1, Windows 8, and Windows Server editions. However, the specific commands and parameters may vary slightly between different versions.
2. I'm new to using DISM. How can I avoid encountering Error 87?
To minimize the chances of encountering DISM Error 87, ensure that you:
- Refer to the official Microsoft documentation for the correct syntax and usage of DISM commands.
- Take note of any specific requirements or limitations mentioned in the documentation.
- Test commands in a controlled environment, such as a virtual machine, before applying them to your primary system.
3. Are there any alternative tools or methods to accomplish what DISM does without encountering Error 87?
While DISM is a powerful tool for managing Windows images, there are alternative methods available for certain tasks, such as using Windows Update, PowerShell cmdlets, or third-party software. However, it's essential to understand the limitations and differences between these methods to choose the most suitable approach for your requirements.
Conclusion
It's annoying to receive the DISM error 87: the parameter is incorrect when you repair or prepare a Windows image. You may fix this DISM cleanup-image option is unknown error now and then use DISM as normal. Another wise choice is to create a system image directly with free backup software (a scheduled one is preferable), then you can use it to recover your computer in the event of a disaster.
It's cloning software to directly transfer system images to the new hard drive and boot your computer from it without the restoration process. Besides, it supports creating a portable version (available on the Technician or TechPlus edition) of this software on a removable device and you can use it on any computer without installing it. Wanna have a try?