Temporary fix for the OpenSSH client feature install bug [Build 21364]

  1. Tekkie Boy's Avatar
    Posts : 803
    Win 10
       #1

    Temporary fix for the OpenSSH client feature install bug [Build 21364]


    Hello

    In the Windows Insider Build 21364.1 is currently the bug that the "OpenSSH client" cannot be installed via "Add Feature"

    Temporary fix for the OpenSSH client feature install bug [Build 21364]-screenshot-2021-04-22-070629.png

    or with PowerShell command: Add-WindowsCapability -Online -Name "OpenSSH.Client~~~~0.0.1.0"

    Temporary fix for the OpenSSH client feature install bug [Build 21364]-screenshot-2021-04-22-071416.png

    The operation fails with error code 0x800f0950 -CBS_E_INVALID_WINDOWS_UPDATE_COUNT.

    I then looked up why that happened.

    Files for the feature are not copied and installed during Windows installation, but they are available in the Windows image.



    For those people who want to install the feature, I am providing the following fix:

    The fix is only for build 21364.

    Download SFCFix.exe and save this to your Desktop.

    Download the file below, SFCFix.zip, and save this to your Desktop too.

    Ensure that this file is named SFCFix.zip - do not rename it.

    Save any open documents and close all open windows.

    On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.

    Drag the file SFCFix.zip onto the file SFCFix.exe and release it.



    SFCFix copies the files required for the feature and creates and opens the SFCFix.txt file.

    You should get the result shown in the picture.
    Temporary fix for the OpenSSH client feature install bug [Build 21364]-screenshot-2021-04-22-072526.png

    If so, then close the notepad window.

    When done, push the Windows button, type powershell select the option "Run as administrator" and then run the following commands in the PowerShell (Just copy and paste the commands):

    Dism /online /Add-Package /Packagepath:C:\WINDOWS\servicing\Packages\Microsoft-OneCore-OpenSSH-ClientOnly-Package~31bf3856ad364e35~amd64~~10.0.21364.1.mum

    Dism /online /Add-Package /Packagepath:C:\WINDOWS\servicing\Packages\Microsoft-OneCore-OpenSSH-Common-Package~31bf3856ad364e35~amd64~~10.0.21364.1.mum

    Dism /online /Add-Package /Packagepath:C:\WINDOWS\servicing\Packages\OpenSSH-Client-Package~31bf3856ad364e35~amd64~~10.0.21364.1.mum

    Add-WindowsCapability -Online -Name "OpenSSH.Client~~~~0.0.1.0"

    If you then see this output after the last command, you have successfully installed the OpenSSH client feature:

    Temporary fix for the OpenSSH client feature install bug [Build 21364]-screenshot-2021-04-22-073246.png

    Attention:
    If you have got the feature installed and for whatever reason you want to temporarily remove it and then add it again, you run into the error again.

    Then repeat all of the steps of this fix.


    The bug was fixed in build 21370!



    Friendly greetings
    Last edited by Tekkie Boy; 29 Apr 2021 at 16:22.
      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 13:11.
Find Us




Windows 10 Forums