How to fix Error 457 on Windows 11

Troubleshooting Guide: Error 457 – SCCD Authorized Entity Mismatch

Why This Error Happens

Error 457 occurs when Windows attempts to validate an application package against its Signed Configuration Container Document (SCCD), but none of the authorized entity elements inside the SCCD correspond to the app being installed. This typically happens because the Package Family Name (PFN) embedded in the SCCD doesn’t match the PFN of the app package, or because the cryptographic signature hash of the entity element fails validation—often due to a corrupted, outdated, or improperly re-signed SCCD/manifest file. This is common when sideloading modified packages, applying manual servicing updates, or when a provisioning package references a stale app version.

Step-by-Step Resolution Guide

  1. Verify the Package Family Name (PFN) matches the SCCD
    Open PowerShell as Administrator and run:
   Get-AppxPackage -Name "*<AppName>*" | Select Name, PackageFamilyName

Compare this output against the PFN declared in the SCCD XML file (usually located in the app’s provisioning or servicing folder, e.g., C:\ProgramData\Microsoft\Windows\AppRepository\). If they don’t match, you need the correct, matching SCCD issued for that specific package version.

  1. Re-acquire a properly signed SCCD
    If you’re deploying via Intune, WSUS, or a provisioning package, ensure the SCCD was generated for the exact build/version of the app you’re installing. Request a freshly signed SCCD from the app publisher or your enterprise packaging pipeline rather than reusing an older one.

  2. Clear the corrupted AppX cache
    Corrupted local cache entries can cause hash mismatches even with valid files:

   Stop-Service -Name AppXSvc -Force
   Remove-Item -Path "C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Deployment*" -Force -Recurse
   Start-Service -Name AppXSvc

Restart the device, then retry the installation.

  1. Validate the certificate chain
    Open certmgr.msc and confirm the signing certificate used for the SCCD/app package is installed under Trusted People or Trusted Publishers and has not expired. A broken certificate chain will cause hash validation to fail even if the PFN is correct.

  2. Re-register the app package
    If the app is already partially installed, force a clean re-registration:

   Get-AppxPackage *<AppName>* | Remove-AppxPackage
   Add-AppxPackage -Register "<path to AppxManifest.xml>" -DisableDevelopmentMode

Alternative or Verification Steps

  • Verify the fix: Re-run the installation/deployment and check Event Viewer under Applications and Services Logs > Microsoft > Windows > AppXDeploymentServer/Operational for a successful event (no Error 457 recurrence).
  • Alternative: If the issue persists, use the Windows App Certification Kit or Add-AppxPackage -Path <path> -Verbose to get a detailed hash mismatch report, which can pinpoint exactly which entity element or PFN entry is invalid.