Skip to content

Instantly share code, notes, and snippets.

@xfixic
Created March 5, 2019 12:46
Show Gist options
  • Select an option

  • Save xfixic/7d1f692937c6df6eae49647fe67dd763 to your computer and use it in GitHub Desktop.

Select an option

Save xfixic/7d1f692937c6df6eae49647fe67dd763 to your computer and use it in GitHub Desktop.
Enable RSAT Features on Windows 10 1809 Using PowerShell
$currentWU = Get-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" | select -ExpandProperty UseWUServer
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -Value 0
Restart-Service wuauserv
Get-WindowsCapability -Name RSAT* -Online | Remove-WindowsCapability –Online
Add-WindowsCapability –online –Name “Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0”
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -Value $currentWU
Restart-Service wuauserv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment