[wpkg-users] SSH installation time for Win11 24H2+ ...

Adam Thorn alt36 at cam.ac.uk
Wed Aug 26 13:34:26 CEST 2026


On 25/08/2026 20:35, Marco Gaiarin wrote:
> 
> I was used to use a recipe that install OpenSSH on windows, from win 10 and
> subsequent.
> 
> 
> But for recent Win11 version (i suppose 24H2, surely for 25H2) the command:
> 
> 	<install cmd='powershell -command "Get-WindowsCapability -Online | Where-Object {$_.Name -Like \"OpenSSH.Server*\"} | Add-WindowsCapability -Online | Out-Null"' >
> 
> took a HUGE amount of time to complete; on a decently recent box, 25-30
> minutes, on a underpowered/old one 40+ minutes.


https://github.com/PowerShell/Win32-OpenSSH/discussions/2437 looks
relevant , and I fear the answer is "because that's how enabling Windows
Features works"

(possibly also https://techcommunity.microsoft.com/discussions/
windows11/why-is-add-windowscapability-so-slow-for-rsat/4076732 -
similar comments about Add-WindowsCapability being really slow for
installing the RSAT tools)

The thread does comment about it being much faster to just install
OpenSSH-Win32-v10.0.0.0.msi  which I think comes from https://
github.com/powershell/win32-openssh/releases , but I don't know if there
are any differences in directly installing the MSI versus enabling the
feature/capability.

Adam


More information about the wpkg-users mailing list