how do I fix error code (0x800f0831) on pc

how do i fix error code (0x800f0831) on pc when i try to download a update on windows

i tried restarting did not work
i tried getting windows 11 i cant get windows 11 because my pc isn't compatible for it
can anyone help me with this because when i play games my screen keeps on flashing black because of this i can answer any questions or what you said if it did not work
im on windows 10

Hi, Hey Im Kloud!

Welcome to the Microsoft Community!

 

 

Don't worry. I will work with you to resolve the issue.

Understand the problem you are experiencing. Error code 0x800f0831 is usually related to Windows updates, and you also mentioned the problem of screen flickering when playing games. Let's solve these problems step by step:

1. Fix error code 0x800f0831:

a. Run the Windows Update Troubleshooter:

- Open "Settings" > "Update & Security" > "Troubleshoot" > "Windows Update"

- Run the troubleshooter and follow the prompts

b. You can also reset the update cache file and try to update again:

  • Search for CMD, find the command prompt, and choose Run as administrator

  • Enter the following commands in sequence, pressing Enter after each line:

net stop bits
net stop wuauserv
net stop cryptsvc
ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
ren %systemroot%\System32\catroot2 catroot2.old
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
net start bits
net start wuauserv
net start cryptsvc

2. About Windows 11 compatibility:

- Don't worry, Windows 10 will continue to be supported until 2025

- If your PC is not compatible with Windows 11, it is completely fine to continue using Windows 10

3. Screen flickering problem when playing games:

a. Update graphics card driver:

- Visit the website of the graphics card manufacturer (such as NVIDIA, AMD or Intel)

- Download and install the latest driver (if it doesn't work, you can also try to download an older version)

b. Check display settings:

- Right-click on the desktop > Display settings

- Make sure the refresh rate is set correctly

c. Disable fullscreen optimization:

- Right-click on the game executable file > Properties > Compatibility

- Check "Disable fullscreen optimization"

d. Check game settings:

- Adjust the graphics settings in the game, try to lower some settings

If the above steps still result in an error, it may be because many cumulative updates are missing that caused your Windows update to fail. You can try using Media Create Tools to repair and update your computer.

Disclaimer: Let's try to perform an on-site installation or update that will update Windows files and operating system without deleting files or applications. That said, we always recommend that if you have important data, you back it up before making any major changes to the system. If you want to back up your data first, do so.

Once you're done backing up, you can follow the steps in the following guides:

How to perform an In-place Upgrade with Windows 10 Step-by-Step Guide - Microsoft Community

I hope above information can help you. If you have any questions, feel free to let me know. Tell me the results and I will get back to you as soon as possible. I look forward to hearing from you. Thank you for your understanding and support! 

 

 

Best Regards,

Yang.Z - MSFT | Microsoft Community Support Specialist

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

1-a didn't work

1-b didn't work

(after about a week) my pc suddenly allowed me to update it fully it restarted several times and gave me an introduction while it gets finished all of my files and stuff didn't change so in the end my pc is now up to date

thank you for the help and your time Yang.Z - MSFT

and sorry for not responding for a long time

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 17, 2025 Views 1,259 Applies to: