[SOLVED] Windows Server 2019 - failed install attempt error 0x80070002

JazzyJeff19019

New member
Joined
Oct 23, 2024
Posts
2
When trying to install a CU for server 2019 (KB5044277) the update will install then roll back after a reboot.

Code:
PS C:\Windows\system32> sfc /scannow

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.
PS C:\Windows\system32> Dism /Online /Cleanup-Image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.17763.5830

Image Version: 10.0.17763.6293

[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.

Have also tried this

1. Press Windows Key + X on the keyboard and then select “Command Prompt (Admin)” from the menu.

2. Stop the BITS, Cryptographic, MSI Installer and the Windows Update Services. To do this, type the following commands at a command prompt. Press the “ENTER” key after you type each command.

net stop wuauserv

net stop cryptSvc

net stop bits

net stop msiserver

3. Now rename the SoftwareDistribution and Catroot2 folder. You can do this by typing the following commands in the Command Prompt. Press the “ENTER” key after you type each command.

ren C:\Windows\SoftwareDistribution SoftwareDistribution.old

ren C:\Windows\System32\catroot2 Catroot2.old

4. Now, let’s restart the BITS, Cryptographic, MSI Installer and the Windows Update Services. Type the following commands in the Command Prompt for this. Press the ENTER key after you type each command.

net start wuauserv

net start cryptSvc

net start bits

net start msiserver

5. Type Exit in the Command Prompt to close it and then restart the computer.

6.After restarting the computer, now retry to install Windows Updates.
 

Attachments

Hi @JazzyJeff19019,

Welcome to Sysnative Forums!

If you haven't already, please review the posting instructions here, and attach the requested log files. Without log files, our helpers will not be able to assist, and this will slow down fixing your machine.

If logs have been already been provided, our team of volunteers will analyse the provided log files to build a fix for your system. Please be aware that this may take several days from your initial post, due to the high volume of threads that we receive.


- Sysnative Windows Update Team
 
This has been resolved

from the setupapi.dev.log found that it was looking for a driver that wasn't present.

Code:
C:\Windows\System32\DriverStore\FileRepository\miradisp.inf_amd64_0126a10dea231570\miradisp.inf} 15:23:03.524
!!!  idb:           Failed to create driver package object 'miradisp.inf_amd64_0126a10dea231570' in DRIVERS database node. Error = 0x00000002
!!!  idb:           Failed to register driver package 'C:\Windows\System32\DriverStore\FileRepository\miradisp.inf_amd64_0126a10dea231570\miradisp.inf'. Error = 0x00000002
Copied the folder to from another server to C:\Windows\System32\DriverStore\FileRepository\ and the install went through.
 
Back
Top