Home

How to fix "Add-WindowsCapability failed. error code = 0x800f0954"?

Alton Alexander
By Alton AlexanderUpdated on June 4th, 2022

When trying to install the Windows Capability on Windows 10, the following error may occur: "Add-WindowsCapability failed. Error code = 0x800f0954".

This error code means that the requested package or capability is not available on the machine. The most likely cause is that the package is not compatible with the architecture or edition of Windows that is running on the machine. Another possibility is that the package is not signed with a valid digital signature.

1. Install the latest updates for Windows and for your system BIOS

  1. Open an elevated command prompt.
  2. Type the following commands and press Enter after each: Windows Update
  3. If there are any updates available, Windows Update will display a list of updates.
  4. To install the updates, type the following command and press Enter: Windows Update - Installing update 1
  5. If the update requires a reboot, Windows Update will request that you restart your computer.
  6. After the update is installed, you will be prompted to restart your computer.
  7. If you have installed any updates, the computer will restart automatically.
  8. If you have not installed any updates, you will need to restart your computer to install the updates.

2. Run the System File Checker tool (SFC.exe) and repair any corrupted Windows system files

  1. Open a command prompt by clicking on the Start button, typing cmd in the search box, and clicking on the command prompt that appears.
  2. At the command prompt, type SFC /scannow and press ENTER.
  3. If the SFC scan completes without errors, you can skip to step 5. If there are errors, you will need to correct them and continue with step 4.
  4. At the command prompt, type SFC /scannow again and press ENTER.
  5. If the SFC scan completes without errors, you can skip to step 6. If there are errors, you will need to correct them and continue with step 6.
  6. At the command prompt, type SFC /cleanup-image and press ENTER.
  7. If the SFC scan completes without errors, you can skip to step 8. If there are errors, you will need to correct them and continue with step 8.
  8. At the command prompt, type SFC /repair-image and press ENTER.
  9. If the SFC scan completes without errors, you can skip to step 10. If there are errors, you will need to correct them and continue with step 10.
  10. If the SFC scan completes without errors, you can exit the command prompt.

If the answers above didn't work then you should also try:

  1. Check your system for malware and remove any infected files.
  2. Run the Deployment Image Servicing and Management (DISM) tool and repair any corrupted Windows system files.
  3. Re-register the Windows Installer service.
  4. Reset the Windows Update Components.
  5. Run the Microsoft System Update Readiness Tool.
  6. Contact Microsoft support for further assistance.