Replies: 34 comments 52 replies
-
classic jump servers come to mind where win32 apps are likely required and would benefit from automatic updating |
Beta Was this translation helpful? Give feedback.
-
terminalservers where a package manager would make provisioning and updating of non-virtualized applications easier and faster |
Beta Was this translation helpful? Give feedback.
-
winget could serve as a trusted source in scenarios where servers run application guard/allow-list scenarios |
Beta Was this translation helpful? Give feedback.
-
simplification of deployment/update method for applications between client and server OS. |
Beta Was this translation helpful? Give feedback.
-
Not everyone wants to pay for Chocolatey ;) |
Beta Was this translation helpful? Give feedback.
-
Can you please add my past issue "Strict Microsoft package signature validation" to the list? One of the things that would make winget more friendly for Windows Server usage is if it could provide a guarantee that when installing Microsoft packages, they actually come from Microsoft (rather than just trust the winget repos) it would make it close-enough to built-in Windows features you can enable, especially for things like Windows Admin Center. It would also make it possible to validate the trust of origin with an offline cache. |
Beta Was this translation helpful? Give feedback.
-
Windows Client and Windows Server behave the same in many ways. Imho something that works on a Windows client (like an install command in a batch/powershell script) shouldn't break on a Windows Server and vice versa (unless related to hard feature differences). Example: As a developer I might want to install |
Beta Was this translation helpful? Give feedback.
-
Using inside windows containers to install applications |
Beta Was this translation helpful? Give feedback.
-
To quickly prepare a Windows Server node to be added to a Kubernetes cluster by installing all the prerequisites with WinGet:
|
Beta Was this translation helpful? Give feedback.
-
tl;dr - Not every environment has access to Azure or the internet. I have worked in secure environments that are "off line" or do not have an internet connection. I currently work as an incident responder, and we have a flyaway kit that doesn't get connected to the internet. The best solution I came up with was building a ProGet (https://inedo.com/proget) server to host all my chocolatey packages. I chose this route because when I looked at getting an on-prem winget solution, I learned winget needed access to Azure (correct me if I am wrong). With ProGet I can build the VM on my local computer and then upload it to our flyaway kit. This allows us to install tools to our analyst VMs in the kit as we need them. |
Beta Was this translation helpful? Give feedback.
-
I would like this functionality so that:
|
Beta Was this translation helpful? Give feedback.
-
Train ops and Devs on just one package manager. Ensure software installs equally well on both desktop and server OS. Required for Citrix/terminal servers, servers running automated client software tests, servers operating client software as part of robotic process automation. |
Beta Was this translation helpful? Give feedback.
-
Reduce the time required to provision servers for development teams by ensuring the otherwise manual steps of installing and configuring operations software is automated. Package management agents such as antimalware, backup, vulnerability scanning, patch management, health monitoring. Also package OS configuration scripts for versioning and dependency management such as adding/removing optional OS features. Without this server configuration is manual and error prone requiring manual Q&A checks and rework. Devs twiddle their thumbs waiting for replacement test servers. Or waste time manually cleaning up a test server rather than getting a fresh clean one (re)provisioned. |
Beta Was this translation helpful? Give feedback.
-
Assume servers have zero or limited internet access. Be able to roll out software to thousands of servers without exhausting the datacenters' shared internet connections. Be able to use local repos. |
Beta Was this translation helpful? Give feedback.
-
Any Cloud or On-Prem setup (Citrix, VMWARE, Parallels, AVD, RDSH etc. take your pick) where user apps and Single User O/S and/or Multi-User O/S are involved, Package Manager and (Winget) should support equally. That said, I do not see a need for supporting Server O/S without Desktop Experience since it is highly unlikely there is ever user apps on those systems. As a matter of fact, our shop doesn't even bother with Server O/S with no DE even for use cases that it makes the most sense. Nobody wants to be bothered with it and just prefer having the DE installed for ease of use and familiarity. |
Beta Was this translation helpful? Give feedback.
-
Ran into this again. I wanted to automatically install PowerShell, but couldn't use |
Beta Was this translation helpful? Give feedback.
-
Right now, I'm attempting to deploy several packages across a couple dozen servers (all with Desktop Experience installed). This isolated system is far too small for any centralized management system. |
Beta Was this translation helpful? Give feedback.
-
Use case - Azure Devops Onprem Build Server (which requires all sorts of junk like node, java, Visual Studio, etc, etc.) I was using chocolatey but some of their projects are orphaned As an example - this was orphaned until very recently: https://community.chocolatey.org/packages/zulu8#versionhistory |
Beta Was this translation helpful? Give feedback.
-
Is it out of scope to support Windows Server for Windows Package Manager install of certain Windows Store applications? ex., I would appreciate the latest versions of Notepad, Snipping Tool... but installing it (and similar store apps),
|
Beta Was this translation helpful? Give feedback.
-
We've been making progress on getting support for WinGet on Windows Server. There are a couple of different fronts here. One is the update mechanism for servicing WinGet on Windows Server. This will be a long lead time workstream as it requires OS changes. The other front is the "Repair-WinGetPackageManager" cmdlet for installing App Installer (containing WinGet) and the dependencies. This work is progressing well. |
Beta Was this translation helpful? Give feedback.
-
Dear @denelon would you mind to link #702 to the OP? |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, in mids of many comments this is so far the best implementation to deploy winget on Windows Server (still unsupported by MSFT) Thanks to @TheBigBear for mentioning it on Lior Kamrats gist https://github.com/asheroto/winget-install Sidenode: we are seeing some progress, as Windows Terminal will be the default console on Windows Server 2025 (currently Windows Server vNext Insider) |
Beta Was this translation helpful? Give feedback.
-
This is another important issue for using winget on Servers:
EDIT: Downgrading winget is actually possible which is nice, only removing/uninstalling doesn't work as reported in #3617 |
Beta Was this translation helpful? Give feedback.
-
I would like to cheer up this whole discussion. The latest developments like dependencies, PowerShell Support, ADMX support, the speed and control of the pkgs when submitting new pkgs until they become available (few technical dependent exceptions), ability to downgrade winpkg etc. etc. is really fantastic. This all is so motivating I have convinced a customer to deal with winget, even yet unsupported to implement a software patchmanagement on their 80 VMs running WS 2019 and WS 2022. hope this isn't pushing the limit too hard but looking into the appx-based things coming in Windows Server vNext, it is stunning how compatible Windows Server will become to these kinds of packaged applications from Microsoft. A feature next to a possible official announcement of winget in Windows Server vNext (works fantastic in deployment and function), would be the earlier proposed and reposted (post split) "nala - pimped apt replacement - like UI improvement" now found in #4057 . |
Beta Was this translation helpful? Give feedback.
-
Keep listening Demitrius ;). You are most welcome about the support; it will benefit so many, all the best for hopefully last few puzzles to solve. |
Beta Was this translation helpful? Give feedback.
-
btw for anyone else who revisits this discussion weekly, this is the current (September 2024) state of winget-cli on Server:
imo winget being "supported" or not on Server OS is just a formality, so far all my issues reproduce on supported client OS as well, but what's unfortunate is that it doesn't work on Server Core as of now (some commands like |
Beta Was this translation helpful? Give feedback.
-
Oh my god, I fricking did it! winget (install) works on Windows Server 2022 Core! (not 2019 Core, yet) Short version (how to get it working)
That's all! Really! Your typical commands like:
will now finish successfully! 🥳 🎉 🎉 🎉 Longer version (how I found this out!)Normally when you try to run
and winget exits with The requirement for Running the same Server 2022 Core verbose log ...
[REPO] Did not find pin Package=[Neovim.Neovim] Source=[rewinged]
[CLI ] Search result size: 1
[CLI ] Found one app. App id: Neovim.Neovim App name: Neovim
[CLI ] Market Filter created with market: US
-[FAIL] WindowsPackageManager.dll!00007FFE5B1AD2F9: LogHr(1) tid(874) 80040154 Class not registered
-[CLI ] Caught winrt::hresult_error: 0x80040154 : Class not registered
-[FAIL] WindowsPackageManager.dll!00007FFE5B2AA9F3: LogHr(2) tid(874) 80040154 Class not registered
-[CLI ] Failure loading resource file with error: -2147221164
<END OF THE LOG, WINGET EXITED AT THIS POINT> Server 2022 with Desktop
|
Beta Was this translation helpful? Give feedback.
-
Hey everyone, |
Beta Was this translation helpful? Give feedback.
-
Using tools that are not SCCM, it will let us greatly simplify and streamline software distribution for Servers. |
Beta Was this translation helpful? Give feedback.
-
Many users have asked about support for Windows Package Manager on Windows Server. We've had several Issues created surrounding Windows Server, and a few discussions created. The most limited environment is Server Core with no Desktop Experience. I'm expecting we will have some work on the Windows Package Manager side to build a distribution without the App Installer since the App Installer has GUI components.
I would like to gather some customer feedback on the use cases for adding Windows Package Manager to Windows Server SKUs.
My ask is to keep the comments limited to specific use cases / business reasons / business requirements. If you see your exact scenario covered, please don't add a "+ 1" comment or a "me too" comment. Just add your 👍 to the comment. If you do have a slightly different use case or reason, please add it.
Related Issues:
edited: 08/05/2024
Update:
WinGet is currently in the Windows Server 2025 Insider Preview builds.
Beta Was this translation helpful? Give feedback.
All reactions