If the error occurs in connection with an update or upgrade, try resetting the update components. First start the command line as an administrator with [Ctrl] + [R] and then [Ctrl] + [Shift] + [Enter].
Step 1: Enter the following commands and confirm each one with [Enter]:
- net stop wuauserv
- net stop cryptSvc
- net stop bits
- net stop msiserver
- ren C:\\Windows\\SoftwareDistribution SoftwareDistribution.old
- ren C:\\Windows\\System32\\catroot2 Catroot2.old
Step 2: This will disable your update components. Use the following commands to restart the components. Each command must be confirmed with [Enter]:
- net start wuauserv
- net start cryptSvc
- net start bits
- net start msiserver
Step 3: After rebooting, try to update your system again.
If the above solutions do not help, you can also try restoring the computer to a previous restore point. To do this, however, you must have enabled the automatic creation of restore points beforehand. To reset to a previous system state, go to “System and Security” > “Security and Maintenance” > “Restore”. If the error severely affects your system, the last step you can take is resetting Windows 10 or resetting Windows 11. However, all your data, programs and settings will be lost. So, make a backup of your important files beforehand.