Try typing this in ps or cmd and then:
>>> gpedit.msc
Computer ConfigurationAdministrative TemplatesSystem
Specify settings for optional component installation and component repair
Enabled
Also check the box for
Download repair content and optional features directly from Windows Update
instead of Windows Server Update Services (WSUS)
>>> Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'