I have been having trouble with Windows update failing repeatedly for several months. Every time I restart to complete installing an update, the computer prepares the update, shuts down, and restarts normally, but when it is installing the updates, it stops at around 82% every time. The circle on the screen freezes, and it stays this way for up to 24 hours. Normally at that point, I hold the power button on my desktop to force it to restart. Then it says it's restoring the previous version of windows. The next time I attempt to update my PC, the same thing happens. Is there anything I can do to stop this and complete the updates? I have been researching this problem online but haven't found any solutions that worked.
I tried the steps listed here, but they didn't work for me: https://answers.microsoft.com/en-us/windows/forum/windows_10-update/windows-10-update-stuck-at-82-percent-for-two-days/d7dffdef-9f81-415e-aae5-73fb45dc97ec
When I entered the commands listed at the above link, I got a message that said "System Error 5 has occured. Access is denied."