Hello Wrab211,
I'm Jin, a fellow Windows 10 user and an independent advisor. I can see that you are having an error: 0x800f0831 while trying to install KB4549951 update..
In the meantime, you can start off by running the Windows Update troubleshooter and check if it will went through.
https://support.microsoft.com/help/4027322
Windows also has a built-in System File Check (SFC), kindly run SFC tool and see if will help with the problem.
- Run command prompts as administrator.
- Type the command SFC /SCANNOW then hit Enter.
- Let the scan complete and it will automatically will fix if there would be any corrupted data.
If this doesn't work, you clear the Windows Update cache before attempting to update your Windows.
- Restart computer and boot up in Safe Mode. To boot to safe mode: https://support.microsoft.com/help/12376/
- In Safe Mode, Run command prompt as Administrator.
- Type: net stop wuauserv and hit Enter.
- Type: net stop cryptsvc and hit Enter.
- Open file explorer and go to C:\Windows and find SoftwareDistribution and delete this folder.
- Go back to command prompt and type: net start wuauserv and hit Enter
- Type: net start cryptsvc and hit Enter.
- Restart your computer.
You can also manually download the update from Microsoft Update Catalog:
http://www.catalog.update.microsoft.com/Search....
Select the exact update to download and install.
If the issue still continues, you can do it manually by downloading the Windows Update assistant.
https://www.microsoft.com/software-download/win...
Click on Update Now button to download assistant.
I hope this helps.
Dear Readers
This is the same old same old that gets wheeled out every time a Microsoft security update fails to install itself
So, what we have is an identified vulnerability known to Microsoft & the system hackers & no good way to fix it
Clearly the updates are all failing for similar reasons on many many machines due to same failure codes shown
So, let’s be clear
Using a batch file script or manually deleting or renaming the software distribution & Catroot2 folder isn't a fix
it only forms part of a list of items in the war-chest of solutions to resolve a flaky & unreliable update system
here is the list of items I have done for this and previous updates that refuse 2 install either automatic / manually
To start with the media of your hard drive, & the installed software should be error free before you start updates
Open a command prompt as administrator run Chkdsk c: /f /x /r for C Drive answer y to the prompt to schedule
Repeat the command substituting the drive letter for every drive letter in the system, reboot & wait till finished
This takes a considerable amount of time, but will remove disk & file errors at a system level from the equation
Then ensure the system file integrity of your system by sfc /scannow if there's errors keep running till it is resolved
then you can check & resolve outstanding issues with your image by dism /online /cleanup-image /restorehealth
If your system got to this point with no issues as the vast majority will that's great news if not the system is better
Now you are ready to attack this from the operating system level with simple checks and process to follow below
Ensure all previous system service stacks have been installed, and install the latest one if it has not been done yet
Then run the windows 10 update trouble shooter start settings update & security troubleshoot windows update
Let this run to completion allow the fixes if any to be applied you'll need to reboot your PC to reinitialize (later)
Just in case there is a file attribute error causing a write error for an existing file you can eliminate this by doing
Open a command prompt as administrator cd \ & enter to go to root directory & then run attrib *.* /s -r -a -s -h
This will go on for some time and quite a few locked system files will return an access denied response this is OK
Now you can reboot your system do NOT launch any additional applications or software minimization is the key
Now go to your firewall and AV software and ensure the Microsoft update is not on their block or quarantine list
Now download the update from the Microsoft catalog then go to the file location click on properties & unblock
Next you need to eliminate system software & internet processes from intervening in the update install process
Disconnect the network cable from your PC, then disable and exit from all aftermarket AV & firewall software
Disable Windows AV & firewall if used Start, settings, Update & Security, Windows security, Virus & Firewall ect
Now you are ready to rename & recreate the Software Distribution & Catroot2 folders ready for clean updating
Cut and paste this script below into notepad, save as update-reset.bat and then run with administrator privilege
@echo off
cls
c:
cd \
net stop wuauserv
net stop AppIDSvc
net stop cryptSvc
net stop bits
net stop msiserver
rmdir /s /q C:\Windows\SoftwareDistribution.old
attrib -r -a -s -h C:\Windows\SoftwareDistribution
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
mkdir C:\Windows\SoftwareDistribution
rmdir /s /q C:\Windows\System32\catroot2.old
attrib -r -a -s -h C:\Windows\System32\catroot2
Ren C:\Windows\System32\catroot2 Catroot2.old
mkdir C:\Windows\System32\catroot2
net start wuauserv
net start AppIDSvc
net start cryptSvc
net start bits
net start msiserve
Now you're ready to run the standalone installer for the Microsoft update that was not previously installing for you
Observe the dialog box for the duration of the install noting errors & if where the install fails ie start middle end.
When you finish if this helped great if not you are in the same basket as me waiting for Microsoft to get it right
If anyone has a real solution that actually works / work around so we don't need the Microsoft update give over
C’mon Microsoft don't wait for us to switch to Linux 'cause you can't make a functional patch for a broken system.
Waving Goodbye
Windows Fan