Skip to content

About

Installs Microsoft Store (and winget) on any Windows edition that's missing it.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Add-MS-Store

Installs Microsoft Store (and winget) on any Windows edition that's missing it — LTSC, LTSB, stripped/debloated builds, and custom images. Build is detected automatically. Packages are downloaded at runtime from files.w3k.dev and cached locally — no bundled files, no third-party repo dependency.

Windows version Build Primary method
Windows 11 LTSC 24H2 26100+ wsreset -i → downloaded packages as fallback
Windows 10 LTSC 2024 / 2021 19044+ Downloaded packages (NET.Native 2.2, UI.Xaml 2.7+2.8)
Windows 10 LTSC 2019 17763 Downloaded packages (NET.Native 1.6)
Windows 10 LTSB 2016 14393 Downloaded packages (NET.Native 1.6)

Quick start

Right-click Add-Store.cmd → Run as administrator

The script detects your Windows version, downloads only the packages it needs from files.w3k.dev, installs Microsoft Store, then installs the latest winget from aka.ms/getwinget.

Windows 11 LTSC 24H2: wsreset -i is tried first. If Windows Update is reachable, Store installs in the background with no package downloads at all.

How packages work

On first run the script:

  1. Fetches https://files.w3k.dev/msstore/manifest.json
  2. Downloads the packages listed for your Windows version into packages\{version}\
  3. Installs them

On subsequent runs the local cache is used — no re-download unless you pass -ForceDownload.

To use fully offline (air-gapped): populate packages\LTSC2021\ (or the appropriate version folder) with the required files before running, and the script will use them without touching the network. See packages/README.md.

PowerShell parameters

.\Add-Store.ps1                        # auto-detect, download if needed, install winget
.\Add-Store.ps1 -SkipWinget            # Store only, no winget
.\Add-Store.ps1 -ForceDownload         # re-download even if already cached
.\Add-Store.ps1 -SkipWsreset           # skip wsreset -i, go straight to packages
.\Add-Store.ps1 -WsresetTimeout 300    # extend wsreset polling to 5 min
.\Add-Store.ps1 -ManifestUrl <url>     # use a different manifest (e.g. self-hosted)

Manifest

manifest.json maps each LTSC version to the URLs of its required packages. The manifest lives at https://files.w3k.dev/msstore/manifest.json and is the single place to update when Microsoft releases new package versions.

files.w3k.dev/msstore/
  manifest.json          ← version → URL mapping (this file drives all downloads)
  LTSC2019/              ← package files for LTSB 2016 / LTSC 2019
  LTSC2021/              ← package files for LTSC 2021 / 2024
  Win11_24H2/            ← package files for Win11 24H2 (wsreset fallback)

Packages with stable Microsoft aka.ms URLs (VCLibs.UWPDesktop) are fetched directly from Microsoft. Everything else comes from files.w3k.dev.

What it installs

For each version, both Add-AppxProvisionedPackage (system-wide, all future user accounts) and Add-AppxPackage (current user session) are run. -SkipLicense is used throughout — this is valid on all LTSC/Enterprise SKUs.

Component LTSC 2019 LTSC 2021 Win11 24H2
VCLibs 140.00 ✓ ✓ ✓
VCLibs 140.00 UWPDesktop — ✓ ✓
NET.Native Framework + Runtime 1.6 2.2 current
UI.Xaml — 2.7 + 2.8 current
WindowsStore ✓ ✓ ✓
StorePurchaseApp ✓ ✓ ✓
XboxIdentityProvider ✓ ✓ ✓
winget (from aka.ms/getwinget) ✓ ✓ ✓

Compared to existing scripts

Feature kkkgo R-YaTian minihub This repo
LTSB 2016 / LTSC 2019 ✓ — — ✓
LTSC 2021 / 2024 — ✓ — ✓
Win11 24H2 — — ✓ ✓
Auto build detection — — — ✓
Runtime download (no bundled files) — — — ✓
Self-hosted packages (no 3rd-party dependency) — — — ✓
Manifest-driven (update without code changes) — — — ✓
wsreset -i — — readme only ✓
Provisioned + per-user ✓ per-user only ✓ ✓
Installs winget — optional — ✓
Offline / air-gapped mode ✓ ✓ ✓ ✓

License

MIT — see LICENSE.
Package files are sourced from Microsoft and subject to their terms of service.

About

Installs Microsoft Store (and winget) on any Windows edition that's missing it.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages