Windows 11 Upgrade - 80070520 error when executing upgrade via Endpoint Management System

BlaiseB 0 Reputation points
2024-12-09T18:49:15.53+00:00

I am attempting to upgrade Windows 10 workstations to Windows 11 22H2 via our Agent Based Endpoint Management System (EMS). The .ps1 script that is executed via agent mounts the ISO of Win 11 to the targeted workstation and then starts the setup.exe process with the following arguments:

-ArgumentList "/quiet /Auto Upgrade /Dynamicupdate disable /<pkey> /EULA accept /ShowOOBE none /CopyLogs c:\temp" -PassThru -Wait

I keep getting the following errors:

Windows::Compat::Appraiser::AppraiserSettings::GetSettingsInternal (334): Failed to retrieve DeviceTicket: [0x80070520][gle=0x80070520]

Windows::Compat::Appraiser::Utilities::SendRequest (1592): Failed to connect to the internet, or send request, or request encountered HTTP error: [0].[gle=0x80004005]

Windows::Compat::Appraiser::Utilities::DownloadCabFile (5112): Failed to send request using default proxy[gle=0x80004005]

Windows::Compat::Appraiser::Utilities::SendRequest (1592): Failed to connect to the internet, or send request, or request encountered HTTP error: [0].[gle=0x80004005]

Windows::Compat::Appraiser::Utilities::DownloadCabFile (5124): Failed to send request using auto proxy[gle=0x80004005]

Windows::Compat::Appraiser::Utilities::SendRequest (1592): Failed to connect to the internet, or send request, or request encountered HTTP error: [0].[gle=0x80004005]

Windows::Compat::Appraiser::Utilities::DownloadCabFile (5136): Failed to send request using default proxy with impersonation[gle=0x80004005]

Windows::Compat::Appraiser::Utilities::SendRequest (1592): Failed to connect to the internet, or send request, or request encountered HTTP error: [0].[gle=0x80004005]

Windows::Compat::Appraiser::Utilities::DownloadCabFile (5149): Failed to send request using auto proxy with impersonation[gle=0x80004005]

Windows::Compat::Appraiser::SetupAppraiser::GetAlternateData (4827): Error downloading new cab file, swallowing: [0x80004005].[gle=0x80004005]

Windows::Compat::Appraiser::SetupAppraiser::GetAlternateData (4899): Error downloading or extracting alternate cab, ADL link http://adl.windows.com/appraiseradl/2024_12_05_04_54_AMD64.cab; cab location C:$WINDOWS.~BT\Sources\Panther\AltData.cab; Result: [0x80004005][gle=0x80004005]

Windows::Compat::Appraiser::SetupAppraiser::InitializeRunOptions (2115): Error checking for latest SDB, swallowing: [0x80004005].[gle=0x80004005] 2024-12-09 10:03:04,

Appraiser: ERROR,SdbpGetManifestedMergeStubAlloc,1017,SdbpGetMergeSdbsDisabled failed [c0000034]

This script works fine outside of the EMS when run manually. Please help!

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

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-12-10T01:52:15.33+00:00

    Hello,

    Based on the error logs you provided, it seems the upgrade process is failing due to issues with connecting to the internet to download necessary update files. This could be due to network configuration issues, proxy settings, or permission problems when the script is run through your Endpoint Management System (EMS).

    Here are some steps to troubleshoot this issue:

    Proxy and Internet Access:

    Ensure that the EMS agent has the correct proxy configuration if your network requires a proxy server for internet access.

    Make sure the firewall and antivirus settings on the workstation and within your network allow access to Microsoft update services and do not block the executable files used by the upgrade process (setup.exe, etc.).

    Agent Permissions:

    Check that the EMS agent service is running with an account that has sufficient permissions to access the internet and perform the upgrade.

    EMS Agent Troubleshooting:

    Check the logs of the EMS agent to see if it provides any additional information about the failure or if there are any known issues with running upgrade scripts through your particular EMS.

    Review the EMS configuration to see if there are any settings or policies that may restrict the upgrade process, such as limited access to system folders or network restrictions that apply only to the EMS agent.

    Best Regards,

    Hania Lian

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

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

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.