Workaround:
Method One: Log on as an administrator
Some updates require administrative privileges to be installed, and logging in as an administrator may help you solve the problem.
After you log on as an administrator, try to install the update again.
Method Two: Scan for malicious software
This error can also be caused by a malicious software infection. It is recommended that you hold down the left SHIFT key and then click reboot of the power supply, troubleshooting-Advanced options-Startup Settings-reboot, select 4 or F to enter safe Mode, uninstall the third party optimization software that you downloaded in Safe mode, and then use Windows Defender is scanned to detect and remove any detected malicious software. After the scan is complete, remove any detected malware entries, reboot back to normal mode, and try to install Windows Update again.