How to Fix error 87 Error – DISM error 87 the add-package option is unknown
Windows update installation issue with DISM error 87
📋 Table of Contents
The DISM error 87 'the add-package option is unknown' occurs when attempting to install Windows updates using the DISM command-line tool. This issue affects users who are trying to manually install Windows updates, such as KB2999226, and have extracted the necessary files.
This error can be frustrating for IT professionals and users alike, as it prevents them from installing crucial Windows updates. Fortunately, this guide will walk you through the steps to resolve this issue using DISM.
🔍 Why This Happens
- The primary reason for this error is that the DISM tool is not able to find or recognize the 'add-package' option in the DISM command-line interface. This could be due to a corrupted or outdated version of the DISM tool, or issues with the system's registry.
- Another possible cause is that the Windows update package being installed is not compatible with the current version of the DISM tool.
🔧 Proven Troubleshooting Steps
Manually updating the DISM tool
- Step 1: Open a command prompt as an administrator and navigate to the directory where you extracted the DISM tool files.
- Step 2: Run the command 'dism /online /cleanup-image /restorehealth' to reset the DISM tool to its default state. This will restore any corrupted or missing packages, and may resolve the issue with the 'add-package' option.
- Step 3: If the above step does not resolve the issue, try running the command 'dism /online /cleanup-image /scanhealth' to scan for any issues with the system's image.
Manually updating the Windows update package
- Step 1: Extract the .cab file and its dependencies from the original download package.
- Step 2: Use a tool like 'msiextract' or '7-Zip' to extract the necessary files, including the KB2999226.cab file. Be sure to copy all required dependencies to the same directory as the extracted CAB file.
- Step 3: Manually install the Windows update using the DISM command-line tool with the '/add-package' option. For example: `dism /online /add-package /packagerepo:C: empilelist.xml /packagetype=app /disablelog` Replace 'C: empilelist.xml' and 'KB2999226.cab' with the actual file paths of your extracted files.
🎯 Final Words
Resolving the DISM error 87 'the add-package option is unknown' can be a challenging task, but by following these steps, you should be able to successfully install Windows updates using the DISM tool. If you encounter any further issues, it may be necessary to seek additional assistance from Microsoft or a qualified IT professional.
❓ Frequently Asked Questions
🛠️ Related Fixes
How to Fix: Pc crashes shortly after launching game (rainbow
Fix Pc crashes shortly after launching game (rainbow six siege). Compl
How to Fix: Installing an APK on a locked down phone
Installing an APK on a locked down phone: Try using a rooted device, e
How to Fix: New PC build- no signal and no clue
Fix New PC build- no signal and no clue. Complete troubleshooting guid