Does not work on Windows 2016, updates not downloaded so won't be deployed
I've created a update package with SharpWSUS but on the WSUS server it seems to be non-downloadable, what's wrong?

@CaledoniaProject The problem is that the binary you specified is not copied to the right location - this is a bug in the app. If you look in the update information, you'll see the path being something like
http://hostname:8530/Content/23/1234.exe
However, there's nothing at that URL. What you need to do is manually copy your executable into that directory, for example
C:\Wsus\WsusContent\23\1234.exe
You can find the exact URL by looking into the logfiles:
$(get-eventlog -logname "Application" -newest 10 -instanceid 364).message
Or with a bit of powershell
[void][reflection.assembly]::LoadwithPartialName(“Microsoft.UpdateServices.Administration”)
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer()
$updates = $wsus.GetUpdates()
Foreach ($u in $updates){
(($u.GetInstallableItems() | Select-Object -ExpandProperty Files).FileURI).AbsoluteURI
}
Just being curious, is C:\Wsus a canonical path designated by Windows or defined by SharpWSUS?
Just being curious, is
C:\Wsusa canonical path designated by Windows or defined by SharpWSUS?
It's neither, but it's typically where sysadmins store WSUS database (and content).
@lorenzog I found the file path with powershell get-eventlog command, I copied psexec64.exe to that path.
Now I clicked on Retry Download, and the file is automatically removed, and the status entered Failed again. Do you know what's wrong?