[SOLVED] Error Install Update KB5034127 Windows server 2019

sogeking

Well-known member
Joined
Feb 1, 2024
Posts
51
I am having trouble updating a Hyper-V VM Windows Server 2019 1809. Windows is showing errors. I have already run the DISM tool, but it did not find any issues. However, the CBS.log shows some results such as [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]. Could you help me? I have attached the CBS.log for reference
 

Attachments

Hi,

Upload the SCHEMA.DAT file
  • Navigate to C:\Windows\System32\SMI\Store\Machine and copy the SCHEMA.DAT file to your desktop.
  • Right-click on this file on your desktop and select Send To > Compressed (zipped) folder. This will create a file named SCHEMA.ZIP on your desktop.
  • Attach this ZIP-file to your next reply.
 
Replace the SCHEMA.DAT file

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.
  • Download the attached Schema.zip file and save it to your desktop, right-click on it and select Extract all.
  • Navigate to C:\Windows\System32\SMI\Store\Machine and rename the SCHEMA.DAT file to SCHEMA.old
  • Copy the SCHEMA.DAT file on your desktop into the above directory.
Afterwards reboot the server and attempt to update again. If it fails attach a new copy of the CBS logs.
 

Attachments

Open an elevated command prompt, run the following command and copy paste the result in your next post.
Code:
certutil -hashfile C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.5084_none_5714836198fb2c10\securebootai.dll SHA256
 
CertUtil: -hashfile command FAILED: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND)
CertUtil: The system cannot find the file specified.
 
Upload your COMPONENTS hive.
  • Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
  • 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.
  • 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.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Download
6530fbb0f4101-56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.

Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.

Afterwards attempt to update again and post the result. if it fails attach a new copy of the CBS logs.
 

Attachments

Progress was made. After finishing downloading the updates, it asked to restart. However, upon restarting, it displayed 'Undoing changes' at 7%.
 

Attachments

Rich (BB code):
2024-02-12 12:34:29, Error                 CBS    Doqe: Failed unstaging driver updates [HRESULT = 0x80070032 - ERROR_NOT_SUPPORTED]
2024-02-12 12:34:29, Info                  CBS    Perf: Doqe: Unstaging ended.
2024-02-12 12:34:29, Error                 CBS    Failed unstaging drivers (stage rollback), rebooting and trying again [HRESULT = 0x80070032 - ERROR_NOT_SUPPORTED]

Upload the setupapi.dev.log file
  • Open Windows Explorer and browse to the C:\Windows\INF folder.
  • Right-click on the file setupapi.dev.log and choose Send to > Compressed (zipped) folder.
  • Now the message will appear, "Windows cannot create the Compressed (zipped) Folder here. Do you want it to be placed on the desktop instead?"
  • Click on the Yes button here.
657716925b62b-setup-api-dev-folder.png

  • Attach the file setupapi.dev.zip in your next reply.
 
Export registry key as hive file.
  • Open the Start menu of Windows and type CMD.
  • When you see Command Prompt on the list, select the option Run as administrator.
  • Copy and paste the following command into the command prompt and press enter.
Code:
reg save "HKLM\SYSTEM\DriverDatabase\DriverPackages" "%userprofile%\Desktop\DriverPackages.hiv"
  • Once done, a file will appear on your desktop, called DriverPackages.hiv.
  • ZIP this file and attach it to your next reply.
 
Hmm, please do the following:
  • Click on the Start button and type regedit
  • When you see regedit on the list, right-click on it and select Run as administrator.
  • When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.
    Code:
    HKEY_LOCAL_MACHINE\SYSTEM\DriverDatabase\DriverPackages
  • Once selected, click File > Export....
  • Change the Save as type: to Registry Hive Files (*.*).
  • Name this file DriverPackages (with no file extension) and save it to your Desktop.
  • Right-click on the saved file and choose Send > Compressed (zipped) Folder.
  • Attach the .ZIP file to your next post.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Please reboot the server and provide a copy of the complete SYSTEM hive.

Retrieve SYSTEM Hive
  • 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 SYSTEM.
  • Copy this file to your Desktop.
  • Now right click on the file 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 OneDrive 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.
 
Back
Top