RSAT Installation in Windows 10 failes

Even I have a problem using RSAT and upgrading and installing ActiveDirectory in Windows 10

PS C:\Get-WindowsCapability -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~ -Online | Add-WindowsCapability -Online

Add-WindowsCapability: Add-WindowsCapability failed. Error code = 0x8024002e


I googled a little bit for you …

By default, the WindowsCapability logs are stored in C:\Windows\Logs\DISM\dism.log so you may check there to see what’s happening behind the scenes.

And maybe the following solution works for you as well: