[SOLVED] Error Code 800F0831 when installing updates on Server 2012 R2

Step#1 - Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running while you perform the next steps.
2. Try installing the update just like you have in the past.
3. Stop Process Monitor as soon as it fails. You can simply do this by clicking the magnifying glass on the toolbar as shown below.
11908d1430506241-windows-updates-fail-repeatedly-stop-jpg


4. Select the File menu...Save... and save the file to your desktop. This is likely the default location. The name (unless changed) will be LogFile.PML. This is fine.
5. Zip up and attach the LogFile.PML file as well as your CBS.log

Done: DropMeFiles – free one-click file sharing service
 
Thanks. I believe I have uncovered one of the errors:

SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.



  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put
    Code:
    tags around the log to break up the text.


Please attempt the same update and attach CBS.log if it fails.
 

Attachments

Thanks. I believe I have uncovered one of the errors:

SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.



  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put tags around the log to break up the text.


Please attempt the same update and attach CBS.log if it fails.

Done:
Code:
SFCFix version 3.0.0.0 by niemiro.Start time: 2018-08-30 18:26:05.633
Microsoft Windows Server 2012 R2 Update 3 - amd64
Using .zip script file at C:\Users\a.kazak\Downloads\Windows 2012 R2 Updates\800F0831\2018-08-30\SFCFix.zip [0]


PowerCopy::
Successfully took permissions for file or folder C:\Windows\winsxs


Successfully created directory tree \\?\C:\Windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.19094_none_dae08fa05bc4d7b0.
Successfully created directory tree \\?\C:\Windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.9600.19094_none_eb8f20bbc2befe09.
Successfully created directory tree \\?\C:\Windows\winsxs\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.19094_none_933358c94748aeaa.
Successfully created directory tree \\?\C:\Windows\winsxs\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.9600.19094_none_a3e1e9e4ae42d503.


Successfully copied file C:\Users\a.kazak\AppData\Local\niemiro\Archive\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.19094_none_dae08fa05bc4d7b0\GdiPlus.dll to C:\Windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.19094_none_dae08fa05bc4d7b0\GdiPlus.dll.
Successfully copied file C:\Users\a.kazak\AppData\Local\niemiro\Archive\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.9600.19094_none_eb8f20bbc2befe09\GdiPlus.dll to C:\Windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.9600.19094_none_eb8f20bbc2befe09\GdiPlus.dll.
Successfully copied file C:\Users\a.kazak\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.19094_none_933358c94748aeaa\GdiPlus.dll to C:\Windows\winsxs\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.19094_none_933358c94748aeaa\GdiPlus.dll.
Successfully copied file C:\Users\a.kazak\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.9600.19094_none_a3e1e9e4ae42d503\GdiPlus.dll to C:\Windows\winsxs\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.9600.19094_none_a3e1e9e4ae42d503\GdiPlus.dll.


Successfully restored ownership for C:\Windows\winsxs
Successfully restored permissions on C:\Windows\winsxs
PowerCopy:: directive completed successfully.


Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 5 datablocks.
Finish time: 2018-08-30 18:26:12.611
Script hash: FonR9DEU4HJ9rSw22NgxmRmVQVWFKptfNxBmcya+qAE=
----------------------EOF-----------------------

WU output:
2018-08-30_18h32_21.png

CBS folder: DropMeFiles – free one-click file sharing service
 
Try only KB3172729 with ProcMon enabled and provide CBS folder and ProcMon log if it fails.

Thank you for your patience with this. This is a very complex corruption to fix, but we're determined.
 
Please provide an updated copy of your COMPONENTS hive when able:

Retrieve Components Hive
1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
2. Please copy this file to your desktop.
Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
3. Right-click on this file on your desktop and select Send To...Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
4. The file will likely be too large to upload here so please upload to a file sharing service and just provide the link here.
 
Please provide an updated copy of your COMPONENTS hive when able:

Retrieve Components Hive
1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
2. Please copy this file to your desktop.
Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
3. Right-click on this file on your desktop and select Send To...Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
4. The file will likely be too large to upload here so please upload to a file sharing service and just provide the link here.

Done: DropMeFiles – free one-click file sharing service
 
Thanks! That helped!

SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.


  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the attached file, SFCFixScript.txt, and save this to your Desktop. Ensure that this file is named SFCFixScript.txt - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFixScript.txt.
  5. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a log should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.



Afterwards, please try installing the same update (just that one) with ProcMon enabled and provide CBS folder and PML.log if it fails.
 

Attachments

Thanks! That helped!

SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.


  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the attached file, SFCFixScript.txt, and save this to your Desktop. Ensure that this file is named SFCFixScript.txt - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFixScript.txt.
  5. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a log should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.



Afterwards, please try installing the same update (just that one) with ProcMon enabled and provide CBS folder and PML.log if it fails.

SFCFix output:
Code:
SFCFix version 3.0.0.0 by niemiro.Start time: 2018-09-02 09:41:27.212
Microsoft Windows Server 2012 R2 Update 3 - amd64
Using .txt script file at C:\Users\a.kazak\Downloads\Windows 2012 R2 Updates\800F0831\2018-09-02\SFCFixScript.txt [0]

RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Catalogs.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments\36e8feeec72..39a1a3ff345_31bf3856ad364e35_6.3.9600.18223_e0d44760c63bd581.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..randprintui-asyncui_31bf3856ad364e35_6.3.9600.18223_none_6cdf61eec5eda0df.


Successfully imported registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Catalogs\c1e26e4c936bd908ac24dbfef249144ed4c3e382eb23a700c4e1817e5a43a51c.
Successfully imported registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments\36e8feeec72..39a1a3ff345_31bf3856ad364e35_6.3.9600.18223_e0d44760c63bd581.
Successfully imported registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..randprintui-asyncui_31bf3856ad364e35_6.3.9600.18223_none_6cdf61eec5eda0df.


Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Catalogs\c1e26e4c936bd908ac24dbfef249144ed4c3e382eb23a700c4e1817e5a43a51c.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Catalogs.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments\36e8feeec72..39a1a3ff345_31bf3856ad364e35_6.3.9600.18223_e0d44760c63bd581.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-p..randprintui-asyncui_31bf3856ad364e35_6.3.9600.18223_none_6cdf61eec5eda0df.
RegistryScript:: directive completed successfully.


Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 8 datablocks.
Finish time: 2018-09-02 09:41:27.806
Script hash: 5zBKm9c6PwD5garRbnXPH4cWqCZRqGyZAZEriCjQphI=
----------------------EOF-----------------------

WU output:
2018-09-02_10h19_11.png

CBS folder and PML.log: DropMeFiles – free one-click file sharing service
 
SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.


  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the attached file, SFCFixScript.txt, and save this to your Desktop. Ensure that this file is named SFCFixScript.txt - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFixScript.txt.
  5. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a log should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.


Afterwards, please try installing the same update (just that one) with ProcMon enabled and provide CBS folder and PML.log if it fails.
 

Attachments

SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.


  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the attached file, SFCFixScript.txt, and save this to your Desktop. Ensure that this file is named SFCFixScript.txt - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFixScript.txt.
  5. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a log should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.


Afterwards, please try installing the same update (just that one) with ProcMon enabled and provide CBS folder and PML.log if it fails.

SFCFix output:
Code:
SFCFix version 3.0.0.0 by niemiro.Start time: 2018-09-03 07:20:47.706
Microsoft Windows Server 2012 R2 Update 3 - amd64
Using .txt script file at C:\Users\a.kazak\Downloads\Windows 2012 R2 Updates\800F0831\2018-09-03\SFCFixScript.txt [0]


RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_556_for_KB4038792~31bf3856ad364e35~amd64~~6.3.1.3.


Successfully imported registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_556_for_KB4038792~31bf3856ad364e35~amd64~~6.3.1.3.
Successfully imported registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_556_for_KB4038792~31bf3856ad364e35~amd64~~6.3.1.3\Owners.


Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_556_for_KB4038792~31bf3856ad364e35~amd64~~6.3.1.3.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_556_for_KB4038792~31bf3856ad364e35~amd64~~6.3.1.3\Owners.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_556_for_KB4038792~31bf3856ad364e35~amd64~~6.3.1.3.
RegistryScript:: directive completed successfully.


Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 11 datablocks.
Finish time: 2018-09-03 07:20:47.752
Script hash: 5V7DYO4cT2fPZ/loDIXrJ5Otelntq/nlW+yKOBrphQo=
----------------------EOF-----------------------

WU output:
2018-09-03_07h27_40.png

CBS folder and PML.log: https://dropmefiles.com/1ZkRu
 
SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.



  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put
    Code:
    tags around the log to break up the text.


Afterwards, please try installing the same update (just that one) with ProcMon enabled and provide CBS folder and PML.log if it fails.
 

Attachments

SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.



  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put tags around the log to break up the text.


Afterwards, please try installing the same update (just that one) with ProcMon enabled and provide CBS folder and PML.log if it fails.

SFCFix output:
Code:
SFCFix version 3.0.0.0 by niemiro.Start time: 2018-09-04 06:56:57.332
Microsoft Windows Server 2012 R2 Update 3 - amd64
Using .zip script file at C:\Users\a.kazak\Downloads\Windows 2012 R2 Updates\800F0831\2018-09-04\SFCFix.zip [0]


PowerCopy::
Successfully took permissions for file or folder C:\Windows\Servicing\Packages


Successfully copied file C:\Users\a.kazak\AppData\Local\niemiro\Archive\Packages\package_556_for_kb4038792~31bf3856ad364e35~amd64~~6.3.1.3.mum to C:\Windows\Servicing\Packages\package_556_for_kb4038792~31bf3856ad364e35~amd64~~6.3.1.3.mum.
Successfully copied file C:\Users\a.kazak\AppData\Local\niemiro\Archive\Packages\package_557_for_kb4038792~31bf3856ad364e35~amd64~~6.3.1.3.cat to C:\Windows\Servicing\Packages\package_557_for_kb4038792~31bf3856ad364e35~amd64~~6.3.1.3.cat.


Successfully restored ownership for C:\Windows\Servicing\Packages
Successfully restored permissions on C:\Windows\Servicing\Packages
PowerCopy:: directive completed successfully.


Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 12 datablocks.
Finish time: 2018-09-04 06:57:01.091
Script hash: IMtsTJ1GUlTjmalRaqqCfZFaR3aVe6prNEwZSHISzUo=
----------------------EOF-----------------------

WU output:
2018-09-04_07h46_23.png

CBS folder and PML.log: DropMeFiles – free one-click file sharing service
 
Also, please tell me if the following key is present:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackageIndex\Microsoft-Windows-Common-Drivers-Package-drivers~31bf3856ad364e35~amd64~~0.0.0.0
 
Install Update with DISM



  1. Download the attached update and save to your desktop. The file name will be Windows8.1-KB3083711-x64.cab.zip.
  2. Right-click on this file and select Extract All... Click the Extract button. You can close the folder window that opens
  3. Click on the Start button and in the search box, type Command Prompt
  4. When you see Command Prompt on the list, right-click on it and select Run as administrator. Go ahead and allow if you receive the UAC prompt.
  5. Copy and paste the following command into the command prompt window and press enter.

    dism /online /add-package /packagepath:%userprofile%\desktop\Windows8.1-KB3083711-x64.cab
  6. You should receive the message:
    The operation completed successfully.
    Restart Windows to complete this operation. <---You may not get this line.
    Do you want to restart the computer now (Y/N)? <---You may not get this line.





Go ahead and do so if prompted. Let me know what errors if any come up. If you do get errors, please zip/attach your CBS.log
 

Attachments

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top