Small update : I created this bare bones VBS :
Set AutomaticUpdates = CreateObject(“Microsoft.Update.AutoUpdate”)
AutomaticUpdates.detectnow()
And it’s the same problem - so it’s a problem with the Microsoft Update service and not really with the script…