Menu

1 / 2

Conquering Windows Server 2022: How to Manually Sideload Winget (Without the Microsoft Store)

DEV Community·Suat Can Geyik·6 months ago
#haM2k9R5
#comment#windows#powershell#winget#server
Reading 0:00
15s threshold

Ever try to run a simple, modern command on a simplified Server OS?

Recently, I deployed a Windows Server 2022 machine in my Azure tenant and needed to use Winget (the Windows Package Manager) to streamline my environment. It sounds like a standard five-minute task.

Not quite.

Because Server 2022 lacks the Microsoft Store by default, it also lacks the background infrastructure to manage modern app dependencies. What started as a simple command turned into a deep dive into missing UWP frameworks, architecture mismatches, and XML digital licenses.

Instead of doing things the old-fashioned way, I reverse-engineered the deployment process. Here is the step-by-step documentation for manually injecting dependencies and getting Winget running natively on a very basic Server OS.

Step 1: Environment Preparation and Execution Bypass

Before running package installation commands, we need to prepare the PowerShell environment to allow secure web communication and script execution.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.