When you install RSAT Tools via Optional Features, DISM, or PowerShell, the error 0x8024002e or 0x800f0954 occurs. For example, here’s the entire error message when you install the RSAT Tools feature using PowerShell:
Add-WindowsCapability failed. Error code = 0x8024002e
-or-
Add-WindowsCapability failed. Error code = 0x800f0954