[Package Issue]: Microsoft.Office - installer hash mismatch

Open
#482,466 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
json
Domain
release

Research direction

Find the Microsoft.Office manifest for version 16.0.20228.20124 and compare its installer URL and SHA256 with the values in the report. Start by checking the package metadata and verifying the hash of the installer served from the listed Microsoft CDN URL. Done means confirming whether the published hash is outdated and, if so, updating the manifest hash to match the verified installer.

Written by the indexing model from the issue text.

Description

Error-Hash-Mismatch Needs-Triage Package-Update
Please confirm these before moving forward
  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue

Installation issue.

Brief description of your issue

Package Identifier: Microsoft.Office

Version:
16.0.20228.20124

Command:
winget install --id Microsoft.Office --exact --silent

Error:
Installer hash does not match; this cannot be overridden when running as admin

Manifest details:
Installer URL:
https://officecdn.microsoft.com/pr/wsus/setup.exe

Expected SHA256 from manifest:
f266bc16834fbfae5aa7aca7c27ed5f393cac0bb2acebc2d5bb2dd7813cf7497

Actual SHA256 of downloaded installer:
c883ab32dffe4a371bb37411de83edc5d62ff31d315c5e3b59e830326bb4e322

Verification steps:

  1. Ran winget source reset --force
  2. Ran winget source update
  3. Confirmed package metadata using:
    winget show --id Microsoft.Office --exact
  4. Downloaded setup.exe directly from the installer URL.
  5. Verified SHA256 using:
    Get-FileHash -Algorithm SHA256

Result:
The installer being served from the Microsoft CDN appears to have a different hash than the one currently published in the Microsoft.Office winget manifest, causing installation to fail.

Steps to reproduce

winget install --id Microsoft.Office --exact

Actual behavior

Installer hash does not match; this cannot be overridden when running as admin

Expected behavior

Install Microsoft.Office

Environment
Windows Package Manager v1.29.380
© 2026 Microsoft. All rights reserved.

Windows: Windows.Desktop v10.0.26300.9974
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.29.380.0

WinGet Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads
Configuration Modules              %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
ConfigurationProcessorPath                Disabled
DefaultProxy                              Disabled
Screenshots and Logs

No response

Dominant language
No language data
Stars
11.4k
Forks
13.8k
Avg merge
1h 39m
Merged PRs (30d)
666

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/winget-pkgs

All issues in microsoft/winget-pkgs

Similar issues

More Release issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.