1. Restart Windows Update Services
- Open Command Prompt (Admin) and run:
net stop wuauserv
net stop bits
net start wuauserv
net start bits
- This ensures the update services are running correctly.
2. Clear Windows Update Components
- Open Command Prompt (Admin) and execute:
net stop wuauserv
net stop bits
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start bits
- This removes corrupted cache and allows fresh update downloads.
3. Run System File Checker (SFC) and DISM
- Open Command Prompt (Admin) and run:
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
- Repairs corrupted system files that may prevent updates from completing.
4. Check Pending Update Operations
- Press Win + R, type cmd, and press Enter.
- Run the following to check for pending file operations:
dism /online /cleanup-image /scanhealth
dism /online /cleanup-image /restorehealth
- This resolves incomplete or stuck update tasks.
5. Temporarily Disable Antivirus/Firewall
- Disable third-party security software.
- Retry Windows Update.
- Re-enable protection after updates are complete.
6. Boot in Safe Mode and Retry Update
- Go to Settings → Recovery → Advanced startup → Restart now.
- Boot into Safe Mode with Networking.
- Run Windows Update in Safe Mode to bypass file locks.
7. Manually Install Updates
- Visit the Microsoft Update Catalogue.
- Search for the KB number of the failed update.
- Download and install it manually.
8. Use Windows Update Assistant
- Download the Windows Update Assistant from Microsoft’s official site.
- Run the tool to bypass file lock or pending operation errors and install updates.