Add optional feature to install SSH through command line


  1. Posts : 2
    Windows 10 Pro
       #1

    Add optional feature to install SSH through command line


    I am trying to enable SSH through https://www.howtogeek.com/336775/how...-ssh-commands/ but when I go to add an optional feature I see no options in the list (Screenshot attached). I have version 1709 so should be on the correct version? Hopefully this isn't a silly mistake but would appreciate any help
    Add optional feature to install SSH through command line-2018-01-08_15h39_08.pngAdd optional feature to install SSH through command line-2018-01-08_15h40_35.png
      My Computer


  2. Posts : 4,551
    Windows 11 Pro 64-bit
       #2

    Please type regedit.exe into Start Menu to open registry editor.

    Navigate to:

    KEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU

    Ifthere's a value called UseWUServer, double click it to set data value to 0 or delete the UseWUServer, value and restart your computer.

    Hopefully this will resolve your issue.
      My Computer


  3. Posts : 2
    Windows 10 Pro
    Thread Starter
       #3

    Hi FreeBooter, I do not have a entry for UseWUServer however the WSUS server is configured in WUServer. Is that restricting the installation of optional features?
    Add optional feature to install SSH through command line-2018-01-09_08h04_43.png
      My Computer


  4. Posts : 4,551
    Windows 11 Pro 64-bit
       #4

    You have to check AU registry key for UseWUServer value.

    You don't have to worry about WUServer if you can update your computer from Settings ---> Update and Security --> Windows Update.



    Open the Command Prompt as a administrator.



    You would use DISM to fix Windows component store corruptions.


    Code:
    Dism /Online /Cleanup-Image /RestoreHealth
     


    Execute below command to make sure corrupted system files repaired.


    Code:
    Sfc  /Scannow

    Check to see issue has been resolved.



      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:13.
Find Us




Windows 10 Forums