If the problem persists after following all three methods in this guide, the issue may be a corrupted Windows Imaging Component (WIC) or a failing storage drive. At that point, running an (installing Windows from a USB drive while keeping apps and data) is the recommended final step before a clean installation.
Stop the offending session. If you see WindowsUpdateTraceLog listed, stop it with: If the problem persists after following all three
Create a batch script or run these commands sequentially in an elevated Command Prompt: If the problem persists after following all three
Open an elevated Command Prompt. Press Win + X , then select "Terminal (Admin)" or "Command Prompt (Admin)." If the problem persists after following all three
(Optional) Delete the session entirely. To prevent it from reappearing on reboot (if corrupted), remove it: