Download official Windows ISOs directly from Microsoft's CDN. Web app + CLI tool. No account, no ads, no browser required.
Find a file
Shekhar 7ebf5a9560
feat: msdl CLI — direct Windows ISO downloads from user's machine (Phase 2)
feat: msdl CLI — direct Windows ISO downloads from user's machine (Phase 2)
2026-06-18 13:13:04 +05:30
.github/workflows fix(ci): check WINGET_TOKEN in shell, not in workflow if condition 2026-06-18 12:43:10 +05:30
backend feat: Phase 1 graceful degradation for WAF-blocked links 2026-06-18 11:13:46 +05:30
cli feat(cli): interactive language picker for eval downloads 2026-06-18 13:08:05 +05:30
cloudflare-worker fix: forward cookies through CF Worker to satisfy Microsoft Sentinel 2026-06-15 21:36:43 +05:30
frontend feat: use short links for guide URLs in OfficialFallback; add Win 8.1 guide 2026-06-18 11:29:38 +05:30
winget/manifests chore(winget): fill SHA256 for v0.1.0 Windows binary 2026-06-18 12:47:04 +05:30
.gitignore chore: remove .claude/ from git tracking, add to .gitignore 2026-05-22 21:07:10 +05:30
CLAUDE.md chore: mark v1.2.0 shipped in CLAUDE.md and PROGRESS.md 2026-05-22 22:14:29 +05:30
IMPLEMENTATION_PLAN.md feat: Phase 1 graceful degradation for WAF-blocked links 2026-06-18 11:13:46 +05:30
issues.md docs: update issue draft for inactive product fetches 2026-04-11 13:09:46 +05:30
LICENSE feat: initial release — Windows ISO Downloader v3 2026-04-10 20:15:46 +05:30
msdls_v3.py Implement inactive product state, restore backend tracker limits, and add dedicated catalog error UI panel 2026-04-11 13:01:56 +05:30
PROGRESS.md chore: mark v1.2.0 shipped in CLAUDE.md and PROGRESS.md 2026-05-22 22:14:29 +05:30
README.md docs: document caching architecture, /metrics endpoint, and env vars in README 2026-05-18 23:29:42 +05:30

windows-iso-downloader

A clean, open-source tool for obtaining official Windows ISO files directly from Microsoft's CDN — without a Windows machine, the Media Creation Tool, or browser restrictions.

Live: msdl.tech-latest.com · By: TechLatest

License Stars


What it does

MSDL replicates the session flow that Microsoft uses to serve ISO download links — identical to the approach used by Rufus/Fido. You get the exact same signed CDN URL Microsoft would give you, just without the browser requirement.

  • Direct Microsoft CDN links — no proxying of actual file data
  • 38 languages per consumer release
  • ARM64 + x64 + x86 support
  • Windows Server 20162025 and Windows 11 Enterprise evaluation ISOs
  • No account, no browser lock, no ads, no tracking
  • Consumer links expire in 24 hours (Microsoft's standard behaviour, not a limitation)

Screenshots

Home All Releases
Home page showing featured Windows releases Products listing page with search
Product detail — language selector Product detail — download links
Product detail page with language dropdown Download links with expiry warning

Project Structure

windows-iso-downloader/
├── frontend/            # React 19 + TypeScript + Vite + Tailwind v4
├── backend/             # Go proxy server (recommended for production)
├── cloudflare-worker/   # Optional CF Worker for distributed IP routing
└── README.md

How It Works

Browser → Backend → (CF Worker) → Microsoft API → Signed CDN URL
              ↓
         Cache check (hit → return immediately, no Microsoft call)
              ↓ miss
          1. Register session (Microsoft tracking endpoint)
          2. Parse MDT fingerprint script
          3. Fetch SKU list (available languages)
          4. Fetch signed CDN download URL
          5. Cache result → return to browser

The flow mirrors Fido.ps1 by Pete Batard — the same script bundled with Rufus.

Outbound requests to Microsoft are optionally routed through a Cloudflare Worker (cloudflare-worker/worker.js). This distributes requests across Cloudflare's global edge IPs instead of a single server IP, preventing Microsoft's rate-limit block (error 715-123130) under high traffic. The Worker is opt-in via environment variables — omit them to go direct to Microsoft.

Caching layer

The backend uses a four-layer in-memory cache to reduce Microsoft API calls from thousands per day to ~50100, preventing the 715-123130 rate-limit block under real traffic.

Cache Key TTL Purpose
SKU cache product_id 7 days Language lists are stable; no need to hit Microsoft on every page load
Link cache product_id:sku_id Dynamic (parsed from se param in the signed URL, minus 30 min buffer) Signed CDN URLs are not IP-bound — safe to serve the same link to all users
Eval cache slug 24 hours Eval Center fwlink redirects change rarely
Negative cache product_id or product_id:sku_id 60 seconds Prevents thundering-herd retries during a rate-limit block

Additional resilience mechanisms:

  • Singleflight (golang.org/x/sync/singleflight) — collapses concurrent cache misses into a single Microsoft fetch. 500 simultaneous misses → 1 outbound call.
  • Stale-on-failure — if a cache refresh fails (rate-limited or transient error), the expired entry is served temporarily while a background refresh is attempted through singleflight.
  • Jitter — ±5 min random offset on TTLs prevents synchronized mass-expiry spikes.
  • Cache eviction — a background goroutine evicts expired entries every 30 minutes.

All caches are in-memory only and reset on restart. Monitor them via the /metrics endpoint.


Running Locally

Backend (Go)

cd backend
go run main.go
# Runs on http://localhost:3002

Frontend

cd frontend
npm install
npm run dev
# Runs on http://localhost:5173

Create frontend/.env.local:

VITE_API_URL=http://localhost:3002

Deploy cloudflare-worker/worker.js to Cloudflare Workers, then set these on the backend:

CF_WORKER_URL=https://your-worker.your-name.workers.dev
CF_WORKER_SECRET=your-secret   # must match the CF_WORKER_SECRET secret set in the Worker's settings
METRICS_SECRET=your-metrics-secret  # enables the /metrics endpoint; omit to disable it

Omit CF_WORKER_URL / CF_WORKER_SECRET to go direct to Microsoft (fine for local development and low-traffic self-hosting).


API Reference

GET /skuinfo?product_id=<id>

Returns available languages for a product.

{
  "Skus": [
    {
      "Id": "0x0409",
      "Language": "en-US",
      "LocalizedLanguage": "English (United States)"
    }
  ]
}

GET /proxy?product_id=<id>&sku_id=<sku>

Returns signed download links from Microsoft's CDN.

{
  "ProductDownloadOptions": [
    {
      "Uri": "https://software.download.prss.microsoft.com/...",
      "Architecture": "x64"
    }
  ]
}

Returns direct CDN links for evaluation ISOs (Server/Enterprise). Links are resolved from Microsoft's Eval Center fwlink redirects and cached for 24 hours.

Valid slugs: server-2025, server-2022, server-2019, server-2016, win11-ent

{
  "links": [
    { "arch": "x64", "lang": "en-us", "url": "https://software-static.download.prss.microsoft.com/..." },
    { "arch": "x64", "lang": "fr-fr", "url": "https://software-static.download.prss.microsoft.com/..." }
  ]
}

GET /metrics?secret=<secret>

Returns real-time cache statistics for the running instance. Auth via ?secret= query param or Authorization: Bearer <secret> header. Requires METRICS_SECRET env var to be set.

{
  "sku":  { "requests": 42, "cache_hits": 39, "ms_fetches": 3, "neg_hits": 0, "hit_rate": "92.9%", "cache_size": 8 },
  "link": { "requests": 38, "cache_hits": 35, "ms_fetches": 3, "neg_hits": 0, "stale": 0, "hit_rate": "92.1%", "cache_size": 6 },
  "eval": { "requests": 12, "cache_hits": 12, "stale": 0, "hit_rate": "100.0%", "cache_size": 5 },
  "neg_cache_size": 0,
  "total_ms_fetches": 6
}

Supported Products

Consumer releases

Product ID Architecture
Windows 11 25H2 3262 x64
Windows 11 25H2 3265 ARM64
Windows 11 25H2 (updated) 3321 x64
Windows 11 25H2 (updated) 3324 ARM64
Windows 11 24H2 3113 x64
Windows 11 24H2 3131 ARM64
Windows 10 22H2 2618 x64 / x86
Windows 10 22H2 Home China 2378 x64
Windows 8.1 52 x64 / x86
Windows 8.1 Single Language 48 x64 / x86

Evaluation editions (Server & Enterprise)

180-day trial ISOs sourced directly from Microsoft's Eval Center CDN. No registration required.

Product Slug Architecture
Windows Server 2025 server-2025 x64
Windows Server 2022 server-2022 x64
Windows Server 2019 server-2019 x64
Windows Server 2016 server-2016 x64
Windows 11 Enterprise win11-ent x64

Tech Stack

Frontend (frontend/)

Framework React 19 + TypeScript
Build tool Vite 8
Styling Tailwind CSS v4
Animation Motion (Framer Motion v12)
UI primitives Radix UI
Toast Sonner
Font Geist
Router React Router v7

Backend (backend/)

Language Go 1.25+
HTTP net/http (stdlib, no framework)
Caching 4-layer in-memory · sync.RWMutex · dynamic TTL
Concurrency golang.org/x/sync/singleflight
UUID github.com/google/uuid
MDT parsing regexp (stdlib)

Deployment

Recommended setup:

Component Platform
Frontend Cloudflare Pages / Vercel (static)
Backend VPS (Hetzner, DigitalOcean, Linode, etc.)
Outbound proxy Cloudflare Worker (optional, recommended for public instances)

⚠️ Deploy the Go backend to a standard VPS, not serverless platforms. The Cloudflare Worker is used only as an outbound proxy for Microsoft API calls — the backend itself must be a long-running process with session state.


Contributing

Pull requests welcome. To add a new consumer Windows release:

  1. Find the product ID on www.microsoft.com/software-download-connector/api/
  2. Add it to frontend/public/data/products.json (name, archs, badge, related, active)
  3. Update the product table in this README

To add a new evaluation edition:

  1. Find the fwlink URL on microsoft.com/en-us/evalcenter/download-*
  2. Add the slug and fwlink to the evalProducts map in backend/main.go
  3. Add the product config to frontend/src/data/evalProducts.ts
  4. Update the eval table in this README

Disclaimer

This project is not affiliated with, endorsed by, or sponsored by Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation. All ISO files are served directly from Microsoft's official CDN — this project does not host any files.


License

MIT © TechLatest