0x800f0831: Windows Update error
Most likely cause: Corrupted or missing files in the Windows Component Based Servicing (CBS) store
Try first: Run the built-in Windows Update troubleshooter (Settings app)
Likely causes
- Corrupted or missing files in the Windows Component Based Servicing (CBS) storemost likely
- Incomplete or damaged update download cachepossible
- Third-party software interfering with the update processless likely
How to fix it
Run the built-in Windows Update troubleshooterSafe
Open Settings > Update & Security > Troubleshoot > Other troubleshooters and run Windows Update. This checks for common issues without changing files.
Settings appRestart the Windows Update servicesChanges settings
Open an admin Command Prompt and run the commands to stop, reset, and restart the update-related services. This clears temporary blocks but does not delete your files.
net stop wuauserv && net stop bits && net stop cryptSvc && net stop msiserverRepair the component store with DISMChanges settings
In an admin Command Prompt run DISM /Online /Cleanup-Image /RestoreHealth. This scans and repairs the CBS store using Windows Update itself; it can take 10-20 minutes and requires internet.
DISM /Online /Cleanup-Image /RestoreHealth⚠ Do not interrupt the command; close other programs first.
If that didn't fix it
Run sfc /scannow in an admin Command Prompt after the DISM step completes.
When to see a technician
Contact a technician if the error continues after running the DISM repair and SFC scan, especially on a work or school PC where policies may block updates.
Quick answers
- What does 0x800f0831: Windows Update error mean?
- This is a Windows Update failure that usually means the update process cannot find or process required component files, often because the internal Windows component store is damaged or an update package is incomplete.
- What causes 0x800f0831: Windows Update error?
- Corrupted or missing files in the Windows Component Based Servicing (CBS) store. (most likely) Incomplete or damaged update download cache. (possible) Third-party software interfering with the update process. (less likely)
- How do I fix 0x800f0831: Windows Update error?
- Try these in order, safest first: 1. Run the built-in Windows Update troubleshooter. 2. Restart the Windows Update services. 3. Repair the component store with DISM.
- What if that didn't fix it?
- Run sfc /scannow in an admin Command Prompt after the DISM step completes.
- When should I see a technician?
- Contact a technician if the error continues after running the DISM repair and SFC scan, especially on a work or school PC where policies may block updates.