You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
where are windows server 2022 installation instructions? #4502
> The client requires Windows 10 1809 (build 17763) or later at this time. Windows Server 2019 is not supported as the Microsoft Store is not available nor are updated dependencies. It may be possible to install on Windows Server 2022, this should be considered experimental (not supported), and requires dependencies to be manually installed as well.
I'm glad to hear that installation on windows server 2022 "may be possible." What steps should I take to test if it's possible for me?
After doing some more searching, I think this issue is a duplicate of #438 which has seemingly been closed as a "won't fix" if I understand correctly (issue marked closed & docs are non-existent).
I think it's a bit strange to dangle the possibility of installation on windows server 2022 in the readme, then make it a secret out of how to actually do it.
There are a couple of different options. Users should also be aware that WinGet distributed through the App Installer is considered a Windows System component which means once it's been added to Windows Server 2022, removal is not supported.
One method is the instructions at Microsoft Learn for bootstrapping WinGet in the Windows Sandbox. The other method is using the Repair-WinGetPackageManager PowerShell cmdlet inside the Microsoft.WinGet.Client PowerShell module.
Change its file extension from .msixbundle → .zip in File Explorer.
Extract the .zip.
In the extracted folder, find AppInstaller_x64.msix. Then change that one too to a .zip and extract it.
Open a command line in the extracted AppInstaller_x64 folder, and run .\winget search weather or similar.
It works. Text strings are a bit broken, but it works. MSIX programs (e.g. PowerShell 7) installed through Winget can sometimes throw "No applicable app licenses found" on first launch, but will work on the 2nd launch onwards.
Screenshot proof:
This guide will probably also work for pretty much anyone wanting a portable Winget environment for any ≥2018 Windows version (except Server Core).
I did also try to see if this would work with Windows 8 RTM, Windows 8.1 RTM, and Windows Server 2016 RTM, but it turned out Winget relies on something called IsWow64Process2 that was introduced in 2017 OS updates.
Activity
greyltc commentedon May 23, 2024
After doing some more searching, I think this issue is a duplicate of #438 which has seemingly been closed as a "won't fix" if I understand correctly (issue marked closed & docs are non-existent).
I think it's a bit strange to dangle the possibility of installation on windows server 2022 in the readme, then make it a secret out of how to actually do it.
denelon commentedon May 24, 2024
There are a couple of different options. Users should also be aware that WinGet distributed through the App Installer is considered a Windows System component which means once it's been added to Windows Server 2022, removal is not supported.
One method is the instructions at Microsoft Learn for bootstrapping WinGet in the Windows Sandbox. The other method is using the
Repair-WinGetPackageManagerPowerShell cmdlet inside the Microsoft.WinGet.Client PowerShell module.tristanbarcelon commentedon Jun 22, 2024
Hi Demitrius Nelon (@denelon) I followed your suggestion above and received an error about missing license.
Karl-WE commentedon Nov 17, 2024
A non Microsoft approach is
Bit.ly/winget-install
Works for unsupported OS like Windows Server 2022 and 2019.
tristanbarcelon commentedon May 14, 2025
I updated winget on Server 2022 using later version of winget-install and it borked the winget cli. Incidentally, Microsoft.Winget.Client still works.
DandelionSprout commentedon May 31, 2026
I got the following to work for Windows Server 2019 RTM Desktop Experience, making it practically guaranteed it'll also work for Server 2022:
Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundlefile from https://github.com/microsoft/winget-cli/releases.msixbundle→.zipin File Explorer..zip.AppInstaller_x64.msix. Then change that one too to a.zipand extract it.AppInstaller_x64folder, and run.\winget search weatheror similar.Screenshot proof:
This guide will probably also work for pretty much anyone wanting a portable Winget environment for any ≥2018 Windows version (except Server Core).
I did also try to see if this would work with Windows 8 RTM, Windows 8.1 RTM, and Windows Server 2016 RTM, but it turned out Winget relies on something called
IsWow64Process2that was introduced in 2017 OS updates.fix(windows): winget 導入を GitHub リリース方式に切り替える
Improved the OS support requirements in the README. (#6447)