What's new

[Server2012R2Essentials] Errors installing updates and Dot Net 4.7

phantom

Well-known member
Joined
Oct 17, 2017
Posts
154
Hi

We first noticed the errors after we tried to install Dot Net 4.7, which failed. We subsequently saw that all the available windows updates would not install successfully.
The windows update history indicates that the following updates all fail with error code: 8007371B:
Dot Net 4.7 KB3186539, KB4041693, KB4043767, KB4041085

However there are other updates such as the MSRT KB890830 and updates for Windows Server KB4033428, KB3102429, KB3172614 that have succeeded to install. We have also installed C++ and SQL server successfully. Although the SQL server service fails to start.

Attached is the SFCFix.txt and here's the CBS folder: WeTransfer

I have attempted to restore the server to a previous point from the backup, and the problem still persists.

Thank you in advance for your assistance
 

Attachments

BrianDrab

Administrator, Windows Update Instructor, Security Analyst
Staff member
Joined
Oct 20, 2014
Posts
17,770
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

Hi and welcome to Sysnative. Sorry for the delay. Are you still in need of assistance?
 

phantom

Well-known member
Joined
Oct 17, 2017
Posts
154
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

Yes please.

We still get errors installing updates. It appears there are corrupt system files that Dism and sfc can't fix, even when providing the windows server cd.
 

BrianDrab

Administrator, Windows Update Instructor, Security Analyst
Staff member
Joined
Oct 20, 2014
Posts
17,770
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

Please start with the following.

Retrieve Components/Software Hives
Note: The Software have has confidential and sensitive information in it so please send me a PM with a link to that particular hive so it's not in the public form.
  • Please download the Freeware RegBak from here: Acelogix Software - Download products
    You will find it at the bottom of the page that the link brings you to.
  • Go ahead and install this program and accept all the defaults. After the last install screen the program should open.
  • Click the New Backup button. Accept the defaults and simply click Start.
  • When it says Finished successfully, click the Close button.
  • This will bring you back to the main screen of the program. You will see one entry in this list with the date that you did it. Right-click on this line-item and select Explore Backup...
  • This will bring you into the folder where the backup was made. You should see a Users folder and a Windows folder along with a couple other files. Double-click on the Windows folder to open it. Then open the System32 folder and then config folder. You should see around 6 files in here, two of which are named COMPONENTS and SOFTWARE.
  • Copy these two files to your Desktop. If the COMPONENTS file does not exist, please fetch it instead from C:\Windows\System32\config\COMPONENTS.
  • Now right click on these files on your desktop and select Send to > Compressed (zipped) folder.
  • Then please upload the zip file(s) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Dropbox or One Drive or SendSpace and then just provide the link in your reply.
  • You can close any open windows you have as well as the RegBack program now.
 

BrianDrab

Administrator, Windows Update Instructor, Security Analyst
Staff member
Joined
Oct 20, 2014
Posts
17,770
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

OK, let's fix one thing at a time. I found the following in your log.

Code:
2017-10-17 12:10:56, Info                  CBS    Registry value for Package_230_for_KB3172614~31bf3856ad364e35~amd64~~6.3.1.4 is not a dword type. [HRESULT = 0x8007000d - ERROR_INVALID_DATA]
And I see the following in your registry. See how the Type doesn't look like the rest of the values? Let's fix this first. Please do the following.

Capture.JPG

Step#1 - 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. If you still have this on your desktop from downloading previously, you don't need to re-download.
  2. Download the file below, SFCScript.txt, and save this to your Desktop.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCScript.txt.
  5. Drag the file SFCScript.txt 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
 

Attachments

phantom

Well-known member
Joined
Oct 17, 2017
Posts
154
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

SFCFix version 3.0.0.0 by niemiro.
Start time: 2017-10-25 20:47:37.026
Microsoft Windows Server 2012 R2 Update 3 - amd64
Using .txt script file at C:\Users\RNSAdmin\Desktop\SFCScript.txt [1]








RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackageDetect\Microsoft-Windows-Server-Features-Package-AutoMerged-ds~31bf3856ad364e35~amd64~~0.0.0.0.


WARNING: Failed to create backup for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackageDetect\Microsoft-Windows-Server-Features-Package-AutoMerged-ds~31bf3856ad364e35~amd64~~0.0.0.0.


Successfully imported registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackageDetect\Microsoft-Windows-Server-Features-Package-AutoMerged-ds~31bf3856ad364e35~amd64~~0.0.0.0.


Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackageDetect\Microsoft-Windows-Server-Features-Package-AutoMerged-ds~31bf3856ad364e35~amd64~~0.0.0.0.
RegistryScript:: directive completed successfully.








Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2017-10-25 20:47:37.042
Script hash: NH97x88LJAQI1bNaaBmrUt8uXuTmZcJfa5kiczMzxVw=
----------------------EOF-----------------------
 

BrianDrab

Administrator, Windows Update Instructor, Security Analyst
Staff member
Joined
Oct 20, 2014
Posts
17,770
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

Good. Now please do the following.

SFC Scan
1. Right-click on the Start button and select Command Prompt (Admin)
2. When command prompt opens, Copy (Ctrl+C) and Paste (Right-click > Paste) the following command into it, then press Enter
sfc /scannow

3. Once it finishes, copy and paste the following into the command-prompt window and press Enter.
copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"

4. Once this has completed please go to your Desktop and you will find CBS.txt => Right-click on this file and choose Send To...Compressed (zipped folder). Please upload this zipped file CBS.zip to this thread

Please Note:: if the file is too big to upload to your next post please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.
 

phantom

Well-known member
Joined
Oct 17, 2017
Posts
154
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

Here's the file. Thanks again for your assistance, I know there's a lot of work involved here.

WeTransfer
 

BrianDrab

Administrator, Windows Update Instructor, Security Analyst
Staff member
Joined
Oct 20, 2014
Posts
17,770
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

No problem at all. Please do the following.

Step#1 - 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. If you still have this on your desktop from downloading previously, you don't need to re-download.
  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
 

Attachments

phantom

Well-known member
Joined
Oct 17, 2017
Posts
154
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

SFCFix version 3.0.0.0 by niemiro.
Start time: 2017-10-28 02:32:36.725
Microsoft Windows Server 2012 R2 Update 3 - amd64
Using .zip script file at C:\Users\RNSAdmin\Desktop\SFCFix.zip [0]




PowerCopy::
Successfully took permissions for file or folder C:\Windows\Winsxs\x86_microsoft.activedirectory.management_31bf3856ad364e35_6.3.9600.16503_none_ad8b9a49917cef32\Microsoft.ActiveDirectory.Management.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.18384_none_9dfef83fe2e442e4\poqexec.exe
Successfully took permissions for file or folder C:\Windows\Winsxs\x86_microsoft-windows-msvbvm60_31bf3856ad364e35_6.3.9600.16384_none_5723895a6d5372bb\msvbvm60.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\x86_microsoft-windows-msftedit_31bf3856ad364e35_6.3.9600.17809_none_6acc31155285ccc1\msftedit.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\wow64_microsoft-windows-tcpip_31bf3856ad364e35_6.3.9600.17415_none_5ce53b159777dfaf\netiougc.exe
Successfully took permissions for file or folder C:\Windows\Winsxs\msil_system.servicemodel.web_31bf3856ad364e35_6.3.9600.16384_none_2182fb26e77d2f0f\System.ServiceModel.Web.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\msil_presentationui_31bf3856ad364e35_4.0.9600.16384_none_588e59f85cae9cd2\PresentationUI.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_netfx4-microsoft.visualc.stlclr_b03f5f7f11d50a3a_4.0.9600.16384_none_262871622d7f5c36\Microsoft.VisualC.STLCLR.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_microsoft-windows-winrt-metadata_31bf3856ad364e35_6.3.9600.16384_none_2f9df483133c48b0\rometadata.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_microsoft-windows-uianimation_31bf3856ad364e35_6.3.9600.18513_none_7c85ef1b435b6514\UIAnimation.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_microsoft-windows-setup-component_31bf3856ad364e35_6.3.9600.18545_none_2316f48f8118262e\WinLGDep.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_microsoft-windows-s..controllerextension_31bf3856ad364e35_6.3.9600.17415_none_dd508abfe9764ecd\scext.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_microsoft-windows-mfnetsrc_31bf3856ad364e35_6.3.9600.18155_none_63945d7b8de4a33a\mfnetsrc.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_microsoft-windows-m..qlserver-driver-dll_31bf3856ad364e35_6.3.9600.17415_none_562f815ed24f5aad\sqlsrv32.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_microsoft-windows-d..services-core-files_31bf3856ad364e35_6.3.9600.18476_none_80b6378ffae9759b\Active Directory Diagnostics.xml
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_microsoft-windows-d..rvices-domain-files_31bf3856ad364e35_6.3.9600.18476_none_8bd6131b174d5ba6\ntds.dit
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.17415_none_0a5dfdcc33c06e7e\msdtckrm.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_microsoft-windows-audio-mci_31bf3856ad364e35_6.3.9600.17415_none_0e18540cbff572c8\mcicda.dll
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_mdmmhrtz.inf_31bf3856ad364e35_6.3.9600.16384_none_3a26fc012e4781d2\mdmmhrtz.inf

Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\x86_microsoft.activedirectory.management_31bf3856ad364e35_6.3.9600.16503_none_ad8b9a49917cef32\Microsoft.ActiveDirectory.Management.dll to C:\Windows\Winsxs\x86_microsoft.activedirectory.management_31bf3856ad364e35_6.3.9600.16503_none_ad8b9a49917cef32\Microsoft.ActiveDirectory.Management.dll.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.18384_none_9dfef83fe2e442e4\poqexec.exe to C:\Windows\Winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.18384_none_9dfef83fe2e442e4\poqexec.exe.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\x86_microsoft-windows-msvbvm60_31bf3856ad364e35_6.3.9600.16384_none_5723895a6d5372bb\msvbvm60.dll to C:\Windows\Winsxs\x86_microsoft-windows-msvbvm60_31bf3856ad364e35_6.3.9600.16384_none_5723895a6d5372bb\msvbvm60.dll.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\x86_microsoft-windows-msftedit_31bf3856ad364e35_6.3.9600.17809_none_6acc31155285ccc1\msftedit.dll to C:\Windows\Winsxs\x86_microsoft-windows-msftedit_31bf3856ad364e35_6.3.9600.17809_none_6acc31155285ccc1\msftedit.dll.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\wow64_microsoft-windows-tcpip_31bf3856ad364e35_6.3.9600.17415_none_5ce53b159777dfaf\netiougc.exe to C:\Windows\Winsxs\wow64_microsoft-windows-tcpip_31bf3856ad364e35_6.3.9600.17415_none_5ce53b159777dfaf\netiougc.exe.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\msil_system.servicemodel.web_31bf3856ad364e35_6.3.9600.16384_none_2182fb26e77d2f0f\System.ServiceModel.Web.dll to C:\Windows\Winsxs\msil_system.servicemodel.web_31bf3856ad364e35_6.3.9600.16384_none_2182fb26e77d2f0f\System.ServiceModel.Web.dll.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\msil_presentationui_31bf3856ad364e35_4.0.9600.16384_none_588e59f85cae9cd2\PresentationUI.dll to C:\Windows\Winsxs\msil_presentationui_31bf3856ad364e35_4.0.9600.16384_none_588e59f85cae9cd2\PresentationUI.dll.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\amd64_netfx4-microsoft.visualc.stlclr_b03f5f7f11d50a3a_4.0.9600.16384_none_262871622d7f5c36\Microsoft.VisualC.STLCLR.dll to C:\Windows\Winsxs\amd64_netfx4-microsoft.visualc.stlclr_b03f5f7f11d50a3a_4.0.9600.16384_none_262871622d7f5c36\Microsoft.VisualC.STLCLR.dll.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\amd64_microsoft-windows-winrt-metadata_31bf3856ad364e35_6.3.9600.16384_none_2f9df483133c48b0\rometadata.dll to C:\Windows\Winsxs\amd64_microsoft-windows-winrt-metadata_31bf3856ad364e35_6.3.9600.16384_none_2f9df483133c48b0\rometadata.dll.
The file \\?\C:\Windows\Winsxs\amd64_microsoft-windows-uianimation_31bf3856ad364e35_6.3.9600.18513_none_7c85ef1b435b6514\UIAnimation.dll is in use and must be replaced over a reboot.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\amd64_microsoft-windows-setup-component_31bf3856ad364e35_6.3.9600.18545_none_2316f48f8118262e\WinLGDep.dll to C:\Windows\Winsxs\amd64_microsoft-windows-setup-component_31bf3856ad364e35_6.3.9600.18545_none_2316f48f8118262e\WinLGDep.dll.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\amd64_microsoft-windows-s..controllerextension_31bf3856ad364e35_6.3.9600.17415_none_dd508abfe9764ecd\scext.dll to C:\Windows\Winsxs\amd64_microsoft-windows-s..controllerextension_31bf3856ad364e35_6.3.9600.17415_none_dd508abfe9764ecd\scext.dll.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\amd64_microsoft-windows-mfnetsrc_31bf3856ad364e35_6.3.9600.18155_none_63945d7b8de4a33a\mfnetsrc.dll to C:\Windows\Winsxs\amd64_microsoft-windows-mfnetsrc_31bf3856ad364e35_6.3.9600.18155_none_63945d7b8de4a33a\mfnetsrc.dll.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\amd64_microsoft-windows-m..qlserver-driver-dll_31bf3856ad364e35_6.3.9600.17415_none_562f815ed24f5aad\sqlsrv32.dll to C:\Windows\Winsxs\amd64_microsoft-windows-m..qlserver-driver-dll_31bf3856ad364e35_6.3.9600.17415_none_562f815ed24f5aad\sqlsrv32.dll.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\amd64_microsoft-windows-d..services-core-files_31bf3856ad364e35_6.3.9600.18476_none_80b6378ffae9759b\Active Directory Diagnostics.xml to C:\Windows\Winsxs\amd64_microsoft-windows-d..services-core-files_31bf3856ad364e35_6.3.9600.18476_none_80b6378ffae9759b\Active Directory Diagnostics.xml.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\amd64_microsoft-windows-d..rvices-domain-files_31bf3856ad364e35_6.3.9600.18476_none_8bd6131b174d5ba6\ntds.dit to C:\Windows\Winsxs\amd64_microsoft-windows-d..rvices-domain-files_31bf3856ad364e35_6.3.9600.18476_none_8bd6131b174d5ba6\ntds.dit.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.17415_none_0a5dfdcc33c06e7e\msdtckrm.dll to C:\Windows\Winsxs\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.17415_none_0a5dfdcc33c06e7e\msdtckrm.dll.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\amd64_microsoft-windows-audio-mci_31bf3856ad364e35_6.3.9600.17415_none_0e18540cbff572c8\mcicda.dll to C:\Windows\Winsxs\amd64_microsoft-windows-audio-mci_31bf3856ad364e35_6.3.9600.17415_none_0e18540cbff572c8\mcicda.dll.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Winsxs\amd64_mdmmhrtz.inf_31bf3856ad364e35_6.3.9600.16384_none_3a26fc012e4781d2\mdmmhrtz.inf to C:\Windows\Winsxs\amd64_mdmmhrtz.inf_31bf3856ad364e35_6.3.9600.16384_none_3a26fc012e4781d2\mdmmhrtz.inf.

Successfully pended file for replace over reboot: \\?\C:\Windows\Winsxs\amd64_microsoft-windows-uianimation_31bf3856ad364e35_6.3.9600.18513_none_7c85ef1b435b6514\UIAnimation.dll

Successfully restored ownership for C:\Windows\Winsxs\x86_microsoft.activedirectory.management_31bf3856ad364e35_6.3.9600.16503_none_ad8b9a49917cef32\Microsoft.ActiveDirectory.Management.dll
Successfully restored permissions on C:\Windows\Winsxs\x86_microsoft.activedirectory.management_31bf3856ad364e35_6.3.9600.16503_none_ad8b9a49917cef32\Microsoft.ActiveDirectory.Management.dll
Successfully restored ownership for C:\Windows\Winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.18384_none_9dfef83fe2e442e4\poqexec.exe
Successfully restored permissions on C:\Windows\Winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.18384_none_9dfef83fe2e442e4\poqexec.exe
Successfully restored ownership for C:\Windows\Winsxs\x86_microsoft-windows-msvbvm60_31bf3856ad364e35_6.3.9600.16384_none_5723895a6d5372bb\msvbvm60.dll
Successfully restored permissions on C:\Windows\Winsxs\x86_microsoft-windows-msvbvm60_31bf3856ad364e35_6.3.9600.16384_none_5723895a6d5372bb\msvbvm60.dll
Successfully restored ownership for C:\Windows\Winsxs\x86_microsoft-windows-msftedit_31bf3856ad364e35_6.3.9600.17809_none_6acc31155285ccc1\msftedit.dll
Successfully restored permissions on C:\Windows\Winsxs\x86_microsoft-windows-msftedit_31bf3856ad364e35_6.3.9600.17809_none_6acc31155285ccc1\msftedit.dll
Successfully restored ownership for C:\Windows\Winsxs\wow64_microsoft-windows-tcpip_31bf3856ad364e35_6.3.9600.17415_none_5ce53b159777dfaf\netiougc.exe
Successfully restored permissions on C:\Windows\Winsxs\wow64_microsoft-windows-tcpip_31bf3856ad364e35_6.3.9600.17415_none_5ce53b159777dfaf\netiougc.exe
Successfully restored ownership for C:\Windows\Winsxs\msil_system.servicemodel.web_31bf3856ad364e35_6.3.9600.16384_none_2182fb26e77d2f0f\System.ServiceModel.Web.dll
Successfully restored permissions on C:\Windows\Winsxs\msil_system.servicemodel.web_31bf3856ad364e35_6.3.9600.16384_none_2182fb26e77d2f0f\System.ServiceModel.Web.dll
Successfully restored ownership for C:\Windows\Winsxs\msil_presentationui_31bf3856ad364e35_4.0.9600.16384_none_588e59f85cae9cd2\PresentationUI.dll
Successfully restored permissions on C:\Windows\Winsxs\msil_presentationui_31bf3856ad364e35_4.0.9600.16384_none_588e59f85cae9cd2\PresentationUI.dll
Successfully restored ownership for C:\Windows\Winsxs\amd64_netfx4-microsoft.visualc.stlclr_b03f5f7f11d50a3a_4.0.9600.16384_none_262871622d7f5c36\Microsoft.VisualC.STLCLR.dll
Successfully restored permissions on C:\Windows\Winsxs\amd64_netfx4-microsoft.visualc.stlclr_b03f5f7f11d50a3a_4.0.9600.16384_none_262871622d7f5c36\Microsoft.VisualC.STLCLR.dll
Successfully restored ownership for C:\Windows\Winsxs\amd64_microsoft-windows-winrt-metadata_31bf3856ad364e35_6.3.9600.16384_none_2f9df483133c48b0\rometadata.dll
Successfully restored permissions on C:\Windows\Winsxs\amd64_microsoft-windows-winrt-metadata_31bf3856ad364e35_6.3.9600.16384_none_2f9df483133c48b0\rometadata.dll
Successfully restored ownership for C:\Windows\Winsxs\amd64_microsoft-windows-setup-component_31bf3856ad364e35_6.3.9600.18545_none_2316f48f8118262e\WinLGDep.dll
Successfully restored permissions on C:\Windows\Winsxs\amd64_microsoft-windows-setup-component_31bf3856ad364e35_6.3.9600.18545_none_2316f48f8118262e\WinLGDep.dll
Successfully restored ownership for C:\Windows\Winsxs\amd64_microsoft-windows-s..controllerextension_31bf3856ad364e35_6.3.9600.17415_none_dd508abfe9764ecd\scext.dll
Successfully restored permissions on C:\Windows\Winsxs\amd64_microsoft-windows-s..controllerextension_31bf3856ad364e35_6.3.9600.17415_none_dd508abfe9764ecd\scext.dll
Successfully restored ownership for C:\Windows\Winsxs\amd64_microsoft-windows-mfnetsrc_31bf3856ad364e35_6.3.9600.18155_none_63945d7b8de4a33a\mfnetsrc.dll
Successfully restored permissions on C:\Windows\Winsxs\amd64_microsoft-windows-mfnetsrc_31bf3856ad364e35_6.3.9600.18155_none_63945d7b8de4a33a\mfnetsrc.dll
Successfully restored ownership for C:\Windows\Winsxs\amd64_microsoft-windows-m..qlserver-driver-dll_31bf3856ad364e35_6.3.9600.17415_none_562f815ed24f5aad\sqlsrv32.dll
Successfully restored permissions on C:\Windows\Winsxs\amd64_microsoft-windows-m..qlserver-driver-dll_31bf3856ad364e35_6.3.9600.17415_none_562f815ed24f5aad\sqlsrv32.dll
Successfully restored ownership for C:\Windows\Winsxs\amd64_microsoft-windows-d..services-core-files_31bf3856ad364e35_6.3.9600.18476_none_80b6378ffae9759b\Active Directory Diagnostics.xml
Successfully restored permissions on C:\Windows\Winsxs\amd64_microsoft-windows-d..services-core-files_31bf3856ad364e35_6.3.9600.18476_none_80b6378ffae9759b\Active Directory Diagnostics.xml
Successfully restored ownership for C:\Windows\Winsxs\amd64_microsoft-windows-d..rvices-domain-files_31bf3856ad364e35_6.3.9600.18476_none_8bd6131b174d5ba6\ntds.dit
Successfully restored permissions on C:\Windows\Winsxs\amd64_microsoft-windows-d..rvices-domain-files_31bf3856ad364e35_6.3.9600.18476_none_8bd6131b174d5ba6\ntds.dit
Successfully restored ownership for C:\Windows\Winsxs\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.17415_none_0a5dfdcc33c06e7e\msdtckrm.dll
Successfully restored permissions on C:\Windows\Winsxs\amd64_microsoft-windows-com-dtc-runtime_31bf3856ad364e35_6.3.9600.17415_none_0a5dfdcc33c06e7e\msdtckrm.dll
Successfully restored ownership for C:\Windows\Winsxs\amd64_microsoft-windows-audio-mci_31bf3856ad364e35_6.3.9600.17415_none_0e18540cbff572c8\mcicda.dll
Successfully restored permissions on C:\Windows\Winsxs\amd64_microsoft-windows-audio-mci_31bf3856ad364e35_6.3.9600.17415_none_0e18540cbff572c8\mcicda.dll
Successfully restored ownership for C:\Windows\Winsxs\amd64_mdmmhrtz.inf_31bf3856ad364e35_6.3.9600.16384_none_3a26fc012e4781d2\mdmmhrtz.inf
Successfully restored permissions on C:\Windows\Winsxs\amd64_mdmmhrtz.inf_31bf3856ad364e35_6.3.9600.16384_none_3a26fc012e4781d2\mdmmhrtz.inf
PowerCopy:: directive completed successfully.




Reboot:: directive completed successfully.




PostRebootCorruptionDetection::
No hash verification failures detected.
PostRebootCorruptionDetection:: directive completed successfully.




PostRebootRestorePermissions::
Successfully restored ownership for C:\Windows\Winsxs\amd64_microsoft-windows-uianimation_31bf3856ad364e35_6.3.9600.18513_none_7c85ef1b435b6514\UIAnimation.dll
Successfully restored permissions on C:\Windows\Winsxs\amd64_microsoft-windows-uianimation_31bf3856ad364e35_6.3.9600.18513_none_7c85ef1b435b6514\UIAnimation.dll
PostRebootRestorePermissions:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 20 datablocks.
Finish time: 2017-10-28 03:06:01.950
----------------------EOF-----------------------
 

BrianDrab

Administrator, Windows Update Instructor, Security Analyst
Staff member
Joined
Oct 20, 2014
Posts
17,770
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

Good. Now please do the following.

SFC Scan
1. Right-click on the Start button and select Command Prompt (Admin)
2. When command prompt opens, Copy (Ctrl+C) and Paste (Right-click > Paste) the following command into it, then press Enter
sfc /scannow

3. Once it finishes, copy and paste the following into the command-prompt window and press Enter.
copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"

4. Once this has completed please go to your Desktop and you will find CBS.txt => Right-click on this file and choose Send To...Compressed (zipped folder). Please upload this zipped file CBS.zip to this thread

Please Note:: if the file is too big to upload to your next post please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.
 

phantom

Well-known member
Joined
Oct 17, 2017
Posts
154
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

Cbs.txt attached :)
 

Attachments

BrianDrab

Administrator, Windows Update Instructor, Security Analyst
Staff member
Joined
Oct 20, 2014
Posts
17,770
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

Thanks. Please do the following.

Step#1 - DISM /RestoreHealth Scan
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. Right-click on the Start button and select Command Prompt (Admin)
  2. When command prompt opens, Copy (Ctrl+C) and Paste (Right-click > Paste) the following command into it, then press Enter
    Dism /Online /Cleanup-Image /RestoreHealth
  3. Once it finishes, copy and paste the following into the command-prompt window and press Enter. If prompted to overwrite the existing file go ahead.
    copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"
  4. Once this has completed please go to your Desktop and you will find CBS.txt => Please zip/upload to this thread.
    Please Note:: if the file is too big (over 7MB) to upload to your next post, please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.
 

phantom

Well-known member
Joined
Oct 17, 2017
Posts
154
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

There were errors

"Error: 3017

The requested operation failed. A system reboot is required to roll back changes
made."

I've attached the DISM and CBS logs
 

Attachments

BrianDrab

Administrator, Windows Update Instructor, Security Analyst
Staff member
Joined
Oct 20, 2014
Posts
17,770
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

Please reboot and then do the following.

Step#1 - 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. If you still have this on your desktop from downloading previously, you don't need to re-download.
  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
 

Attachments

phantom

Well-known member
Joined
Oct 17, 2017
Posts
154
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

SFCFix version 3.0.0.0 by niemiro.
Start time: 2017-11-01 17:04:45.754
Microsoft Windows Server 2012 R2 Update 3 - amd64
Using .zip script file at \\RNSSERVER\Shared Folders\Users\RNSAdmin\Downloads\SFCFix.zip [0]








PowerCopy::
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_107_for_kb2919394~31bf3856ad364e35~amd64~~6.3.1.3.cat
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_107_for_kb2919394~31bf3856ad364e35~amd64~~6.3.1.3.mum
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_1_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.cat
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_1_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.mum
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_2_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.cat
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_2_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.mum
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_57_for_kb2976627~31bf3856ad364e35~amd64~~6.3.1.6.cat
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_57_for_kb2976627~31bf3856ad364e35~amd64~~6.3.1.6.mum
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_63_for_kb2981580~31bf3856ad364e35~amd64~~6.3.1.2.cat
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_63_for_kb2981580~31bf3856ad364e35~amd64~~6.3.1.2.mum
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_for_kb2843630_rtm~31bf3856ad364e35~amd64~~6.3.3.0.cat
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_for_kb2843630_rtm~31bf3856ad364e35~amd64~~6.3.3.0.mum
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_for_kb2976627_rtm~31bf3856ad364e35~amd64~~6.3.1.6.cat
Successfully took permissions for file or folder C:\Windows\Servicing\Packages\package_for_kb2976627_rtm~31bf3856ad364e35~amd64~~6.3.1.6.mum


Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_107_for_kb2919394~31bf3856ad364e35~amd64~~6.3.1.3.cat to C:\Windows\Servicing\Packages\package_107_for_kb2919394~31bf3856ad364e35~amd64~~6.3.1.3.cat.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_107_for_kb2919394~31bf3856ad364e35~amd64~~6.3.1.3.mum to C:\Windows\Servicing\Packages\package_107_for_kb2919394~31bf3856ad364e35~amd64~~6.3.1.3.mum.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_1_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.cat to C:\Windows\Servicing\Packages\package_1_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.cat.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_1_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.mum to C:\Windows\Servicing\Packages\package_1_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.mum.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_2_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.cat to C:\Windows\Servicing\Packages\package_2_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.cat.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_2_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.mum to C:\Windows\Servicing\Packages\package_2_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.mum.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_57_for_kb2976627~31bf3856ad364e35~amd64~~6.3.1.6.cat to C:\Windows\Servicing\Packages\package_57_for_kb2976627~31bf3856ad364e35~amd64~~6.3.1.6.cat.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_57_for_kb2976627~31bf3856ad364e35~amd64~~6.3.1.6.mum to C:\Windows\Servicing\Packages\package_57_for_kb2976627~31bf3856ad364e35~amd64~~6.3.1.6.mum.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_63_for_kb2981580~31bf3856ad364e35~amd64~~6.3.1.2.cat to C:\Windows\Servicing\Packages\package_63_for_kb2981580~31bf3856ad364e35~amd64~~6.3.1.2.cat.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_63_for_kb2981580~31bf3856ad364e35~amd64~~6.3.1.2.mum to C:\Windows\Servicing\Packages\package_63_for_kb2981580~31bf3856ad364e35~amd64~~6.3.1.2.mum.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_for_kb2843630_rtm~31bf3856ad364e35~amd64~~6.3.3.0.cat to C:\Windows\Servicing\Packages\package_for_kb2843630_rtm~31bf3856ad364e35~amd64~~6.3.3.0.cat.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_for_kb2843630_rtm~31bf3856ad364e35~amd64~~6.3.3.0.mum to C:\Windows\Servicing\Packages\package_for_kb2843630_rtm~31bf3856ad364e35~amd64~~6.3.3.0.mum.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_for_kb2976627_rtm~31bf3856ad364e35~amd64~~6.3.1.6.cat to C:\Windows\Servicing\Packages\package_for_kb2976627_rtm~31bf3856ad364e35~amd64~~6.3.1.6.cat.
Successfully copied file C:\Users\RNSAdmin\AppData\Local\niemiro\Archive\Packages\package_for_kb2976627_rtm~31bf3856ad364e35~amd64~~6.3.1.6.mum to C:\Windows\Servicing\Packages\package_for_kb2976627_rtm~31bf3856ad364e35~amd64~~6.3.1.6.mum.


Successfully restored ownership for C:\Windows\Servicing\Packages\package_107_for_kb2919394~31bf3856ad364e35~amd64~~6.3.1.3.cat
Successfully restored permissions on C:\Windows\Servicing\Packages\package_107_for_kb2919394~31bf3856ad364e35~amd64~~6.3.1.3.cat
Successfully restored ownership for C:\Windows\Servicing\Packages\package_107_for_kb2919394~31bf3856ad364e35~amd64~~6.3.1.3.mum
Successfully restored permissions on C:\Windows\Servicing\Packages\package_107_for_kb2919394~31bf3856ad364e35~amd64~~6.3.1.3.mum
Successfully restored ownership for C:\Windows\Servicing\Packages\package_1_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.cat
Successfully restored permissions on C:\Windows\Servicing\Packages\package_1_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.cat
Successfully restored ownership for C:\Windows\Servicing\Packages\package_1_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.mum
Successfully restored permissions on C:\Windows\Servicing\Packages\package_1_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.mum
Successfully restored ownership for C:\Windows\Servicing\Packages\package_2_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.cat
Successfully restored permissions on C:\Windows\Servicing\Packages\package_2_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.cat
Successfully restored ownership for C:\Windows\Servicing\Packages\package_2_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.mum
Successfully restored permissions on C:\Windows\Servicing\Packages\package_2_for_kb2913152~31bf3856ad364e35~amd64~~6.3.1.0.mum
Successfully restored ownership for C:\Windows\Servicing\Packages\package_57_for_kb2976627~31bf3856ad364e35~amd64~~6.3.1.6.cat
Successfully restored permissions on C:\Windows\Servicing\Packages\package_57_for_kb2976627~31bf3856ad364e35~amd64~~6.3.1.6.cat
Successfully restored ownership for C:\Windows\Servicing\Packages\package_57_for_kb2976627~31bf3856ad364e35~amd64~~6.3.1.6.mum
Successfully restored permissions on C:\Windows\Servicing\Packages\package_57_for_kb2976627~31bf3856ad364e35~amd64~~6.3.1.6.mum
Successfully restored ownership for C:\Windows\Servicing\Packages\package_63_for_kb2981580~31bf3856ad364e35~amd64~~6.3.1.2.cat
Successfully restored permissions on C:\Windows\Servicing\Packages\package_63_for_kb2981580~31bf3856ad364e35~amd64~~6.3.1.2.cat
Successfully restored ownership for C:\Windows\Servicing\Packages\package_63_for_kb2981580~31bf3856ad364e35~amd64~~6.3.1.2.mum
Successfully restored permissions on C:\Windows\Servicing\Packages\package_63_for_kb2981580~31bf3856ad364e35~amd64~~6.3.1.2.mum
Successfully restored ownership for C:\Windows\Servicing\Packages\package_for_kb2843630_rtm~31bf3856ad364e35~amd64~~6.3.3.0.cat
Successfully restored permissions on C:\Windows\Servicing\Packages\package_for_kb2843630_rtm~31bf3856ad364e35~amd64~~6.3.3.0.cat
Successfully restored ownership for C:\Windows\Servicing\Packages\package_for_kb2843630_rtm~31bf3856ad364e35~amd64~~6.3.3.0.mum
Successfully restored permissions on C:\Windows\Servicing\Packages\package_for_kb2843630_rtm~31bf3856ad364e35~amd64~~6.3.3.0.mum
Successfully restored ownership for C:\Windows\Servicing\Packages\package_for_kb2976627_rtm~31bf3856ad364e35~amd64~~6.3.1.6.cat
Successfully restored permissions on C:\Windows\Servicing\Packages\package_for_kb2976627_rtm~31bf3856ad364e35~amd64~~6.3.1.6.cat
Successfully restored ownership for C:\Windows\Servicing\Packages\package_for_kb2976627_rtm~31bf3856ad364e35~amd64~~6.3.1.6.mum
Successfully restored permissions on C:\Windows\Servicing\Packages\package_for_kb2976627_rtm~31bf3856ad364e35~amd64~~6.3.1.6.mum
PowerCopy:: directive completed successfully.








Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 34 datablocks.
Finish time: 2017-11-01 17:04:48.779
Script hash: b6vAxOyM0qqwyu933ZItvhzClswzj/H/8K9QFK3FOuk=
----------------------EOF-----------------------
 

BrianDrab

Administrator, Windows Update Instructor, Security Analyst
Staff member
Joined
Oct 20, 2014
Posts
17,770
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

Thanks. Please repeat the following.

Step#1 - DISM /RestoreHealth Scan
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. Right-click on the Start button and select Command Prompt (Admin)
  2. When command prompt opens, Copy (Ctrl+C) and Paste (Right-click > Paste) the following command into it, then press Enter
    Dism /Online /Cleanup-Image /RestoreHealth
  3. Once it finishes, copy and paste the following into the command-prompt window and press Enter. If prompted to overwrite the existing file go ahead.
    copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"
  4. Once this has completed please go to your Desktop and you will find CBS.txt => Please zip/upload to this thread.
    Please Note:: if the file is too big (over 7MB) to upload to your next post, please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.
 

phantom

Well-known member
Joined
Oct 17, 2017
Posts
154
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

DISM and CBS logs attached

P.S. Do I need to restart when it says it failed and needs to restart to roll back changes?
 

Attachments

BrianDrab

Administrator, Windows Update Instructor, Security Analyst
Staff member
Joined
Oct 20, 2014
Posts
17,770
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

P.S. Do I need to restart when it says it failed and needs to restart to roll back changes?
To be safe I would. After the reboot please do the following.

Step#1 - Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running while you perform the next steps.
2. Open an elevated Command Prompt and run Dism /Online /Cleanup-Image /RestoreHealth just like you have in the past.
3. Stop Process Monitor as soon as DISM fails. You can simply do this by clicking the magnifying glass on the toolbar as shown below.


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.
 

phantom

Well-known member
Joined
Oct 17, 2017
Posts
154
Re: Win 2012 R2 Essentials - Errors installing updates and Dot Net 4.7

Here's the ProcessMon Log and CBS file
WeTransfer
 
Top