Error 0x8024A000 on windows_updates.vbs

I depends on your configuration of the Windows update service on this machine.
If it is configured that it only searches interactively for updates than it is clear that you can search and install updates manually without problem but the script throws errors.