Uninstalling this 1.0.0.237 is straightforward with Device Manager
Now it’s gone, and we are ready to get the updates again. But, a strange thing happens, Windows update gets an 17MB update instead of faulty 8MB one.
It installs ok, with no further error in Windows Update.
So, uninstalling a faulty driver does not solve the problem, the updates still remain in Windows Update list so I try to remove them. Since they do not have KBid I tried to use UpdateId, and to get it I used this script:
$session = [activator]::CreateInstance([type]::GetTypeFromProgID(“Microsoft.Update.Session”,$ComputerName))
$us = $session.CreateUpdateSearcher()
$qtd = $us.GetTotalHistoryCount()
$hot = $us.QueryHistory(0, $qtd)
foreach ($Upd in $hot) {
$OutPut = New-Object -Type PSObject -Prop @{
‘ComputerName’=$computername
‘UpdateDate’=$Upd.date
‘KB’=[regex]::match($Upd.Title,’KB(\d+)’)
‘UpdateTitle’=$Upd.title
‘UpdateDescription’=$Upd.Description
‘SupportUrl’=$Upd.SupportUrl
‘UpdateId’=$Upd.UpdateIdentity.UpdateId
‘RevisionNumber’=$Upd.UpdateIdentity.RevisionNumber
}
Write-Output $OutPut
}
You get output like this:
ComputerName :
UpdateDate : 3.10.2024. 14:17:58
RevisionNumber : 1
SupportUrl : http://support.microsoft.com/select/?target=hub
UpdateTitle : Hewlett-Packard - USB - 4/8/2019 12:00:00 AM - 1.0.0.237
KB :
UpdateDescription : Hewlett-Packard USB driver update released in April 2019
UpdateId : c8f538e2-fb7a-4c43-a122-c2ca9390b3f2
ComputerName :
UpdateDate : 3.10.2024. 7:01:23
RevisionNumber : 1
SupportUrl : http://support.microsoft.com/select/?target=hub
UpdateTitle : Hewlett-Packard - USB - 4/8/2019 12:00:00 AM - 1.0.0.237
KB :
UpdateDescription : Hewlett-Packard USB driver update released in April 2019
UpdateId : 4efe8a54-e7cd-4146-a2ff-86f34d9ca5ac
ComputerName :
UpdateDate : 3.10.2024. 7:01:23
RevisionNumber : 1
SupportUrl : http://support.microsoft.com/select/?target=hub
UpdateTitle : Hewlett-Packard - USB - 4/8/2019 12:00:00 AM - 1.0.0.237
KB :
UpdateDescription : Hewlett-Packard USB driver update released in April 2019
UpdateId : 45c8e9e6-cea0-4a02-8959-9ea5fef85a22
Collect all unique UpdateIDs for the 1.0.0.237:
c8f538e2-fb7a-4c43-a122-c2ca9390b3f2
4efe8a54-e7cd-4146-a2ff-86f34d9ca5ac
45c8e9e6-cea0-4a02-8959-9ea5fef85a22
And tried to remove them with:
Remove-WindowsUpdate -UpdateID "4efe8a54-e7cd-4146-a2ff-86f34d9ca5ac"...
No luck.
In conclusion, this is a Microsoft’s problem, inability to remove update package without KB id should be possible. Until then hiding is the only option.