[SOLVED] Windows updates failing to install on Windows Server 2012 R2 servers

kogermd

Well-known member
Joined
Mar 13, 2020
Posts
64
We have a handful of Windows 2012 R2 servers with ESUs (we are in the process of migrating them to newer servers but in the meantime, we are still running on this OS). We ran into an issue a few months ago where the January cumulative Windows update (KB5034171) failed to install on the servers due to an issue with our Trellix implementation, which caused the servers to roll back the update. Since then, the monthly cumulative updates fail to fully install. They appear to install the update but after rebooting the server to apply the changes, the update shows as needing to be installed again. We have tried manually installing the updates using DISM with the same results. In reviewing the CBS logs, this is an example of what we find on one of the servers:
Code:
2024-06-13 16:04:55, Info                  CBS    Shtd: Processing critical driver operations, Count 2.
2024-06-13 16:04:55, Info                  CBS    Doqe:   q-install: Inf: cpu.inf, Ranking: 2, Device-Install: 0, Key: 12, Identity: cpu.inf, Culture=neutral, Type=driverUpdate, Version=6.3.9600.21972, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2024-06-13 16:04:55, Info                  CBS    Perf: Doqe: Critical install started.
2024-06-13 16:04:55, Info                  CBS    Doqe: [Forward] Installing driver updates, Count 1
2024-06-13 16:04:56, Info                  CBS    Deletion of: \\?\C:\Windows\CbsTemp\31112674_2671706773\ successful
2024-06-13 16:04:56, Info                  CBS            INSTALL index: 8, phase: 1, result 0, inf: cpu.inf
2024-06-13 16:04:58, Info                  CBS            INSTALL index: 8, phase: 2, result 0, inf: cpu.inf
2024-06-13 16:04:59, Info                  CBS            INSTALL index: 8, phase: 3, result 0, inf: cpu.inf
2024-06-13 16:04:59, Info                  CBS    DriverUpdateInstallUpdates failed [HRESULT = 0x80070bc2 - ERROR_SUCCESS_REBOOT_REQUIRED]
2024-06-13 16:04:59, Info                  CBS    Doqe: System reboot required.
2024-06-13 16:04:59, Info                  CBS    Perf: Doqe: Critical install ended.
2024-06-13 16:04:59, Info                  CBS    Doqe:   q-uninstall: Inf: cpu.inf, Ranking: 2, Device-Install: 0, Key: 4, Identity: cpu.inf, Culture=neutral, Type=driverUpdate, Version=6.3.9600.21765, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2024-06-13 16:04:59, Info                  CBS    Perf: Doqe: Critical uninstall started.
2024-06-13 16:04:59, Info                  CBS    Doqe: [Forward] Uninstalling driver updates, Count 1
2024-06-13 16:04:59, Info                  CBS    DriverUpdateUninstallUpdates failed [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2024-06-13 16:04:59, Info                  CBS    Doqe: Failed uninstalling driver updates [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2024-06-13 16:04:59, Info                  CBS    Perf: Doqe: Critical uninstall ended.
2024-06-13 16:04:59, Info                  CBS    Failed uninstalling driver updates [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2024-06-13 16:04:59, Error                 CBS    Shtd: Failed executing critical driver operations queue [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2024-06-13 16:04:59, Info                  CBS    Shtd: Rolling back KTM, because drivers failed.

Looking at the setupapi.dev.log file, we see these failures:


Code:
>>>  [Uninstall Driver Updates]
>>>  Section start 2024/06/13 16:10:36.885
      cmd: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.21924_none_fae8305cb42e8460\TiWorker.exe -Embedding
     sto: Image State        = Specialized
     sto: Image Architecture = amd64
     sto: Transaction        = CbsDriversAndPrimitives
     sto: Driver Updates     = 1
!!!  sto: Failed to find driver update 'C:\Windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.21765_none_4ea8e680dc64b87c\cpu.inf' in Driver Store. Error = 0x00000490
<<<  Section end 2024/06/13 16:10:36.900
<<<  [Exit status: FAILURE(0x00000490)]




>>>  [Unstage Driver Updates]
>>>  Section start 2024/06/13 16:10:36.931
      cmd: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.21924_none_fae8305cb42e8460\TiWorker.exe -Embedding
     sto: Image State        = Specialized
     sto: Image Architecture = amd64
     sto: Driver Updates     = 8
     sto: {Unstage Driver Package: C:\Windows\System32\DriverStore\FileRepository\uaspstor.inf_amd64_8a7b42a50a10b02d\uaspstor.inf} 16:10:36.947
     sto:      {DRIVERSTORE DELETE BEGIN} 16:10:36.947
     sto:      {DRIVERSTORE DELETE BEGIN: exit(0x00000000)} 16:10:36.947
     idb:      {Unregister Driver Package: C:\Windows\System32\DriverStore\FileRepository\uaspstor.inf_amd64_8a7b42a50a10b02d\uaspstor.inf} 16:10:36.947
!!!  idb:           Cannot unregister published driver package 'uaspstor.inf_amd64_8a7b42a50a10b02d'. Error = 0x00000032
!!!  idb:           Failed to unregister driver package 'C:\Windows\System32\DriverStore\FileRepository\uaspstor.inf_amd64_8a7b42a50a10b02d\uaspstor.inf'. Error = 0x00000032
     idb:      {Unregister Driver Package: exit(0x00000032)} 16:10:36.947
     sto:      {DRIVERSTORE DELETE END} 16:10:36.947
     sto:      {DRIVERSTORE DELETE END: exit(0x00000032)} 16:10:36.947
!!!  sto:      Failed to delete driver package from Driver Store. Error = 0x00000032
     sto: {Unstage Driver Package: exit(0x00000032)} 16:10:36.947
!!!  sto: Failed to unstage all driver updates. Error = 0x00000032
     sto: {Stage Driver Package: C:\Windows\WinSxS\amd64_uaspstor.inf_31bf3856ad364e35_6.3.9600.21863_none_43d6b18a163df852\uaspstor.inf} 16:10:36.947
!    sto:      Driver package already imported as 'uaspstor.inf' (C:\Windows\System32\DriverStore\FileRepository\uaspstor.inf_amd64_8a7b42a50a10b02d\uaspstor.inf).
     sto: {Stage Driver Package: exit(0x00000000)} 16:10:36.947
<<<  Section end 2024/06/13 16:10:36.947
<<<  [Exit status: FAILURE(0x00000032)]




[Boot Session: 2024/06/13 16:12:13.489]


>>>  [Unstage Driver Updates]
>>>  Section start 2024/06/13 16:15:00.691
      cmd: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.21924_none_fae8305cb42e8460\TiWorker.exe -Embedding
     sto: Image State        = Specialized
     sto: Image Architecture = amd64
     sto: Driver Updates     = 8
     sto: {Unstage Driver Package: C:\Windows\System32\DriverStore\FileRepository\uaspstor.inf_amd64_8a7b42a50a10b02d\uaspstor.inf} 16:15:01.050
     sto:      {DRIVERSTORE DELETE BEGIN} 16:15:01.050
     sto:      {DRIVERSTORE DELETE BEGIN: exit(0x00000000)} 16:15:01.050
     idb:      {Unregister Driver Package: C:\Windows\System32\DriverStore\FileRepository\uaspstor.inf_amd64_8a7b42a50a10b02d\uaspstor.inf} 16:15:01.050
!!!  idb:           Cannot unregister published driver package 'uaspstor.inf_amd64_8a7b42a50a10b02d'. Error = 0x00000032
!!!  idb:           Failed to unregister driver package 'C:\Windows\System32\DriverStore\FileRepository\uaspstor.inf_amd64_8a7b42a50a10b02d\uaspstor.inf'. Error = 0x00000032
     idb:      {Unregister Driver Package: exit(0x00000032)} 16:15:01.050
     sto:      {DRIVERSTORE DELETE END} 16:15:01.050
     sto:      {DRIVERSTORE DELETE END: exit(0x00000032)} 16:15:01.066
!!!  sto:      Failed to delete driver package from Driver Store. Error = 0x00000032
     sto: {Unstage Driver Package: exit(0x00000032)} 16:15:01.066
!!!  sto: Failed to unstage all driver updates. Error = 0x00000032
     sto: {Stage Driver Package: C:\Windows\WinSxS\amd64_uaspstor.inf_31bf3856ad364e35_6.3.9600.21863_none_43d6b18a163df852\uaspstor.inf} 16:15:01.066
!    sto:      Driver package already imported as 'uaspstor.inf' (C:\Windows\System32\DriverStore\FileRepository\uaspstor.inf_amd64_8a7b42a50a10b02d\uaspstor.inf).
     sto: {Stage Driver Package: exit(0x00000000)} 16:15:01.066
<<<  Section end 2024/06/13 16:15:01.066
<<<  [Exit status: FAILURE(0x00000032)]

I have tried manually adding the amd64_cpu driver to the Driver Store using the pnputil command, but I get an error that "The third-party INF doesn't contain Digital Signature Information." I have disabled the integrity checks using bcdedit and rebooted, but I still receive the same error message when running the pnputil command.

I'm not sure where else to go from here. Any help would be appreciated.

Thanks!
 
Also, here is the output in the setupapi.dev.log when I attempt to add the driver using the pnputil command:

Code:
>>>  [SetupCopyOEMInf - C:\Windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.21765_none_4ea8e680dc64b87c\cpu.inf]
>>>  Section start 2024/06/18 10:02:51.766
      cmd: "C:\Windows\system32\PnPutil.exe" -a C:\Windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.21765_none_4ea8e680dc64b87c\cpu.inf
     sto: {Setup Import Driver Package: C:\Windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.21765_none_4ea8e680dc64b87c\cpu.inf} 10:02:51.829
     inf:      Provider: Microsoft
     inf:      Class GUID: {50127DC3-0F36-415e-A6CC-4CB3BE910B65}
     inf:      Driver Version: 04/21/2009,6.3.9600.21765
     sto:      {Copy Driver Package: C:\Windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.21765_none_4ea8e680dc64b87c\cpu.inf} 10:02:51.938
     sto:           Driver Package = C:\Windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.21765_none_4ea8e680dc64b87c\cpu.inf
     sto:           Flags          = 0x00000007
     sto:           Destination    = C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}
     sto:           Copying driver package files to 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}'.
     flq:           Copying 'C:\Windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.21765_none_4ea8e680dc64b87c\amdppm.sys' to 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\amdppm.sys'.
     flq:           Copying 'C:\Windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.21765_none_4ea8e680dc64b87c\cpu.inf' to 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\cpu.inf'.
     flq:           Copying 'C:\Windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.21765_none_4ea8e680dc64b87c\intelppm.sys' to 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\intelppm.sys'.
     flq:           Copying 'C:\Windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.21765_none_4ea8e680dc64b87c\processr.sys' to 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\processr.sys'.
     flq:           Copying 'C:\Windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.21765_none_4ea8e680dc64b87c\amdk8.sys' to 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\amdk8.sys'.
     flq:           Copying 'C:\Windows\WinSxS\amd64_cpu.inf_31bf3856ad364e35_6.3.9600.21765_none_4ea8e680dc64b87c\fxppm.sys' to 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\fxppm.sys'.
     sto:      {Copy Driver Package: exit(0x00000000)} 10:02:52.141
     pol:      {Driver package policy check} 10:02:52.422
     pol:      {Driver package policy check - exit(0x00000000)} 10:02:52.438
     sto:      {Stage Driver Package: C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\cpu.inf} 10:02:52.438
     inf:           {Query Configurability: C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\cpu.inf} 10:02:52.454
     inf:                Driver package 'cpu.inf' is configurable.
     inf:           {Query Configurability: exit(0x00000000)} 10:02:52.454
     flq:           Copying 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\amdppm.sys' to 'C:\Windows\System32\DriverStore\Temp\{0c75338f-3abe-484d-b21a-78e26582c755}\amdppm.sys'.
     flq:           Copying 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\cpu.inf' to 'C:\Windows\System32\DriverStore\Temp\{0c75338f-3abe-484d-b21a-78e26582c755}\cpu.inf'.
     flq:           Copying 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\intelppm.sys' to 'C:\Windows\System32\DriverStore\Temp\{0c75338f-3abe-484d-b21a-78e26582c755}\intelppm.sys'.
     flq:           Copying 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\processr.sys' to 'C:\Windows\System32\DriverStore\Temp\{0c75338f-3abe-484d-b21a-78e26582c755}\processr.sys'.
     flq:           Copying 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\amdk8.sys' to 'C:\Windows\System32\DriverStore\Temp\{0c75338f-3abe-484d-b21a-78e26582c755}\amdk8.sys'.
     flq:           Copying 'C:\Users\Michael.Koger\AppData\Local\Temp\{52c3e601-abcd-b843-8a80-4952106bee1b}\fxppm.sys' to 'C:\Windows\System32\DriverStore\Temp\{0c75338f-3abe-484d-b21a-78e26582c755}\fxppm.sys'.
     sto:           {DRIVERSTORE IMPORT VALIDATE} 10:02:52.657
!!!  sig:                Driver package does not contain a catalog file, and Code Integrity is in Test Signing mode.
!!!  sig:                Driver package failed signature validation. Error = 0xE000022F
     sto:           {DRIVERSTORE IMPORT VALIDATE: exit(0xe000022f)} 10:02:52.672
!!!  sig:           Driver package failed signature verification. Error = 0xE000022F
!!!  sto:           Failed to import driver package into Driver Store. Error = 0xE000022F
     sto:      {Stage Driver Package: exit(0xe000022f)} 10:02:52.704
     sto: {Setup Import Driver Package - exit (0xe000022f)} 10:02:52.735
!!!  inf: Failed to import driver package into driver store
!!!  inf: Error 0xe000022f: The third-party INF does not contain digital signature information.
<<<  Section end 2024/06/18 10:02:53.000
<<<  [Exit status: FAILURE(0xe000022f)]
 
Hello and welcome,

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.
 
Thanks for the follow up. I actually managed to resolve this issue on my own. It ended up being a corrupt/failed installation of KB5034171. Once I removed the registry entries for the failed KB and rebooted, I was able to successfully update the server. I do have 2 other servers that I am currently working on restoring as well, but it appears that they have different KBs that are the issue, and I'm hoping that the same solution will work for those servers as well.
 
Well done. I marked this thread as solved.

Does one of your servers running Windows Server 2012 R2 contain one or more system files listed below ?
If sos please attach them in a zipfile:
C:\Windows\winsxs\Catalogs\77a5884b6eb7a8e366ed9045abdaf0231fcb5f47890a84a571cb5e9b1ae527b7.cat
C:\Windows\winsxs\Catalogs\8d8b415aab0a0f26193324936e0fde4a26a560249eb2360b1e438cb6efece754.cat
C:\Windows\winsxs\Catalogs\d482bfc631ee79ca581a8ef910e1c258a9161da89251fedc8d3accf83be0e5cb.cat

Thank you.
 
Thanks Peter. I did check my Windows Server 2012 R2 servers and I was not able to find those files on any of them. Sorry about that!
 
No problem.

Take care.
 

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

Back
Top