windows 10 安装openssh 0x800f0954 的一种解决方法

安装与卸载参考:https://docs.microsoft.com/zh-cn/windows-server/administration/openssh/openssh_install_firstuse

[C:\] system32 >Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Add-WindowsCapability : Add-WindowsCapability 失败。错误代码 = 0x80240438
所在位置 行:1 字符: 1
+ Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-WindowsCapability], COMException
    + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsCapabilityCommand

修改组策略 禁用  Specify intranet Microsoft update service location 重新安装

 

 

 参考:

https://github.com/MicrosoftDocs/windowsserverdocs/issues/2074

 

 

 

 

 

posted @ 2019-11-18 13:55  wolbo  阅读(5681)  评论(0编辑  收藏  举报