Open Command Prompt as Administrator.

On the elevated prompt, execute the following code –

net stop wuauserv

Minimize the Console window and press WinKey + S to launch the Search window.

Type regedit and double-click on the top result. 

When the UAC window prompts, hit Yes.

On the registry, navigate to the following –

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

When you reach out to the above path, move to the right side and double-click on UseWUServer.

Inside the Value Data Field, put “0” and hit OK.

Re-launch the Command Prompt and run the below codes one after another. Make sure to press the Enter key after each command –

net start wuauserv 

 

 

DISM.exe /Online /add-capability /CapabilityName:Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0

 

Re-visit the registry window, and undo the changes that you performed there i.e. change the “UseWUServer” value back to “1”.

Restart your Windows PC and the RSAT file gets installed in the meantime.