[SOLVED] Update fail on Windows server 2012R2 with AD

David86

Well-known member
Joined
Feb 12, 2020
Posts
129
Hello. I need your help. I have a problem installing updates on a Windows server 2012R2 with AD. Specifically cumulative updates. They seem to be installed, but updates are rolled back and preloaded. I am currently having trouble installing KB5023765. When it is installed, the update is rolled back and a second search for updates finds it, I install it, and so on in a circle. The sfc /scannow command does not find integrity errors. The command (DISM /Online /Cleanup-Image /ScanHealth) also sees no damage. The command (DISM /Online /Cleanup-Image /RestoreHealth) fixes something and I reboot the server, but it doesn't help. I am attaching all possible logs about please help. Thank you in advance.
 

Attachments

Hello,

Attach the file C:\Windows\INF\setupapi.dev.log to your next reply.
 
Follow the instructions below please.

WARNING! The following scan is specific to the user's system in this thread only.
  • Download
    myjIXnC.png
    SFCFix and move the executable to your desktop.
  • Download the attachment SFCFixScript.txt and save it on your desktop.
  • Save any work you have open, and close all programs.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
    1p8eDnI.gif
  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Attach that file to your next reply.
 

Attachments

Install Update with DISM
  1. Download the update MSU here: https://catalog.s.download.windowsu..._fcc1368eaa82a2ee3d89df254a00d2e25821b121.msu
  2. Copy the MSU file to a convenient location (such as C:\temp).
  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
  5. When command prompt opens, copy and paste the following commands into it, press enter after each

    cd C:\temp

    replace C:\temp with your path if different

    expand windows8.1-kb5021296-x64_fcc1368eaa82a2ee3d89df254a00d2e25821b121.msu -f:* C:\temp

    DISM.exe /Online /Add-Package /PackagePath:C:\temp\windows8.1-kb5021296-x64.cab

  6. You should receive the message:
    The operation completed successfully.
    Make sure to allow the computer to restart if prompted.
  7. If you receive any other message:
    Post a screenshot of the Commandprompt window.
    Zip and attach the file C:\Windows\Logs\CBS\CBS.log
 
It seems that everything was installed correctly, as it was seen in the cmd window, but after the reboot, the update was rolled back.

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Windows\system32>cd c:\tempp

c:\tempp>expand windows8.1-kb5021296-x64_fcc1368eaa82a2ee3d89df254a00d2e25821b12
1.msu -f:* C:\tempp
Microsoft (R) Unpacker, version 6.3.9600.17415
(C) Microsoft Corporation. All rights reserved.

Adding C:\tempp\WSUSSCAN.cab to the unpack queue
Adding C:\tempp\Windows8.1-KB5021296-x64-pkgProperties.txt to the queue for distribution
kovka
Adding C:\tempp\Windows8.1-KB5021296-x64.xml to the unpack queue
Adding C:\tempp\Windows8.1-KB5021296-x64.cab to the unpack queue

Unpacking files....

Unpacking completed...
total files 4 .

c:\tempp>DISM.exe /Online /Add-Package /PackagePath:C:\tempp\windows8.1-kb502129
6-x64.cab

DISM system
Version: 6.3.9600.19408

Image version: 6.3.9600.19397

Processing 1 of 1 - Adding package Package_for_KB5021296~31bf3856ad364e35
~amd64~~9600.20721.1.9
[==========================100.0%====================== =====]
Operation completed successfully.
Restart Windows to complete this operation.
Do you want to restart your computer now? (Y/N)
 

Attachments

Attach the file C:\Windows\INF\setupapi.dev.log again to your next reply.
 
WARNING! The following scan is specific to the user's system in this thread only.
  • Download the attachment SFCFixScript.txt and save it on your desktop.
  • Save any work you have open, and close all programs.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
    1p8eDnI.gif
  • SFCFix will launch, let it complete.
  • Once done, 2 files will appear on your desktop, SFCFix.txt and log.zip.
  • Attach both files to your next reply.
 

Attachments

For some reason the script didn't work properly (Syntax error in file name, folder name, or volume label). I understand that you need the contents of the C:\Windows\System32\DriverStore\ folder. So I compressed it by hand. The archive is very large so I transferred it to OneDrive - log.zip
зшс.jpg
 

Attachments

For some reason the script didn't work properly (Syntax error in file name, folder name, or volume label)
I cannot read the Russian text but the script log reports it completed successfully.

I was actually looking for the files in the folder C:\Windows\System32\DriverStore. The zip file you provided does not show any.
If you open the folder C:\Windows\System32\DriverStore, do you see only folders ?
 
I cannot read the Russian text but the script log reports it completed successfully.

I was actually looking for the files in the folder C:\Windows\System32\DriverStore. The zip file you provided does not show any.
If you open the folder C:\Windows\System32\DriverStore, do you see only folders ?
Only folders inside and no more files.
546.jpg
 
Provide the System Hive
  1. Start the program Regedit.exe.
  2. In the left pane of Regedit browse to the key Computer\HKEY_LOCAL_MACHINE\SYSTEM
  3. Right-click on it and select “Export”.
  4. Choose as file location your desktop.
  5. Typ for the file name "SYSTEM" and choose as type “Registry Hive Files (*.*)”.
  6. Click the button Save.
  7. When completed you can close Regedit.
  8. Attach the file SYSTEM which should be now on your desktop to your next reply.
 
Great. Provide the COMPONENTS hive also:

Provide the 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. Note: If you find that you need to reboot and are unable to because this is a server then try Option#2 below.
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 Gofile or WeTransfer and just provide the link here.


Option#2 (only if you are unable to follow the previous instructions)

  • 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, one of which is named COMPONENTS.
  • Copy the COMPONENTS file to your Desktop. If the COMPONENTS file does not exist, please fetch it instead from C:\Windows\System32\config\COMPONENTS.
  • Now right-click on the COMPONENTS file that is on your desktop and select Send to > Compressed (zipped) folder.
  • Then please upload the zip file (COMPONENTS.zip) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Gofile or WeTransfer and then just provide the link in your reply.
  • You can close any open windows you have as well as the RegBak program now.
 
Install Update with DISM
  1. Download the update MSU here: https://catalog.s.download.windowsu..._226ca7f326c66fda70c7635cf0205477d09b7401.msu
  2. Copy the MSU file to a convenient location (such as C:\temp).
  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
  5. When command prompt opens, copy and paste the following commands into it, press enter after each

    cd C:\temp
    replace C:\temp with your path if different

    expand windows8.1-kb5018476-x64_226ca7f326c66fda70c7635cf0205477d09b7401.msu -f:* C:\temp

    DISM.exe /Online /Add-Package /PackagePath:C:\temp\windows8.1-kb5018476-x64.cab

  6. You should receive the message:
    The operation completed successfully.
    Make sure to allow the computer to restart if prompted.
  7. If you receive any other message:
    Post a screenshot of the Commandprompt window.
    Zip and attach the file C:\Windows\Logs\CBS\CBS.log
 
The update was installed, then a reboot, again rolling back the updates and loading the server.

c:\tempp>expand windows8.1-kb5018476-x64_226ca7f326c66fda70c7635cf0205477d09b740
1.msu -f:* C:\temp
Microsoft (R) Unpacker, Version 6.3.9600.17415
(C) Microsoft Corporation. All rights reserved.

Adding C:\temp\WSUSSCAN.cab to the unpack queue
Adding C:\temp\Windows8.1-KB5018476-x64-pkgProperties.txt to the queue for decompression
forging
Adding C:\temp\Windows8.1-KB5018476-x64.xml to the unpack queue
Adding C:\temp\Windows8.1-KB5018476-x64.cab to the unpack queue

Unpacking files....

Unpacking completed...
total files 4 .

c:\tempp>DISM.exe /Online /Add-Package /PackagePath:C:\temp\windows8.1-kb5018476
-x64.cab

DISM system
Version: 6.3.9600.19408

Image version: 6.3.9600.19397

Processing 1 of 1 - Adding package Package_for_KB5018476~31bf3856ad364e35
~amd64~~9600.20625.1.18
[==========================100.0%====================== =====]
Operation completed successfully.
Restart Windows to complete this operation.
Do you want to restart your computer now? (Y/N)
 

Attachments

Provide a fresh copy of the components hive.
 

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

Back
Top