HomeWindowsHow to Fix 0x800f0831 Windows Update Error When Updating

How to Fix 0x800f0831 Windows Update Error When Updating

-

Key Takeaways
  • Error 0x800f0831 can prevent Windows updates, caused by conflicts with third-party software, low disk space, corrupted system files, or Windows Update components.
  • Use SFC and DISM scans to fix corrupted system files, reset Windows Update components, run Windows Update Troubleshooter, reset network configuration, or clean boot your PC.
  • Manually install updates by searching for the KB number, downloading from Microsoft Update Catalog, and following on-screen instructions to resolve the Windows Update Error 0x800f0831.

Facing Error 0x800f0831 while trying to update your Windows? This issue was recently encountered by many users while trying to update Windows. Due to this update, Windows wonโ€™t get updated on your PC. If you arenโ€™t getting any updates on your PC, then this error might be why.ย 

This issue can be triggered for various reasons like conflicting third-party software, less disk space, corrupted system files, issues with Windows Update components, and more.

Fix 0x800f0831 Windows Update Error

Letโ€™s discuss all the troubleshooting steps to fix Windows Update Error 0x800f0831.

How to Fix 0x800f0831 Windows Update Error When Updating

Use SFC Scan and DISM Scan

You are likely to face this issue if the system files are corrupted. Run an SFC scan to fix corrupted system files, which will fix the issue. Given below are the steps to do so-

  • Pressย Windows + Rย keys together to open theย Run Dialog Box.ย 
  • Typeย cmdย in theย Run Dialog Boxย and pressย Ctrl + Shift + Enterย to run Command Prompt with administrative privileges.ย 

Run Dialog Box

  • In theย Command Promptย window, typeย sfc /scannowย and pressย Enterย to execute it.ย 
  • Wait for the SFC scan to run, and restart your PC once the process is completed.ย 

SFC Scannow

SFC scan should most probably fix the issue, but if it doesnโ€™t, then run the DISM scan by following the steps given below-

  • Open theย Start Menuย on your PC.ย 
  • Search for CMD, right-clickย Command Promptย from the search result, and then clickย Run as Administrator.ย 
  • Now, execute the following commands one after another-
    • DISM /Online /Cleanup-Image /CheckHealth
    • DISM /Online /Cleanup-Image /ScanHealthย 
    • DISM /Online /Cleanup-Image /RestoreHealth

DISM

  • Restart your PC after executing the above commands.ย 

Reset Windows Update Components

If somethingโ€™s wrong with the Windows Update Components, then that may also cause this issue. You can restart the Windows Update components to fix this issue. To do so, follow the steps given below-

  • Press theย Windowsย key on your keyboard to openย Start Menu.ย 
  • Typeย Command Prompt, select it, and then clickย Run as administrator.ย 

How to Fix the Windows Update Error 0x800f0831?

  • In the Command Prompt window, run the commands given below one-by-one-
    • net stop wuauserv
    • net stop bits
    • net stop cryptsvc
    • net start wuauserv
    • net start bits
    • net start cryptsvc
    • %systemroot%SoftwareDistributionSoftwareDistribution.bak
    • %systemroot%system32catroot2catroot2.bak
    • net start bits
    • net start wuauserv
    • net start appidsvc
    • net start cryptsvc
  • Once done, close Command Prompt. This will restart the Windows Update Component.ย 

Run Windows Update Troubleshooter

Windows have the troubleshooter, an in-built tool to fix issues you might face on your PC. You can run the Windows Update Troubleshooter if you face Windows Update Error 0x800f0831. This can be done by following the steps given below-

  • Open theย Settingsย app on your PC; this can be done by pressingย Windows + Iย keys together.ย 
  • Click on theย Systemย tab on the left, and then on the right, click onย Troubleshootย option.ย 

Troubleshoot

  • Next, click onย Other Troubleshooters.ย 

  • Look forย Windows Updateย troubleshooter from the list of troubleshooters; click on theย Runย button next to it to run the Windows Update Troubleshooter.ย 

Run Windows Update

Reset Network Configuration

If your internet is slow and unstable, then that can also cause an update error 0x800f0831. You can reset the network configuration to fix the issue. To do so, follow the steps given below-

  • Pressย Windowsย key on your keyboard, and then typeย CMD.ย 
  • From the search results, right-click onย Command Promptย and then onย Run as Administrators.ย 
  • Here, type and execute the following commands one by one-
    • type netsh winsock reset
    • netsh int ip reset
    • ipconfig /release
    • ipconfig /renew
    • ipconfig /flushdns

Flush DNS

  • Once done, close the Command Prompt and try updating your PC again.ย 

Clean Boot Your PC

Sometimes the issue may be with your PCโ€™s third-party apps and services. Such services and apps may conflict with the Windows Update and cause error 0x800f0831. You can clean and boot your PC as this will start without any third-party services and apps, and you will be able to update Windows. To do so, follow the steps given below-

  • Click on theย Startย icon at the taskbar. In theย Start Menu, typeย System Configurationย and then pressย Enterย to open it.ย 

How to Fix the Windows Update Error 0x800f0831?

  • In theย System Configurationย window, click onย the Servicesย tab.ย 
  • Check theย Hide all Microsoft Servicesย checkbox and then click theย Disable Allย button.

Disable All

  • Click on theย Startupย tab, and then click onย Open Task Manager.ย 

Open Task Manager

  • You will see a list of programs that starts when your PC boots up; you will have to disable them.ย 
  • Select the first startup program and then click onย Disable. Similarly, disable all the programs listed here.ย 

Disable All

  • Restart your PC to boot it without third-party services and startup programs. You should now be able to update the Windows.ย 

Manually Install Updates

If you are still unable to install the updates, you can try manually installing the updates on your Windows PC. You can manually download and install the updates through the Microsoft Update Catalog, but you will need the KB number. If you donโ€™t know what that is and whatโ€™s the process to install the Windows update manually, then you can follow the steps given below-

  • Pressย Windows + Iย key combo to openย Settings.ย 
  • Click onย Windows Updateย on the left, and then on the right, click onย Check for Updates.ย 

Check For Updates

  • You will see the update here. To the right of the update will be the KB number written in brackets. The KB number will start with the lettersย KBย with seven numbers next to it; copy this number.ย 
  • Now, click thisย linkย to head to theย Microsoft Update Catalogย website.ย 
  • In the search bar, type the KB number and clickย the Searchย button.

Search

  • All the related search results will be listed here; click on theย Downloadย button next to the update you want to download.ย 

Download

Noteโ€“ Download and install the update compatible with your system. You must check your systemโ€™s architecture, i.e., 64-bit or 86-bit.

  • Once the update has been downloaded, head to where the file is saved and double-click on the downloaded file to run the setup.ย 
  • You can now follow the on-screen instructions to install the update manually.ย 

Conclusion

These were all the troubleshooting steps to fix Windows Update Error 0x800f0831. If you have been getting this error while updating your Windows, the above guide will help you fix it. Follow the steps above to fix the issue you have been facing with Windows Update.ย 

ALSO READ:

Anurag Jain
Anurag Jainhttps://itechhacks.com
Anurag is a Senior content analyst with 4 years of experience in the industry. Based in India, He is extremely skilled at Windows related to How to Troubleshooting matters. His favorite topics are Windows 11, Android, and How To's.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

LATEST