Windows Server 2019 - Windows Updates get to 8% and then rollback

fullthrottle

Member
Joined
Mar 8, 2022
Posts
20
Hello,

Cumulative updates on a Windows Server 2019 keeps failing. The install is appears successful but after reboot it does a rollback during boot after getting no further than 8%.

I've tried running the commands below but no corruption was found. I have also ran the SFXFix tool and it found no errors.
sfc /scannow
dism /online /cleanup-image /scanhealth
dism /nnline /cleanup-image /restorehealth

If I look in the cbs.log and the setupapi.dev.log it appears that the roll back occurred due to an issue unregistering usbaudio2.inf.

CBS.log
Code:
2022-03-08 23:57:58, Info                  CBS    Doqe:   q-unstage: Inf: usbaudio2.inf, Ranking: 2, Device-Install: 0, Key: 153, Identity: dual_usbaudio2.inf, Culture=neutral, Type=dualModeDriver, Version=10.0.17763.592, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2022-03-08 23:57:58, Info                  CBS    Doqe:   q-unstage: Inf: RDCameraDriver.inf, Ranking: 2, Device-Install: 0, Key: 154, Identity: dual_rdcameradriver.inf, Culture=neutral, Type=dualModeDriver, Version=10.0.17763.1697, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS
2022-03-08 23:57:58, Info                  CBS    Perf: Doqe: Unstaging started.
2022-03-08 23:57:58, Info                  CBS    Doqe: [Rollback] Unstaging driver updates, Count 81
2022-03-08 23:57:58, Info                  CBS            UNSTAGE index: 152, phase: 1, result 50, inf: usbaudio2.inf
2022-03-08 23:57:58, Info                  CBS    DriverUpdateUnstageUpdates failed [HRESULT = 0x80070032 - ERROR_NOT_SUPPORTED]
2022-03-08 23:57:58, Error                 CBS    Doqe: Failed unstaging driver updates [HRESULT = 0x80070032 - ERROR_NOT_SUPPORTED]
2022-03-08 23:57:58, Info                  CBS    Perf: Doqe: Unstaging ended.
2022-03-08 23:57:58, Error                 CBS    Failed unstaging drivers (stage rollback), rebooting and trying again [HRESULT = 0x80070032 - ERROR_NOT_SUPPORTED]
2022-03-08 23:57:58, Info                  CBS    Current global progress. Current: 1, Limit: 81, ExecuteState: CbsExecuteStateStageDrivers | CbsExecuteStateFlagRollback | CbsExecuteStateFlagDriversFailed
2022-03-08 23:57:58, Info                  CBS    Previous global progress. Current: 0, Limit: 1, ExecuteState: ExecuteStateNone
2022-03-08 23:57:58, Info                  CBS    Clearing HangDetect value
2022-03-08 23:57:58, Info                  CBS    Saved last global progress. Current: 1, Limit: 81, ExecuteState: CbsExecuteStateStageDrivers | CbsExecuteStateFlagRollback | CbsExecuteStateFlagDriversFailed
2022-03-08 23:57:58, Info                  CBS    Signalling SC to continue starting services


setupapi.dev.log
Code:
>>>  [Unstage Driver Updates]
>>>  Section start 2022/03/08 23:00:19.014
      cmd: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.2510_none_56d7c72d9929a86b\TiWorker.exe -Embedding
     sto: Image State        = Specialized
     sto: Image Architecture = amd64
     sto: Driver Updates     = 81
     sto: {Unstage Driver Package: C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf} 23:00:19.248
     sto:      {DRIVERSTORE DELETE BEGIN} 23:00:19.248
     sto:      {DRIVERSTORE DELETE BEGIN: exit(0x00000000)} 23:00:19.248
     idb:      {Unregister Driver Package: C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf} 23:00:19.248
!!!  idb:           Cannot unregister published driver package 'usbaudio2.inf_amd64_3e0646bbacd51a3d'. Error = 0x00000032
!!!  idb:           Failed to unregister driver package 'C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf'. Error = 0x00000032
     idb:      {Unregister Driver Package: exit(0x00000032)} 23:00:19.248
     sto:      {DRIVERSTORE DELETE END} 23:00:19.248
     sto:      {DRIVERSTORE DELETE END: exit(0x00000000)} 23:00:19.248
!!!  sto:      Failed to delete driver package from Driver Store. Error = 0x00000032
     sto: {Unstage Driver Package: exit(0x00000032)} 23:00:19.248
!!!  sto: Failed to unstage all driver updates. Error = 0x00000032
     sto: {Stage Driver Package: C:\Windows\WinSxS\amd64_dual_usbaudio2.inf_31bf3856ad364e35_10.0.17763.592_none_d128a5b61462af61\usbaudio2.inf} 23:00:19.248
!    sto:      Driver package already imported as 'usbaudio2.inf' (C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf).
     sto: {Stage Driver Package: exit(0x00000000)} 23:00:19.264
<<<  Section end 2022/03/08 23:00:19.264
<<<  [Exit status: FAILURE(0x00000032)]

Any assistance on this one would be greatly appreciated.

Thanks.
 

Attachments

Evening,

Sorry to bump this thread, I understand people are busy.

I was just wondering if anyone might have a chance to take a look please?
 
Upload Drivers Hive
  1. Navigate to C:\Windows\System32\config
  2. Right-click on the current DRIVERS file and select Copy
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  3. Right-click on your Desktop and select Paste
  4. Right-click on the DRIVERS file on your Desktop and select Send To -> Compressed (zipped) Folder
  5. Upload the zip from your Desktop to a file sharing service such as Dropbox or OneDrive or SendSpace and include the link with your reply.
 
Thanks, could you please open an elevated command prompt and then enter the following command:

Rich (BB code):
pnputil /delete usbaudio2.inf_amd64_3e0646bbacd51a3d /uninstall /reboot

Please post the output in your next post.
 
Hi, the command doesn't seem to accept /delete so I tried /delete-driver instead

pnputil /delete usbaudio2.inf_amd64_3e0646bbacd51a3d /uninstall /reboot

The output was the following

Unable to uninstall driver package: The specified file is not an installed OEM INF.
 
Could you please provide the entire CBS log folder? Just want to check your older logs as well to see if there is any additional context to the error.
 
I've looked at a 2019 server that does not have this issue and found that under the COMPONENTS store there was a key called

Drivers\amd64\usbaudio2.inf\BrvI9njWgMOSdjaTskRUOH2PEHlnfXk/CN5Z1rFGR2I=

With a REG_DWORD of Package_5679_for_KB5011503~31bf3856ad364e35~amd64~~10.0.1.6~5011503-10250_neutral

This key was not there on the server with this issue so I've created it and tried testing installing the latest CU for March. This time around the error is different in the setupapi.dev.log.

Code:
     sto: {Unpublish Driver Package: C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf} 21:36:11.043
     sto:      Driver Package = usbaudio2.inf_amd64_3e0646bbacd51a3d
     idb:      {Unpublish Driver Package: C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf} 21:36:11.043
!!!  idb:           Failed to open driver INF file object 'usbaudio2.inf'. Error = 0x00000002
!!!  idb:           Failed to unpublish 'C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf'. Error = 0x00000002
     idb:      {Unpublish Driver Package: exit(0x00000002)} 21:36:11.043

I've checked the location and the folder does exist and contains two files, usbaudio2.inf and usbaudio2.sys.
 

Attachments

Please refrain from making any changes to your registry or your Driver Store, otherwise you're potentially going to make problems worse or obscure the root cause for the error.
 
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][/CODE] tags around the log to break up the text.
 

Attachments

Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2022-03-13 12:46:50.173
Microsoft Windows Server 10 Build 17763 - amd64
Using .zip script file at C:\Users\administrator\Desktop\SFCFix.zip [0]




PowerCopy::
Successfully took permissions for file or folder C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf
Successfully took permissions for file or folder C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.sys

Successfully copied file C:\Users\administrator\AppData\Local\niemiro\Archive\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf to C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf.
Successfully copied file C:\Users\administrator\AppData\Local\niemiro\Archive\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.sys to C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.sys.

Successfully restored ownership for C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf
Successfully restored permissions on C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf
Successfully restored ownership for C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.sys
Successfully restored permissions on C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.sys
PowerCopy:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 2 datablocks.
Finish time: 2022-03-13 12:46:51.892
Script hash: 6iVYwQS3MFz93Vqq6NFSvZnRrBJNJlqkTH4IOaHGY7Y=
----------------------EOF-----------------------
 
Could you please try the update again? If it fails, then please attach the setupapi.dev.log and the CBS log too.
 
Rich (BB code):
>>>  Section start 2022/03/15 11:27:13.576
      cmd: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.2510_none_56d7c72d9929a86b\TiWorker.exe -Embedding
     sto: Image State        = Specialized
     sto: Image Architecture = amd64
     sto: Driver Updates     = 80
     sto: {Unstage Driver Package: C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf} 11:27:14.139
     sto:      {DRIVERSTORE DELETE BEGIN} 11:27:14.139
     sto:      {DRIVERSTORE DELETE BEGIN: exit(0x00000000)} 11:27:14.154
     idb:      {Unregister Driver Package: C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf} 11:27:14.154
!!!  idb:           Failed to open driver INF file object 'usbaudio2.inf'. Error = 0x00000002
!!!  idb:           Failed to unregister driver package 'C:\Windows\System32\DriverStore\FileRepository\usbaudio2.inf_amd64_3e0646bbacd51a3d\usbaudio2.inf'. Error = 0x00000002
     idb:      {Unregister Driver Package: exit(0x00000002)} 11:27:14.154
     sto:      {DRIVERSTORE DELETE END} 11:27:14.154
     sto:      {DRIVERSTORE DELETE END: exit(0x00000000)} 11:27:14.154
!!!  sto:      Failed to delete driver package from Driver Store. Error = 0x00000002

Rich (BB code):
     sto: {Unstage Driver Package: C:\Windows\System32\DriverStore\FileRepository\tsprint.inf_amd64_f5756dc40645afee\tsprint.inf} 11:27:14.217
     sto:      {DRIVERSTORE DELETE BEGIN} 11:27:14.217
     sto:      {DRIVERSTORE DELETE BEGIN: exit(0x00000000)} 11:27:14.217
     idb:      {Unregister Driver Package: C:\Windows\System32\DriverStore\FileRepository\tsprint.inf_amd64_f5756dc40645afee\tsprint.inf} 11:27:14.217
!!!  idb:           Cannot unregister published driver package 'tsprint.inf_amd64_f5756dc40645afee'. Error = 0x00000032
!!!  idb:           Failed to unregister driver package 'C:\Windows\System32\DriverStore\FileRepository\tsprint.inf_amd64_f5756dc40645afee\tsprint.inf'. Error = 0x00000032
     idb:      {Unregister Driver Package: exit(0x00000032)} 11:27:14.233
     sto:      {DRIVERSTORE DELETE END} 11:27:14.233
     sto:      {DRIVERSTORE DELETE END: exit(0x00000000)} 11:27:14.233
!!!  sto:      Failed to delete driver package from Driver Store. Error = 0x00000032
     sto: {Unstage Driver Package: exit(0x00000032)} 11:27:14.233
!!!  sto: Failed to unstage all driver updates. Error = 0x00000032

The CBS log just before the error in the setupapi.dev.log:

Rich (BB code):
2022-03-15 11:26:39, Info                  CBS    Doqe: [Rollback] Unstaging driver updates, Count 80
2022-03-15 11:26:39, Info                  CBS            UNSTAGE index: 152, phase: 1, result 0, inf: usbaudio2.inf
2022-03-15 11:26:39, Info                  CBS            UNSTAGE index: 150, phase: 1, result 0, inf: machine.inf
2022-03-15 11:26:39, Info                  CBS            UNSTAGE index: 149, phase: 1, result 0, inf: mshdc.inf
2022-03-15 11:26:39, Info                  CBS            UNSTAGE index: 148, phase: 1, result 0, inf: sdbus.inf
2022-03-15 11:26:39, Info                  CBS            UNSTAGE index: 147, phase: 1, result 0, inf: sdstor.inf
2022-03-15 11:26:39, Info                  CBS            UNSTAGE index: 31, phase: 1, result 50, inf: tsprint.inf
2022-03-15 11:26:39, Info                  CBS    DriverUpdateUnstageUpdates failed [HRESULT = 0x80070032 - ERROR_NOT_SUPPORTED]
2022-03-15 11:26:39, Error                 CBS    Doqe: Failed unstaging driver updates [HRESULT = 0x80070032 - ERROR_NOT_SUPPORTED]
2022-03-15 11:26:39, Info                  CBS    Perf: Doqe: Unstaging ended.
2022-03-15 11:26:39, Error                 CBS    Failed unstaging drivers (stage rollback), rebooting and trying again [HRESULT = 0x80070032 - ERROR_NOT_SUPPORTED]

Export SideBySide
  1. Click on the Start button and in the search box, type regedit
  2. When you see regedit on the list, right-click on it and select Run as administrator
  3. When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide
  4. Once selected, click File > Export....
  5. Change the Save as type: to Registry Hive Files (.)
  6. Name this file SxS (with no file extension) and save it to your Desktop.

Once done please upload this file via Dropbox or OneDrive or SendSpace

Please ensure that it is exported as registry hive file.

SFCFixScript.txt
  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.[/list]
 

Attachments

Could you please provide your COMPONENTS hive too?

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. Examples of services to upload to are Dropbox or OneDrive or SendSpace and then just provide the link in your reply.
 

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

Back
Top