Upgrade to 20H2 fails due to MicrosoftEdgeStandaloneInstaller.exe

BD 21 Reputation points
2021-06-16T08:37:06.277+00:00

We have a couple machines in our domain that fails upgrading.
In the setupact.log there is this lines

2021-06-15 16:49:48, Error                 CSI    0000004b (F) Done with generic command 8; CreateProcess returned 0, CPAW returned S_OK
    Process exit code 2147746132 resulted in success? false
    Process output: [l:0 ][gle=0x80004005]
2021-06-15 16:49:48, Info                  CSI    0000004c Direct SIL provider: Number of files opened: 1.
2021-06-15 16:49:48, Error      [0x018007] CSI    0000004d (F) Failed execution of queue item Installer: Generic Command ({81a34a10-4256-436a-89d6-794b97ca407c}) with HRESULT HRESULT_FROM_WIN32(14109).  Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]
2021-06-15 16:49:48, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2021-06-15 16:49:48, Info                  CBS    Could not get file name for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2021-06-15 16:49:48, Info                  CBS    Failed to retrieve CBS log environment variable size for offline WER report. [HRESULT = 0x800700cb - ERROR_ENVVAR_NOT_FOUND]
2021-06-15 16:49:48, Info                  CBS    Not able to add CBS log files to Windows Error Report. [HRESULT = 0x800700cb - ERROR_ENVVAR_NOT_FOUND]
2021-06-15 16:49:48, Info                  CSI    0000004e@2021/6/15:14:49:48.992 CSI Advanced installer perf trace:
CSIPERF:AIDONE;{81a34a10-4256-436a-89d6-794b97ca407c};Microsoft-Windows-EdgeChromium-FirstTimeInstaller, version 10.0.19041.681, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35};2374252us
2021-06-15 16:49:48, Info                  CSI    0000004f End executing advanced installer (sequence 46)
    Completion status: HRESULT_FROM_WIN32(ERROR_ADVANCED_INSTALLER_FAILED) 

some lines later this:

2021-06-15 16:49:50, Info                  CSI    00000067 The queue has completed running, and AI failures have occured.
2021-06-15 16:49:50, Info                  CSI    00000068 ==Error Summary Start==
2021-06-15 16:49:50, Error                 CSI    00000069 (F) Generic Command  ErrorCode: 80004005 Executable: MicrosoftEdgeStandaloneInstaller.exe    ExitCode: 2147746132    Phase: 38   Mode: Install (upgrade) Component: Microsoft-Windows-EdgeChromium-FirstTimeInstaller, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS[gle=0x80004005]
2021-06-15 16:49:50, Info                  CSI    0000006a ==Error Summary End==
2021-06-15 16:49:50, Error                 CSI    0000006b@2021/6/15:14:49:50.117 (F) onecore\base\wcp\componentstore\com\advancedinstallerstore.cpp(568): Error HRESULT_FROM_WIN32(ERROR_ADVANCED_INSTALLER_FAILED) originated in function Windows::COM::CComponentStore::IAdvancedInstallerAwareStore_ResolvePendingTransactions expression: static_cast<DWORD>(14099L)
[gle=0x80004005]

I tried to uninstall EdgeChrome from program files, that did not made any difference,
I tried reinstalling EdgeLegacy with powershell and Add-AppxPackage
i tried reinstalling EdgeChrome, all without success to upgrading, error message is always the same.

We cannot find any hints about this and what to do to upgrade without reimaging and loosing data.

any help would be appreciated.

Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

Accepted answer
  1. Jenny Feng 14,246 Reputation points
    2021-06-17T01:58:54.987+00:00

    @BD
    Hi,
    This can happen when you used an incorrect command to uninstall Microsoft Edge and leftover folders weren’t removed properly.
    The update installation fails when it detects an empty Edge folder in the system drive (C:\Program Files (x86)\Microsoft\Edge). As a result, Windows initiates the automatic rollback and an error message is displayed within the Settings app.

    Please use these steps:
    Open the system drive.
    Navigate to Program Files (x86).
    Open Microsoft folder.
    Locate and delete the Edge folder.
    Restart the system.

    Delete the folder on the device and restart the update to see if it works.

    Hope above information can help you.

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.