Hi,
Have you run the script manually as a Backup Operators group member? Sometimes it requires administrator rights to install updates. You can add the Backup Operators to the local administrators and see if the script in the task can run normally.
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.