[SOLVED] Server 2022 21H2 - Edge update to latest version fails with error 0x80070643 through Win update

Gratiskeder

Well-known member
Joined
May 27, 2022
Posts
148
Update for Microsoft Edge-Stable Channel is failing with error 0x80070643 through Windows Update and SCCM (Software Center).
When trying to update through Edge (About Microsoft Edge), it also fails, but with error An error occurred while checking for updates: Installation failed due to unspecified error. If Microsoft Edge is currently running, please close it and try again. (error code 7: 0x80040902: 521 -- system level).

Tried to reset Windows Update - Did not change anything
SFC /Scannow does not find anything - Attached result
DISM completed successfully - Attached result
ComponentScanner did not find anything - Attached result
Attached CBS log
 

Attachments

It also fails when I download the update from Microsoft Update-catalog, and try to install the .msi file from the .cab file.

Also tried go to Edge download page, and install the setup. It also fails
 
Last edited:
Just tried to replace "C:\Program Files (x86)\Microsoft\EdgeUpdate" with a copy from another server that is updated.
Didn't change anything
 
Also just tried to run DISM using the other server as source - DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:\\<servername>\c$\Windows\WinSxS /LimitAccess
DISM completed successfully, but Edge still fails with update
 
Hi,

Which Edge update (KB number) is failing, and which update have you downloaded from the Update Catalog? I don't see any issue in the CBS logs, but please provide the Windows Update log, maybe it will show more information.

Export the Windows Update log
  • Right-click on the Start button and click Windows PowerShell (Admin).
  • Copy and paste the following command into it, press enter afterwards
Code:
Get-WindowsUpdateLog
  • Wait for the message "WindowsUpdate.log written to C:\Users\<username>\Desktop\WindowsUpdate.log".
  • Attach the logfile WindowsUpdate.log to your next reply.
 
Rich (BB code):
2024-08-05 09:46:17.2663574 2128  3588  Handler         First failure for update {1FCE1D30-6FC4-4F79-8920-EA7081EC0B46.200}, transaction error = 0x8024200b, MSI result = 0x80070643, MSI action = DoInstall
Error 0x8024200b means > The installer failed to install (uninstall) one or more updates.

Please try to install the Edge update again with Process Monitor running and attach a new Windows Update log for the time stamps to set some filters.

Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running while you perform the next steps.
2. Try to install the Edge Update.
3. Stop Process Monitor a minute after it fails - just to be sure everything is logged. You can simply do this by clicking the capture icon (CTRL +E) on the toolbar as shown below.

Process-Monitor.png


4. Select the File menu...Save... and save the file to your desktop. This is likely the default location. The name (unless changed) will be LogFile.PML. This is fine.
5. Zip up the LogFile.PML and upload it to WeTransfer | Send Large Files Fast - Up To 2GB Free and provide the link.
 
Please provide also the latest Windows Update log as requested for the time stamps.
Code:
Get-WindowsUpdateLog
 
Please run the following command in an elevated PowerShell prompt and copy and paste the result:
Code:
(Get-Item "C:\Program Files (x86)\Microsoft\Edge*\Application\msedge.exe").VersionInfo

Open MS Edge and copy - paste the following in the address bar and take a screenshot of the version number.
Code:
edge://settings/help
 
Commands doesn't manage to give anything,
Code:
PS C:\windows\system32> (Get-Item "C:\Program Files (x86)\Microsoft\Edge*\Application\msedge.exe").VersionInfo
PS C:\windows\system32>
I checked the file manually,
1722860438365.png

edge://settings/help shows,
1722860525856.png
 
Without the * in the command it just fails,
Code:
PS C:\windows\system32> (Get-Item "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe").VersionInfo
Get-Item : Could not find item C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe.
At line:1 char:2
+ (Get-Item "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.e ...
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Program File...tion\msedge.exe:String) [Get-Item], IOException
    + FullyQualifiedErrorId : ItemNotFound,Microsoft.PowerShell.Commands.GetItemCommand

File is placed there,
1722860707230.png
 
Commands doesn't manage to give anything,
Hmm, that's strange it should show the following:

Code:
PS C:\Users\Administrator> (Get-Item "C:\Program Files (x86)\Microsoft\Edge*\Application\msedge.exe").VersionInfo

ProductVersion   FileVersion      FileName
--------------   -----------      --------
127.0.2651.86    127.0.2651.86    C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe

Please open the settings window (WIN +I) > Apps and try to uninstall Microsoft Edge.
 
Is that even possible on Windows Server 2022. Haven't it replaced Internet Explorer as standard with the OS.
Either way I can't get the option. Neither from Control Panel,
1722861694171.png
 
File is placed there,
Why are those files and (SetupMetrics) folder greyed out like they are set as hidden?

Is that even possible on Windows Server 2022.
Yes, I've just removed Edge on an Server 2022 here and re-installed it.

MSEdge.png

Please try the attached installer to re-install Edge.

Edit: (Attachement removed)
 
Last edited:
Why are those files and (SetupMetrics) folder greyed out like they are set as hidden?
Honestly no idea.
"C:\Program Files (x86)\Microsoft" was hidden, and most of the subfolders / files
Just unhidden it from "C:\Program Files (x86)\Microsoft"

Edge gets succssfully updated now when I run the setup file,
1722862650417.png


Damn that seems dumb to have been the issue... I had seen from the start that the files was hidden, but just haven't imagined that it would give that error just by being hidden. The files still exist and are in the same place 🥲
 
Great, and I don't be sure if the hidden files were the root cause. I can't actually imagine that, and the most obvious cause could be some core files of MS Edge were missing. Could you please run the command below again to see if it shows the same result as I have posted?

Code:
(Get-Item "C:\Program Files (x86)\Microsoft\Edge*\Application\msedge.exe").VersionInfo
 
It doesn't make sense as a root cause for me either.
But I ran the command right after I unhide it, and again now,

Code:
PS C:\windows\system32> (Get-Item "C:\Program Files (x86)\Microsoft\Edge*\Application\msedge.exe").VersionInfo

ProductVersion   FileVersion      FileName
--------------   -----------      --------
108.0.1462.46    108.0.1462.46    C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe


PS C:\windows\system32> (Get-Item "C:\Program Files (x86)\Microsoft\Edge*\Application\msedge.exe").VersionInfo

ProductVersion   FileVersion      FileName
--------------   -----------      --------
127.0.2651.86    127.0.2651.86    C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
 
Hmm, that's interesting but then it still remains a mystery why those files were set as hidden? 🤔

If everything is up-and-running again we can mark this thread as solved I guess...
 

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

Back
Top