Hi Bahlal
Error code 0x800f0805 usually indicates that the specific package is not valid Windows package. It may be that the system has an inappropriate package installed (such as a pirated system blindly integrating some strange update packages) or the package file is corrupted (unexpected power failure, rogue virus software).
You can manually create or modify certain values in the registry to resolve issues where a particular package is not a valid Windows package. You can refer to Error 0x800f0805 when Server Manager and DISM fail to list the available features - Windows Server | Microsoft Learn for instructions on how to operate the registry.
The other way is replacing the damaged package. You can determine which package is corrupted by consulting the DISM.log. Then download the installation media corresponding to the current operating system version and mount install.wim. For example, the foundation package is corrupted, you will need to run the command: dism /mount-wim /wimfile:install.wim /index:3 /mountdir:D:\windows10_1803. Then find the full file name of the foundation package from the mount directory path D:windows10_1803WindowsservicingPackages. Finally, load the foundation provided by the installation media online to replace the corrupted content. You will need to run the command: dism /online /add-package /packagepath:Microsoft-Windows-Foundation-Package~............At this point, you can perform the enable/disable feature component action to verify success.
Hope it helps.
Lei